back to math cats love MicroWorlds
MicroWorlds index
Linking Circles Overview
Go to the Linking Circles project!
Get the MicroWorlds Web Player
so you can use the project

This project was inspired by Mike Sandy of England. He has a different, faster, better way to link circles together. Some day we'll share his version too!  :)

screenshot of Linking Circles
(inactive buttons and sliders)


To use this project, you need the free MicroWorlds Web Player, but you do not need to know anything about MicroWorlds.

In this project, you can set the size, thickness, and overlap of three interlocking circles and watch as they are formed. Have fun experimenting!

(Note: the Mac version of MicroWorlds uses square-shaped pens to draw the colored circles, so the results will not look quite like the sample above!)

If you own MicroWorlds and would like to make your own Linking Circles project from scratch, here are the procedures. Create sliders and buttons as shown. Hatch 6 turtles. Set the instruction for turtles t1, t2, and t3 to:

make_lunes

Change the color of turtles t1, t2, and t3, such as:

setc 15

Rename the other 3 turtles: s1, s2, and s3

(You may notice that for some slider settings, the drawing is not quite perfect. Can you adjust the code to perfect it?)

* * * * *

Procedures for Linking Circles:

to 3-rings
clean
everyone [pu]
ask [t1 t2 t3] [setpensize cir-rad * 2]
everyone [home seth 0 ht]
t1, lt 60 fd radius * overlap / 100
t2, rt 60 fd radius * overlap / 100
t3, rt 180 fd radius * overlap / 100
ask [t1 t2 t3] [clickon]
end

to make_lunes
repeat 72 [fd radius pd fd 0 pu lune bk radius rt 5]
repeat 8 [fd radius lune bk radius rt 5]
end

to lune
if who = "t1
[
ask [s1] [pu
setpos t1's "pos
seth t1's "heading
repeat 36 [fd cir-rad pd lt 90 fd round cir-rad / 10 bk round cir-rad / 10 rt 90 pu bk cir-rad lt 5]]
]
if who = "t2
[
ask [s2] [pu
setpos t2's "pos
seth t2's "heading
repeat 36 [fd cir-rad pd lt 90 fd round cir-rad / 10 bk round cir-rad / 10 rt 90 pu bk cir-rad lt 5]]
]
if who = "t3
[
ask [s3] [pu
setpos t3's "pos
seth t3's "heading
repeat 36 [fd cir-rad pd lt 90 fd round cir-rad / 10 bk round cir-rad / 10 rt 90 pu bk cir-rad lt 5]]
]
end
© copyright 2002 -   Wendy Petti of Math Cats.   All Rights Reserved.