[Thread Prev] [Thread Next]
On 4 Jan 2007 at 10:40, Russell, Ken wrote:
> I did a bit of research on spirals on the web and found that
> there are many varieties. I'm looking for a simple one that I
> can explain to 6th and 7th grade HCL students and that they can
> experiment with.
>
> How would I do this using a formula?
to spiral
dotimes [theta 2000] [
dot.at.distance :theta / 10
seth :theta
]
end
to dot.at.distance :d
pu fd :d
pd fd 0
pu setpos [0 0]
end
> How about a spiral using a square?
to spiral
dotimes [theta 100] [
square :theta
seth :theta * 10
]
end
to square :side
repeat 4 [fd :side rt 90]
end
Daniel
OpenWorld Learning
Previous by thread:
RE: spirals
Next by thread:
RE: spirals
To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.
|