concept RainDrop class in category java

appears as: RainDrop class, The RainDrop class
JavaFX in Action

This is an excerpt from Manning's book JavaFX in Action.

The RainDrop class is a Node that can be rendered in a JavaFX scene graph. It’s constructed from other nodes, specifically several instances of the Ripple class, each of which draws and animates one circle (a ripple) in the drop animation. When the RainDrop.start(x:Integer,y:Integer) function is called, it fires up a Timeline, which periodically starts the timeline inside each Ripple, transitioning the radius, opacity, and stroke width of the circle to make it animate.