Look at the comments if you want to know how it works. Non-interactive version of demosthenes' project. The purpose was just to comment a shorter code of a good physics simulation :)
All credits to demosthenes REMIX CODES: SR: Script Reduction CC: Commented Code