Bouncey returns - more canvas physics

This is a slightly upgraded version of the physics demo I showed in my last post.

It is still…

“a buggy, rudimentary, just-for-fun javascript physics simulator.”

This version has:

  • pre-defined initial states
  • gravity
  • friction

It still has the “clinging” bug. I know how to fix it, but didn’t deem it important enough to spend time on it. :)

The code is well commented, so feel free to hack on it.

Click on one of the initial states to begin the simulation.

Choose an initial state:

Sorry, your browser does not support HTML5 canvas. Lame.

(The POOL initial state reproduces the clinging bug.)