Code covered by the BSD License
29 Oct 2012
03 Dec 2012)
This script creates coordinates for patterns that are similar to those created by a "Spirograph".
Watch this File
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: http://jonathanjamieson.com/projects/electronics/drawing-machine/
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): http://www.youtube.com/watch?v=BG9e06IWAxE
Here is a video of the code running: