Code covered by the BSD License  

Highlights from

5.0 | 1 rating Rate this file 11 Downloads (last 30 days) File Size: 5.04 KB File ID: #38828 Version: 1.1
image thumbnail



JJ (view profile)


29 Oct 2012 (Updated )

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

| Watch this File

File Information

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:

Required Products MATLAB
MATLAB release MATLAB 7.12 (R2011a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
29 May 2013 Ale Marco  
03 Dec 2012 1.1

added link

Contact us