This is a simple particle system. Move the mouse to push the particles around. The particles should always stay within the window.
previous: attractors. next: gravity.
Fork it on github and let me know what you think: @snorpey