Cyclic Patterns

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

Spirolaterals are repeated plots of line segments of constantly increasing length (up to a given maximum), with a specified angle of turn after each segment. Cyclic patterns instead use segments of arbitrary lengths, including repetitions, with an angle calculated to generate a given symmetry and to close after a given number of cycles.

Contributed by: Mike Sandy (March 2011)
Open content licensed under CC BY-NC-SA



The number of segments for each run is determined by the control "size". The lengths (maximum length 10) are randomly chosen (a different set for each "random seed"). A different pattern is generated for each "shuffle".

To increase the symmetry of the patterns a given list of segments is combined with its reverse before repetition, for example {4,2,3,2,5,5,2,3,2,4}.

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.