Skip to content

๐Ÿ€๏ธ Bouncing balls

JavaScriptThree.js

๐ŸŽฏ Illustration of the simplicity of the ThreeSim.js library
๐Ÿง  Based on this original code snippet by Rhett Allain
โญ Coding this problem is explained in this video
๐Ÿ A VPython demo is available as well

Source

๐ŸŽฏ Graphing the kinetic and potential energies of a bouncing ball
๐Ÿ A VPython demo is available as well, see bouncing_ball.py

Source