Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including odejs with all npm packages installed. Try it out:

var odejs = require("odejs")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

odejs v1.1.0

3D physics engine

Image of ODE


ODE is an high performance library for simulating rigid body dynamics, it has advanced joint types and integrated collision detection with friction. ODE is useful for simulating vehicles, objects in virtual reality environments and virtual creatures.

Russell Smith is the original author of ODE.

New in V1.1.0 :

Since V1.1.0, ODE is compiled to WebAssembly through emscripten, this adds an asynchronous step, the API add a promise wich is resolved when ODE engine is ready!

    <script src="node_module/odejs/lib/libode.js"></script>
    ODE.readyPromise.then(function() {

            var world = new ODE.World();

Installation :

npm install odejs

Online Examples :

Babylon.js :

Three.js :

Documentation :

A start of API documentation generated by jsdoc can be found HERE. The original manual can be found at


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free