HOME > JFX > GALLERY > Animation along a path

Animation along a path :



This application has 4 different examples of animating shapes along an arbitrary path.

To create a path-based animation like the ones in this application, follow these steps:

  • Draw a freehand path with the pencil tool
  • Select the path and the shape you want to animate
  • Select "Animate Shapes Along Path" from Shapes menu
  • Change time
  • Change Animation Path's "Distance along path" setting
  • Preview