ScrambledPhysics is a simple physics library for the Processing language, written in pure processing, in a single file.

View the Project on GitHub gilesdring/scrambledphysics

Your browser does not support the canvas tag.

This gives an idea of what can be done with a very small amount of development with ScrambledPhysics. The universe and an Emitter are defined in CERN.pde, and the simulation runs. The Emitter randomly adds particles to a point in the universe with a random velocity.