Notes from my old pc


What is a Spirograph?

A Spirograph is a curve formed by rolling a circle inside or outside of another circle. The pen is placed at any point on the rolling circle. If the radius of fixed circle is R, the radius of moving circle is r, and the offset of the pen point in the moving circle is O, then the equations of the resulting curve is defined by:

x = (R+r)*cos(t) – O*cos(((R+r)/r)*t)
y = (R+r)*sin(t) – O*sin(((R+r)/r)*t)
(moving circle outside the fixed circle)

x = (R-r)*cos(t) + O*cos(((R-r)/r)*t)
y = (R-r)*sin(t) – O*sin(((R-r)/r)*t)
(moving circle inside the fixed circle)


To win but not destroy
To conquer but not humiliate
This is what true conquest is!


Programmer’s significant other: So are you just gonna sit there all night on your laptop or are you gonna take me out tonight?
Programmer: Yes.

Wait for the rest 😀


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s