### Basic Examples

Basic Examples

Plot a spirograph:

5

∑

j=1

jφ

j+1

In[]:=

Out[]=

A more complicated spirograph:

13

∑

j=1

2

jφ

In[]:=

Out[]=

Half of the path of the spirograph:

13

∑

j=1

2

jφ

In[]:=

Out[]=

Convert the curve to a polygon:

13

∑

j=1

2

jφ

In[]:=

A spirograph with random values:

### Options

Options

#### ColorFunction

ColorFunction

Choose a ColorFunction:

#### "MaurerPolygons"

"MaurerPolygons"

Set explicit values for “MaurerPolygons”:

Default values for “MaurerPolygons”:

#### "ShowCircles"

"ShowCircles"

Show the ‘wheels’ that generate the spirograph:

Make an animation:

### Applications

Applications

Spirographs had an important application in the 1940s, when they were used for the "manual" solution of polynomial equations of higher degree. To understand this, let us consider the following polynomial poly in the variable z:

We show the spirographs for a range of values of r:

Let us zoom to a neighborhood of the origin:

Here is an even closer look:

These are absolute values and arguments of the zeros of the polynomial:

The spirograph curves corresponding to these absolute values all go through the origin: