Spring Motion - Physics in JavaFX
By vaibhavc on Dec 10, 2008
3 weeks back, we were thinking of some cool application to make. I am a guy who has seen very less outside world, so coming up with some great idea is always tough for me. So, deciding that, I went back to my tenth class physics book and saw some of the cool physics motion. Its one of the tough subject and always screw me in exam. Searching some of the easy equation, I though to make one spring motion. Meantime, I though there is some spring motion residing in our repository. Actually one of the Josh applications do it in awesome way, but still we were missing the actual feel of Spring motion because of the gig-gag and spiral stuff attached to the wall and spring is going up and down in it, with a complete view of awesomeness :). This is what finally we achieve from this blog :
I can still bet this can be 3 times much better than what you are seeing here. So, little of good news here that this sample can be executed on mobile
Here are the code files :
1. Main file.
2. Spring file.
Enjoy FX'ing !