Home
Project Folders
Teacher Resources
Student Resources
How Do I?
Literacy
MWForum
Site Map
Search
Our Team

MWForum Message [Date Index] [Threads] [Authors] [Attachments] [Subscribe]

[Thread Prev] [Thread Next]

To: mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Subject: Re: rotate several turtles in a circle way
From: "Daniel Ajoy" <da.ajoy@xxxxxxxxx>
Date: Tue, 13 May 2008 13:52:53 -0500
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;

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.


    © copyright 2001 - 2008