The Luge WorldThe luge world consists of the luge run, slider, and Christmas tree which are all three dimensional. A two dimensional base and mountain provide background. The Luge RunA luge run is an ice-covered cement structure. A steel-bladed sled, with a slider on top, glides down. Speeds of up to 80 miles an hour are possible. The run is flat on the bottom and curves up to near vertical in the corners.
Our luge run will be flat on the bottom and curve up parabolically in the corners. The three-part function
In this function, the
We will generate our three-dimensional luge run by extruding this shape along a sinusoidal path. An amplitude,
The function
We want our extrusion to occur normal to the path so we need the angle about the vertical axis. This is given by differentiating
The rotation matrix is provided by
The vector which forms the luge run is constructed by rotating the profile
The color of the luge run is generally blue but the constant passage of the sled blades cracks the ice. These small cracks make it whiter where the sleds pass most often. A function which gives the common line is given below.
In this function,
Our run color will be given by the function
The track color function,
We will find it necessary later on to set the colors and edge widths of the different graphics. The function
Here is a plot of the track.
The animation occurs over one cycle of the track but two cycles are included in the graphics since the next cycle can be seen from the first. The Base
The track sits on a base. Its color is
The base is a plane.
The MountainThe mountain appears in the background. It is two dimensional. The bottom of the mountain is green while the top is a snow-covered white. The graphics are generated in two steps. First, the mountain up to the snow line is generated. Then the polygons below the snow-covered areas are replaced with two polygons. The first is the original while the second is white and fills out the distance to the skyline. The skyline is a two-dimensional amplitude-modulated sinusoid with a height of 80.
The mountain is snow covered starting at about the following height.
We will first define a function that gives the height to the snowline. It is the skyline height up to the snow height and the snow height plus a random number after that.
The color below the snow line is
The replacement rule
Here is a plot of the track, mountain, and base.
The TreeA Christmas tree is placed on the inside of the second corner to give a sense of scale and speed. The tree has a whorl for each year of growth and a stump. Both the stump and whorls use cylindrical coordinates in their definition.
In this function,
The function
The stump is formed by a cylinder.
The
For the luge ride, we will have a seven foot tree at the inside of the second corner.
Here is a plot of our tree.
The SliderA luge rider lies feet first with his back on the sled. The rider steers by rolling his toes in the direction he wishes to go. The foot is pointed to minimize wind resistance. Only the feet and lower portions of the legs are visible during the run.
The graphics of the slider consist of cylinder for each leg and an irregularly shaped polygon for each foot. The function
If you trace the outline of your foot on a piece of graph paper, you might get the following set of points.
These points are used to generate a polygon which is then rotated to point the toes and translated to the end of the limb (by the functions
The left leg is created by combining the
In the animation, the legs will require full-motion capability in position and attitude. The function
Here is a plot of the slider at his origin.
Since the backsides of the legs are not visible during the animation, a few polygons were saved by only plotting three quarters of the perimeter. Converted by Mathematica |