Rate this file
1 Download (last 30 days)
File Size: 5.04 KB
File ID: #38828
29 Oct 2012
(Updated 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:
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:
MATLAB 7.12 (R2011a)
Comments and Ratings (1)
29 May 2013
03 Dec 2012