Collision Sparks
This is version of https://wonderwhy-er.deviantart.com/art/Colission-Study-V3-1-99018669 with some effects added and changes in how you interact with it ;)
Effects inspired by Flight404 http://vimeo.com/1799387
Controls
First box is maximal ball count. If there is more on stage then balls start to break on collisions.
Second box is minimal ball count. If there is less then some are created at borders.
Third box is created ball speed. IF set to 0 then balls are created under the cursor. If set higher then they are shot from cursor position with set speed. Be careful as too much energy in system makes explosions big ;)
Move mouse to give it a direction. Click to create/shoot balls from the mouse ;)
P.S: Will need to add some dumping as adding too many balls leads to complete madness and lags :D
Update
Fixed bug with balls disappearing while mouse button is pressed and reappearing when it is released.
Also how balls are removed was fixed.