Chutes and Ladders
Chutes and Ladders Launch Chutes and Ladders
(Chapter 7)
Application Chutes and Ladders animates a set of "path balls" along a three-part path consisting of a chute, the ground, and a ladder. You animate one or more of the path balls by clicking buttons (labeled and color-coded to match the target ball).

The chute consists of three consecutive CubicCurveTo path elements strung together. The ground is simply a straight line and the ladder strings together consecutive lines at 90-degree angles.

These path elements build the individual PathTransition objects that animate each ball.