Cyclic Patterns

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.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


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}.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.