Turtle Visualizer
[image should go here]
This visualizer interprets a sequence as instructions for a drawing machine, with each entry determining what angle to turn before drawing the next straight segment. It displays the resulting polygonal path.
Parameters
- domain: A comma-separated list of all of the values that may occur in the sequence. (One way to ensure a small number of possible values is to use a sequence that has been reduced with respect to some small modulus. But some sequences, like A014577 "The regular paper-folding sequence", naturally have a small domain.)
- range: a comma-separated list of numbers. These are turning angles, corresponding positionally to the domain elements. Range and domain must be the same length.
- stepSize: a number. Gives the length of the segment drawn for each entry.