RotorDraw
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:
http://www.youtube.com/watch?v=WpJ3L2jfIuQ&feature=player_embedded
Cite As
JJ (2024). RotorDraw (https://www.mathworks.com/matlabcentral/fileexchange/38828-rotordraw), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.