You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

physijs-webpack

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

physijs-webpack

PhysiJS port for bundlers with out-of-the-box support for Webpack and Browserify

0.1.4
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

PhysiJS port for bundlers

package-json releases commits
dt dy dm dw
build status
NPM

A PhysiJS port for bundlers with out-of-the-box support for Webpack and Browserify

Installation

npm install -S physijs-webpack

Usage

webpack

var Physijs = require('physijs-webpack');

and install worker-loader with:

npm install -D worker-loader

browserify

var Physijs = require('physijs-webpack/browserify');

and install webworkify with:

npm install -D webworkify

other bundlers

See the webpack.js and browserify.js files for examples as to how one might configure for a different bundler.

Bundler Performance Optimizations

Feeling like your builds are too slow? Looking to speed them up? Check out our optimization docs!

Credits

Thanks to @silviopaganini for creating the initial browserify version! And of course @chandlerprall for creating Physijs itself!

Misc

Check out WhitestormJS and its physics integration for a more modern experience with ThreeJS and physics. It's modern enough to even have React and Angular integrations!

Keywords

physijs

FAQs

Package last updated on 25 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts