Demo uses the HTML5 canvas element to draw orbs which bounce off each other. Bounce effect achieved by applying equations for two dimensional elastic collisions.
More About This Demo From The Author
Demos accepts query parameters "size" and "num":
size = Size of the orbs
num = Number of orbs
Get the Source Code
This demo is released under the Apache license.