Vaibhav's Blog Space

Pendulum Motion with controller in JavaFX

Thursday Jan 08, 2009

So, here goes one more Motion sample in JavaFX :). I have added Slider to control the value of "g" in Pendulum motion(just a thought, anything can be controlled like mass, length of pendulum). Pendulum do a complex calculation(Square root, Cosine, Sine) and I guess render is great in FX. Sorry again, as I am not able to post the applet. 

But here how it looks : 

The progress bar has been stolen from Chris Blog.

Here is the source code :

Main file, Pendulum.fx, Slider.fx.

Have a look and feel free to share your views.

[2] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg
Comments:

cool!!!

Posted by Gesiel on January 08, 2009 at 07:16 PM IST #

Thanks Gesiel

Posted by Vaibhav Choudhary on January 09, 2009 at 02:16 PM IST #

Post a Comment:
  • HTML Syntax: NOT allowed