Spirograph 1
Last updated
Last updated
This session contains extra material that supplements Associative Modelling, addressing earlier topics raised such as: ranges, symbolic expressions, parametric representation of curves and customising visual attributes. You may follow along to practise techniques picked up in the previous sessions.
We introduce a type of curve related to epicycles from before. Roulettes are curves generated by tracing a fixed point on a closed convex curve as it rolls, without slipping, on another curve. We start with the simplest example, the cylcoid, which is generated by a circle rolling along a straight line.
The parametric representation for a cycloid through the origin is:
where r is the radius of the circle and t corresponds to the angle through which the circle has rotated. The derivation is as follows.
Recall the process of plotting curves from before. With reference to the above video, we generate a range of angular values t, in this case from 0 to 4π. Thereafter we use expression editor components allowing us to write the parametric equations that were derived earlier. Feeding their outputs to the corresponding x and y inputs of the "Construct Point" component, we plot points on the curve that can be further visualised as a polyline.
In 1965, an engineer by the name of Denys Fisher introduced a toy called the spirograph set, which consisted of differently sized geared wheels and circular hole templates to roll them around in. Each wheel had a number of holes through which you could insert a pen/pencil. By revolving the wheel, one could trace out intricate patterns like the ones shown below.
The spirograph patterns are generated by rolling a smaller circle inside a larger circle without slipping. If the fixed/pen point is on the edge of the circle, then the curve is called a hypocycloid.
The parametric equation for a hypocycloid with its centre O on the origin is:
The circle rolls along the horizontal axis without slipping. Hence the length of the blue arrow is equal to the arc length (black arrow). This is the x-coordinate of the circle’s centre, while it’s y-coordinate is simply r. Subtract and respectively to get the x and y coordinates of the red point. We plot a series of points to get our cycloid curve.
whereby a circle C1 with radius is rolling inside a circle C2 with bigger radius .
Let’s derive these parametric equations. We note first of all that the point C lies on a circle with radius . Hence we know that its x and y coordinates are respectively and . We then have to add the value and subtract to x and y to find the coordinates of point P.
Next, we note that because the inner circle does not slip, the distance it rolls clockwise as described by the black arrow is equal to that of the blue arrow. In other words, the arc lengths and are equal. Hence we are able to express in terms of , and . If we now substitute for in the earlier expressions, we are able to arrive at the parametric equation for the hypocycloid.
Reusing the earlier Cycloid definition, we edit the parametric equations in the expression editors accordingly and set two sliders corresponding to radius and . Visualise the hypocycloid using a polyline node. Adjust the sliders and note when cusps in the curve appear.