Click and hold the top of the spring to pull it and let go to see it go back and forth! Press E to configure the settings of the spring! IMPORTANT: You must reset the spring by pulling it again for the settings to apply Enjoy!
You can use this to make animations and stuff if you change the code a bit! Maybe even into a game. The code in this version has been changed to better reflect how a spring would react in real life. There's still room for improvement, as it still doesn't simulate gravity.