If you hold a mouse button down in the image a strong gravitational force will be created there for as long as the mouse button is pressed.
z - blurs the image.
x - fades the image a little.
c - clears the screen but keeps the points moving as they were.
v - clears the screen and creates new positions and velocities for all the points.
Source code: galaxy4
Built with Processing