For the most part, this demo works the same way as the demo in 2.5.4. The difference is that in determining a path, you must first choose the "shadow" of the path in the x-y plane and then choose the z coordinate of each point.