WD

A parametric shell surface

A parametric equation with two parameters can describe a surface in three-dimensional space. We demonstrated this idea in the article on drawing a torus. In that article a torus is regarded as a sequence of circles that revolve around the Z-axis.

In this article we consider a sequence of ellipses, and we add a few twists and turns to discover a parametric equation for the surface of a seashell.

The ellipse in 3-D space #


Fig 1: Anatomy of an ellipse
©\copyright CC BY SA-40 Ag2gaeh

We start with the definition of an ellipse[1] in space. Some properties of an ellipse is shown in fig. 1.

We start with ellipse that is centered at the origin with a semi-major axis v1\vec v_1 on the XY-plane. We use the Z-axis as the semi-minor axis and take the length of the semi-minor axis as is some value r1Rr_1 \in \reals.

Using these definitions we end up with a parametric equation for an ellipse e:RR3e: \reals \mapsto \reals^3.

Where

Spiralling downward and outward #

In previous articles we came to appreciate the role of spirals when it comes to seashells. In particular, we discovered an underlying equation for spiralling growth observations f:RRf: \reals \mapsto \reals.


Where

As shown in a before, we already have a parametric equation for the curve of a shell spiral. Using that equation, we end up a wire spiral in space. Something that looks like the curve in fig. 2.


Fig 2: Wire spiral in 3-D

In order to make a shell surface, we add another parameter. We use this parameter to trace out an ellipse at every point of the wire spiral. This ellipse has a semi-major axis, v\vec v, that starts on the Y axis and connects to the spiral (i.e. the wire in fig. 2). Note that v\vec v is perpendicular to the Y-axis.

Equations with variations #

We do not use exactly the same equations as before for the spiral because the new curve traces along the middle (the widest) part of the worl. Also, we use the radius, and not the full width of the shell. So, the new spiral the function fw:RRf_w: \reals \mapsto \reals is

Where

We now use this result obtain a function for v\vec v, fv:RR3f_v: \reals \mapsto \reals^3.

The function for the height is also not the same as before. Here, we measure the height to the middle of each worl, not the total height.


Fig 3: A photo of a seashell
©\copyright Steve Wilkinson - Conchological Society

Where

We are not yet done, to complete the picture, we need one more value. That is the height of the semi-minor axis of the ellipse. As we see in fig. 3 this value cannot be measured directly. Nonetheless, for our current purposes, let's assume we have the measurements. Our function for the worl thickness is ft:RRf_t: \reals \mapsto \reals is

Where

Putting it all together #

This final trick is to combine eq. 1 with the functions we just defined. We sweep down the Y-axis with fhf_h, then move to the point fvf_v where we sweep out the ellipse. To sweep out the ellipse we use a second parameter β\beta. Looking at the last worl in fig. 3 we see that we are not interested in the entire ellipse, just a section of it.

This means we get the following equation for a shell surface s:R2R3s: \reals^2 \mapsto \reals^3:

Where


Fig 3: A mathematical shell surface

If you expand this equation, the resulting algebraic expressions are not simple. But we do not have to do that because we have enough mathematics to render the shell. Fig. 4 shows such a rendition. It has been mirrored on the XZ-plane to have the same orientation as the photo shown in fig. 3.

The Asymptote[2] source code for this rendition can be seen here.

Conclusion #

We started out with the equation for an ellipse in 3-D space, and used the ideas developed in previous articles to develop a new equation for the surface of a shell. The resulting maths a little abstract, but it is enough to render a very recognisable seashell surface. We have not used much more than high-school trigonometry to get here.

References #

  1. Ellipse - Wikipedia
  2. Asymptote