This program simulates a particle connected to an anchor by a damped spring in two dimensions. Try changing the initial settings.
  • How does the initial position of the particle affect its position on the spring comes to rest?
  • How does positionX compare to anchorX when the spring comes to rest?
  • How does positionY compare to anchorY when the spring comes to rest?
  • What causes the difference between the horizontal and vertical position?
To save your code press the Spin-off button below the the code. You will then be able to change the name of your program and Save it to your profile.