Spirograph in Small Basic

Have you played with Spirograph before?  I loved this toy and played with it well when I was a child.

Challenge of the Month - March 2015 has a challenge to draw a Spirograph with Small Basic.

Graphics Challenge

  • Write a program to draw a spriagraph picture.

Image result for spirograph

It's very interesting that many kind of Spirograph pictures can be made.   And I also feel fun to understand the relationship between radiuses of wheels and pictures.

At least, if r1 = r2 + r3 then the lines in the picture pass through the center.  And r1 - r2 + r3 is the circumradius of the picture.

Let's have fun with trying to draw variety of beautiful Spirograph pictures!

Thank you litdev for this challenge and for the challenges every month.

Skip to main content