[ Login ]

This is a minimalist 2D Javascript physics engine built on top of processing.js in less the 300 lines of code. It supports gravity, friction, spring, and 1/r^2 forces, bouncing, constraints and explosions. Supports both Euler and Runge-Kutta (2nd order) integrators. It is designed as a teaching tool. You can modify the programs, run them in the browser and, if you are logged in, save them. Try it here!

Current Physics Simulations

new!
Cloth by Massimo Di Pierro
Drop, Spring, Guide and Explosion! by Massimo Di Pierro
Fireworks by Massimo Di Pierro
Gas of non-interacting particles (in gravity) by Massimo Di Pierro
One Ball Drop by Massimo Di Pierro
Pseudo-Solid with Balls and Springs by Massimo Di Pierro
Runge-Kutta-2 by Massimo Di Pierro
Sun-Earth-Moon by Massimo Di Pierro
Two Balls and a Spring by Massimo Di Pierro
Two Coupled Pendulums by Massimo Di Pierro
test1 by Massimo Di Pierro