Web experiment: Drone physics

For a long time I wanted to try some 3D physics on the web. For that purpose there are two libraries around, Cannon.js which is written in JS from scratch, and Ammo.js which is a port of Bullet made using emscripten. I’ve been playing around with both of them, the performance of cannon could be improved (too much garbage generated in memory) and the interface of ammo is horrible (as all emscripten ports).

Drone

Play around with this demo, the controls are very hard and it is easy to start spinning uncontrollably, but Im pleased with the movement.

Leave a Reply


+ 8 = nine