[Thread Prev] [Thread Next]
On Tue, 13 May 2008 05:57:38 -0500, zehava wizman <zehavawi1@xxxxxxxxx> wrote:
> Hello Froum!
>
> I tried to rotate several turtles in a round way' around the center of the
> circle.I try to do:
>
> to round_it
> forever [repeat 360 [rt 1 fd 1 wait 1]]
> end
>
> to do_it
> everyone [round_it]
> end
>
> nothing happened to the turtles.
>
> file attached
You needed to apply more math:
to setup
everyone [home]
everyone [seth 30 * bf who fd 170 rt 90]
end
to round_it
forever [repeat 360 [rt 1 fd (pi * 170 * 2 / 360) wait 1]]
end
Daniel
OpenWorld Learning
Previous by thread:
RE: Processing Trouble
Next by thread:
Looking for pong game instructions
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.
|