Cyclic Patterns

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
Snapshots
Details
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}.
Permanent Citation
"Cyclic Patterns"
http://demonstrations.wolfram.com/CyclicPatterns/
Wolfram Demonstrations Project
Published: March 7 2011