## The Waterfall
Now we need to construct a waterfall with a parabolic shape that appears to connect the ends of the river. If we placed the waterfall apparently at the ends of the river now, these ends would intersect the aqueduct when interwoven. Interweaving consists of making mirror images of the graphic components about the We want to form our parabolic waterfall in an imaginary parallelepiped with the same width as the river. The parallelepiped is centered in the spiral. To pick up the remaining dimensions of the parallelepiped, we will temporarily translate in and rotate about such that a horizontal on it is aligned with the white end of the river. The lower end is found by projecting the white end of the river along the line of sight until it intersects the near side of the parallelepiped. The upper end is found by projecting the other end of the river along the line of sight until it intersects the far side of the parallelepiped. Our parallelepiped is translated back to its original position, and a 3D parabola is formed inside.
The waterfall is rotated about the
Here is the vertical rotation at
Here is the calculation of the horizontal distance the waterfall travels.
The vertical locations of the top and bottom of the waterfall are calculated by projecting the location of the center of the river along the line of sight to either side of the axis at a distance of half the
The height of the waterfall needs to be the following.
A multipart function is used to define the path of the waterfall.
Animation of the waterfall is done using the same technique that was used for the river. The waterfall is created by (from `RotateShape` `Graphics`Shapes`` ) in the function .
`fall`
The river and the waterfall are combined in the function
Converted by Mathematica
September 24, 1999
[Prev Page][Next Page] |