14.29. Spyrogimp


This filter draws Spirographs, Epitrochoids, and Lissajous curves. Immediate feedback is provided, by drawing to a temporary layer.

It reproduces curves drawn by Spirograph© toys. Here is an example from Wikimedia Commons showing what gears and holes are:

Moving gear is inside fixed gear and only one hole is used.

This filter is found in the main menu under Filters → Render → Spyrogimp….

Much of the behavior of the plug-in is determined by options set outside of the plug-in, such as the current selection, or the settings of GIMP's tools. These settings can be changed while the plug-in is running.

[Note] Note

In contrast to options within the plug-in, changing the current selection or tool settings will not redraw the pattern. To show the changes, click the Redraw button at the bottom of the plug-in.

Most of the options are organized under three tabs: Curve Pattern, Fixed Gear, and Size.


Curve Type

The available curve types are: Spyrograph, Epitrochoid, Sine, and Lissajous. These correspond to physical models for drawing them, using either gears or springs. Spyrograph and Epitrochoid curves are obtained by using two gears - a fixed gear, and a moving gear. A Spyrograph pattern is obtained when the moving gear is rotated inside the fixed gear. When the moving gear is outside the fixed gear, an Epitrochoid pattern is generated. The Sine curve uses the fixed gear, but instead of a moving gear, there is a spring that moves perpendicular to the fixed gear's edge. The Lissajous curve is generated by two springs, which move on the x and y axis. It does not use the fixed ring at all, and thus is not affected by changing it.


Tool

The GIMP tool with which to draw the pattern. The first tool is named Preview and its purpose is to draw quickly, rather than beautifully - so the pattern can be previewed. The other available tools are: PaintBrush, Pencil, AirBrush, Stroke, Ink, and MyPaintBrush.

Long Gradient

When unchecked, the current tool settings will be used - this can either produce a gradient or not, depending on the tool settings. When checked, the plug-in will produce a long gradient to match the length of the pattern, based on the current gradient, the "Reverse" setting, and the Repeat mode from the gradient tool settings. Setting the Repeat mode to Triangle Wave will produce a pattern that changes continuously, with no abrupt breaks. This is done by using the gradient followed by its reverse. Any other Repeat mode will simply use the gradient from start to finish.



Specify a pattern using the Gears, Toy Kit or Visual tabs. The pattern is based only on the settings of the active tab. Toy Kit is similar to Gears, but it uses gears and hole numbers which are found in toy kits. If you follow the instructions from the toy kit manuals, you should obtain similar results.

Fixed Gear Teeth

Number of teeth of fixed gear. The size of the fixed gear is proportional to the number of teeth.

Moving Gear Teeth

Number of teeth of moving gear. The size of the moving gear is proportional to the number of teeth.

Hole percent

How far is the hole from the center of the moving gear. 100% means that the hole is at the gear's edge.

The Toy Kit tab also has Fixed Gear Teeth and Moving Gear Teeth options. In this case, however, they are limited to gear sizes that are provided with toy kits for drawing Spyrographs.

Hole Number

Hole #1 is at the edge of the gear. The maximum hole number is near the center. The maximum hole number is different for each gear.



The Visual tab creates more rounded, flower petal like patterns. It has the following settings:

Flower Petals

The number of flower petals to draw.

Petal Skip

The number of petals to skip.

Hole radius (%)

The size of the hole.

Width (%)

The width of the drawing.

Below the tabs there is an additional option.

Rotation

Rotation of the pattern, in degrees. The starting position of the moving gear in the fixed gear. Note that this also changes the pattern when drawing Lissajous curves.


Shape

The shape of the fixed gear to be used inside current selection.

  • Circle

  • Rack is a long round-edged shape provided in the toy kits.

  • Frame hugs the boundaries of the rectangular selection, use hole=100 in Gear notation to touch boundary. To generate a narrow frame width, use a small number of teeth for the moving gear.

  • Selection will hug boundaries of current selection - try something non-rectangular.

  • Polygon-Star morphs from an n-sided polygon (morph=0) to an n-sided star (morph=0.3) to a crazy flower (morph=1).

  • Sine with morph=0, it is just like a circle, but becomes more wavy as morph increases.

  • Bumps morphs from a polygon (morph=0) to a scalloped circle.





Sides

Number of sides of the shape.

This applies only to the Polygon-Star, Sine, and Bumps shapes. Otherwise this option is disabled.

Morph

Morph fixed gear shape.

This applies only to the Polygon-Star, Sine, and Bumps shapes. Otherwise this option is disabled.

Rotation

Rotation of the fixed gear, in degrees.