change the sliders to move the ball at the end of the spring. sorry scratch 3.0 broke timeStep _______________________________________________________ k = springyness timeStep = how fast the simulation moves mass = how heavy the ball is damping is how fast the ball slows down (kind of like friction) you can probably figure out the rest. :) I worked really hard on this. Please leave a love and a favorite.
copy and paste this to see my version with JavaScript https://www.khanacademy.org/computerprogramming/spring/4654998337126400