Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: MATLAB script for creating patterns
JJ
Newbie
Posts: 2
Permalink
Post MATLAB script for creating patterns
on: November 12, 2012, 21:20
Quote

My machine (http://jonathanjamieson.com/projects/electronics/drawing-machine/) is still very much working in progress but I thought I would share a MATLAB script I made for generating spirograph-like patterns. It generates coordinates (x,y) which can be saved as .csv file and used in drawing machines.

Image

There is an infinite variety of patterns that can be generated by changing the parameters. I've explained how to use the script on the fileexchange page, basically all you need is in main.m!

http://www.mathworks.com/matlabcentral/fileexchange/38828

Just remembered that you need an account to use the File Exchange so I have uploaded the zip of the script onto my website:
http://www.jonathanjamieson.com/RotorDraw.zip

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: MATLAB script for creating patterns
on: November 16, 2012, 12:43
Quote

Hi Jonathan, these are great - I really want to embed something like this into the polargraphSD as a kind of built-in function. Something that can be easily parameterised. A lot of people look at the polargraph machine and among their first reactions is "it's like a spirograph" - which of course it isn't, but I can kind of see why they say it. Drawing this kind of pattern will further confuse the boundaries, and I LIKE that a LOT.

cheers!
sn

JJ
Newbie
Posts: 2
Permalink
Post Re: MATLAB script for creating patterns
on: November 17, 2012, 15:04
Quote

My script is real-geometry based, that is, it works it out like it's a real machine:

It's based on a real life machine:

It's funny people say these machines (polargraph style) are like spirographs because I agree, they're not. My version of polargraph causes even more confusing because initially all the coordinate sets I was using were spirograph based.

The script only took an afternoon to knock up, of course it will take significantly longer to polish off a reliable equivalent for the polargraphSD. Feel free to use the code if it's of any help for you.

I think I might buy a "Vitamin Kit" if you get them back in stock before Christmas. It wouldn't be till next summer I would have enough time to properly experiment with it.

I don't suppose you've had any time to add in a coordinate output functionality? I asked you a while ago on instructables but it (understandably) wasn't high on your priority list.

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.018 seconds.