Getting Started

Physijs allows you to write custom JavaScript directly within the editor. Every script runs in real-time once you hit the PLAY button.

Note: Scripts are attached to individual objects. If you delete an object, its script is also removed!

The Environment

The engine uses Three.js for rendering and Cannon-es for physics. You have full access to these libraries globally via window.THREE and window.CANNON.