Balls with gravitation

More About This Demo From The Author

Six balls of random size in a canvas. Each ball computes its moves in its dedicated web worker.

Caveat:Since web-workers cannot share data, there is a lot of data shuffling. The model may break if a garbage collector strikes in a adverse moment. Anyhow the demo serves as a simple illustration of the concept.