File Exchange

image thumbnail


version 1.1 (5.04 KB) by

This script creates coordinates for patterns that are similar to those created by a "Spirograph".



View License

To run this script unzip the script and functions into a folder. Then run "RotorDraw.m". A figure should appear and a pattern will be drawn. To stop the drawing process, simply close the figure. Two vectors will remain in your workspace: x and y.

The coordinates can be used for drawing machines:

Alternatively you could use "plot(x,y)" or "comet(x,y)".

You can change the configuration of the virtual machine by adjust the parameters in "RotorDraw.m". Small changes can result in very different behaviour.

This script is a simulation of the real machine shown here (I am not connected to this work):

Here is a video of the code running:

Comments and Ratings (1)

Ale Marco



added link

MATLAB Release
MATLAB 7.12 (R2011a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video