Made with #javascript #HTML5 #CS3 Check the source code to find out how to create an optimized collision handler with the conservation of the momentum.