A Rose by Any Other Name…
Year: 2016 Authors: Gregg Helt
Core claim
Generalizing Maurer roses beyond rational polylines yields a flexible family of visually rich curve constructions and artistic density plots.
Topics
rhodonea curves, Maurer roses, curve generalization, algorithmic art, spline interpolation
Domains
polar coordinates, parametric curves, number theory, geometric approximation, algorithmic art, generative visualization, color mapping, line art
Methods
incremental angle walks, density plotting, grayscale shading, spline replacement
Media
polyline curves, density plots, cubic Hermite splines, circle splines
Paper text
The text below is the locally extracted OCR/Markdown version of the paper. Raw PDF files remain local and are not published here.
Bridges Finland Conference Proceedings
A Rose by Any Other Name…
Gregg Helt
Genomancer Consulting
9400 Mill Creek Rd.
Healdsburg, CA 95448, USA
Abstract
Rhodonea curves, also known as rose curves, have intrigued mathematicians and artists alike since they were first described by Guido Grandi in the century. In the late century Maurer roses, closed polylines derived from rhodonea curves, were introduced. They are notable for the striking patterns they produce from a simple algorithm. Although Maurer roses have often been re-implemented, to date there is little published work on extending the concept since it was first described. In this paper we review previous work, then use that foundation to explore a number of extensions and generalizations of Maurer roses that we use to generate aesthetically pleasing forms.
Rhodonea Curves
Rhodonea curves (or rose curves) were first described by Guido Grandi in 1722 [1], and in modern times are often used in the classroom as an example when introducing polar coordinates. A rhodonea curve is a planar curve defined by the polar equation . Converting from polar to Cartesian coordinates the equation becomes: , . The name rhodonea comes from the similarity of its shape to a flower with petals, as shown in Figure 1 for different values of .
1a)
1b)
1c)
1d)
Figure 1: Rhodonea curves with different values of . Shading is based on the speed of a point travelling along the curve with a light (slow) to dark (fast) gradient.
A number of other interesting properties are also illustrated above. If is an even integer the curve has petals (Fig.1a), and if is an odd integer it has petals (Fig.1b). If is rational and thus can be represented as an irreducible fraction then if either or is even the curve has petals and closes (starts repeating) at (Fig.1c), otherwise it has petals and closes at (Fig.1d). If is irrational the curve never closes, thus there are an infinite number of petals (as ) and the curve fills the unit disk (Figure 2). We will refer to even, odd, integer, rational and irrational rhodonea based on the value of , and we use to designate the corresponding rhodonea curve and for the at curve closure.
Helt
Maurer Roses
Maurer roses were first introduced by Peter Maurer in 1987 [2]. The central idea is to construct a polyline (a connected sequence of straight lines) from a walk along an integer rhodonea curve. Start the walk with any point on the rhodonea curve, with angle parameter . Follow the rule that for each successive point in the sequence of the walk, is incremented by a fixed amount to find the next point in the walk. The sequence ends when the walk returns to the original point. Thus the polyline forms a closed polygonal curve, which is the Maurer rose. We use to designate a Maurer rose of incremental angle , based on the rhodonea curve (since in this paper we always set , we simplify by omitting this parameter). The first few steps in this process are illustrated in Figure 3a and 3c. Surprising patterns and intriguing envelopes for subsets of line segments can emerge, as shown in Figure 3b and 3d.
Figure 3: Maurer roses and their construction.
3a) , first 6 steps (7 endpoints) of walk. 3b) , walk finished in 180 steps
3c) , first 7 steps (8 endpoints) of walk. 3d) , walk finished in 540 steps
The original publication describing Maurer roses [2] showed that for any division of into integer equal sections, and any an integer multiple of , if and are relatively prime then the Maurer rose curve will close at step of the walk. Thus the Maurer rose will be composed of lines. If and are integer but not relatively prime, then the Maurer rose is degenerate and closes at , where is the greatest common divisor of and . Typically is set to be the number of standard degrees in a circle, . So for example, for in Figure 3b, the walk completes in steps. We have extended this work to cover fractional roses, which were not considered in [2]. We do this by replacing in the above walk length calculation with the for the associated fractional rhodonea curve to close. Thus to work in standard degrees we define . So for in Figure 3c, we have , and , so , thus the walk completes in steps. When not using standard degrees, we include in the Maurer rose definition, which becomes .
Solid Roses (Irrational Maurer Roses), Painted Roses, Exotic Roses
Looking again at Figure 2 we can see that although an irrational rhodonea curve fills the unit disk, it does not fill evenly. As , the density of points from the curve is greater both at the center of the disk and at the edges. This observation motivated us to explore the idea of irrational Maurer roses. We add a small irrational term to the Maurer rose incremental angle to get irrational (usually we use ), and thus create an irrational Maurer rose . Like irrational rhodonea the irrational Maurer rose polyline will also never close, so we simply choose a large at which to end the polyline. Examples of irrational Maurer roses are shown in Figure 4 as density plots. They possess a combination of properties we find appealing. Namely that a Maurer rose of interest can be easily converted to an irrational Maurer rose whose overall form strongly resembles the original (compare Figure 4a to its rational counterpart in Figure 3b), but that can be used in density plot form as an artistic element in settings that call for something different than the dense line art of rational Maurer roses.
A Rose By Any Other Name…
We have also explored applying color and grayscale mappings to these density plots based on various mathematical properties of to create “painted roses”. For example in Fig 4b and 4d, each line segment of the walk is shaded based on the length of the segment. And in Fig 4c each line segment is shaded based on the angle of the line (relative to the x-axis). Furthermore we have experimented with “exotic roses”, where each polyline is replaced with a different shape. In Fig 4d for example sine waves are used in place of polylines.
4a)
4b)
4c)
Figure 4: Solid, Painted, and Exotic Roses (density plots of irrational Maurer roses)
4d)
P-Curves (Generalized Maurer Polylines)
We can generalize the strategy for constructing a Maurer rose from a rhodonea curve to apply to any curve parameterized by a single changing variable . For any curve defined parametrically by we define a polyline curve as the -based analog of the -based Maurer rose . The sequence of endpoints for the polyline walk are determined by three parameters: , the number of lines; the starting for the walk; and the increment of between points. Thus for all points in the walk, and we designate the polyline by . For curves that close it can be more elegant to reintroduce as the number of divisions of the curve up till closure, from which can be calculated, and for this paper we can simplify by setting , giving another form for closed curves: . And the Maurer rose can be redefined as . Figure 5 shows examples of curves constructed from various base curves: 5a) circle, 5b) Fay butterfly [3], 5c) Gielis super-rose [4], 5d) Farris “mystery” curve [5].
Figure 5. -curves constructed from various base parametric curves
Figure 5a is simple but illuminating, the curve where (also shown) is the unit circle. However this curve is also exactly the octagram, the star polygon designated with Schlafli symbol . Thus we see that in the case of the circle, for integer and , is the same as the star polygon where and . Furthermore the degenerate (where are not relatively prime) are the same as star figures (also known as “improper” star polygons) [6]. So by generalizing Maurer roses we see that they are closely related to star polygons. This is promising, as there is a considerable body of existing work applying ideas from abstract algebra to star polygons, and in future publications we plan to explore applying some of these ideas to Maurer roses and the more generalized -curves.
Helt
In our research into generalized -curves we have found a number of publications where similar techniques are applied to specific curves. For example, in [7] Sharp uses an approach similar to Maurer roses but applied to Rigge envelope rosettes. However we are not aware of any previous publication that considers the generalized case in detail.
P-Curves as Curve Approximation and Interpolation
Another way to think of the curve is as an approximation of based on the sequence of vertices from that the walk is constructed from, where the polylines represent piecewise linear interpolation between each pair of successive points. With this in mind we have experimented with replacing the polylines with other forms of approximating a curve from the walk vertices, including interpolation with cubic Hermite splines using exact tangents, and circle splines [8], with intriguing results. The first four steps of the walks using these methods are shown in Figure 6a. Completed curves are shown in Figure 6b and 6c (compare to the polyline version in Figure 3b).
Figure 6. Replacing -curve polylines with spline curve approximations for Maurer rose
Source code for our work is available on GitHub as a plugin for JWildfire [9], a freely available open source application for creating algorithmic art, and will soon be integrated into the standard JWildfire application. Additional information and examples are available at http://genomancer.org.
References
[1] G. Grandi, “Florum Geometricorum Manipulus Regiae Societati Exhibitus”, Philosophical Transactions Vol. 32, pp. 355–371, 1722. [2] P. M. Maurer, “A Rose Is a Rose…”, The American Mathematical Monthly, Vol. 94, no. 7, pp. 631-645, 1987. [3] T. H. Fay, “A study in step size,” Mathematics Magazine, vol. 70, no. 2, p. 116, 1997. [4] J. Gielis, “A generic geometric transformation that unifies a wide range of natural and abstract shapes,” Am. J. Bot., vol. 90, no. 3, pp. 333–338, 2003. [5] F. A. Farris, Creating Symmetry: The Artful Mathematics of Wallpaper Patterns. Princeton University Press, 2015. [6] D. Y. Savio and E. R. Suryanarayan, “Chebychev Polynomials and Regular Polygons,” The American Mathematical Monthly, vol. 100, no. 7, pp. 657–661, 1993. [7] J. Sharp, “Rigge Envelopes as Art Inspiration,” in Proceedings of Bridges 2011: Mathematics, Music, Art, Architecture, Culture, Phoenix, Arizona, pp. 171–178, 2011 [8] C. H. Séquin, K. Lee, and J. Yen, “Fair, G2- and C2-continuous circle splines for the interpolation of sparse data points,” Computer-Aided Design, vol. 37, no. 2, pp. 201–211, 2005. [9] A. Maschke, JWildfire software, 2011. Current release v2.60 (October 2015), http://jwildfire.org