Code covered by the BSD License  

Highlights from
RotorDraw

image thumbnail

RotorDraw

by

 

29 Oct 2012 (Updated )

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

PlotCircle(xc, yc, r)
%% "Spirograph" Code
%  Jonathan Jamieson - September 2013
%  unigamer@gmail.com
%  www.jonathanjamieson.com

function PlotCircle(xc, yc, r)
t = 0 : .1 : 2*pi+0.2;
x = r * cos(t) + xc;
y = r * sin(t) + yc;
plot(x, y)

Contact us