Saturday, February 21, 2009

JavaFX Path Animation

Path animation in JavaFX lets you define a path (or several, if you like) and animate an object in the scene graph along a path. (JavaFX calls these objects nodes.) Here is a screen shot of an example that animates Circle nodes along three separate paths hooked together: the Chute, the Ground, and the Ladder.


Chutes and Ladders Screen Shot

2 comments:

emaillenin said...

hi
i need the source code for this animation.

how to code for this simple path animation:
path is simple circle.
object is a line bar.
this bar should move around the circle.

-thanks

Gail said...

Hello emaillenin,
I posted JavaFX code for your request here Path Animation Solution.

Gail