[MWForum]MIA, Ask an Expert: turtle positioning
Jeff Knope
mwforum@lists.mathcats.com
Mon, 31 May 2004 20:19:52 -0700
Hi Emma,
The graphics field (the part of the screen where turtles run around) is a
Cartessian coordinate field with the origin (the [0 0] point) in the dead
center of the graphics area.
It may vary somewhat depending on which version you have, and what platform
you are using, but for MicroWorlds Pro, the field starts out with the far
left edge at x = -371, the right edge at x = 371, the top at y = 212, the
bottom at y = -212.
You may direct a turtle to any location by telling it the coordinates you
want it to go to. The command is setpos [x y], where you put numbers for the
x and y values. For example if you want the turtle to go close to the top
left corner of the screen, you could write: setpos [-362 205], and it would
go up near that corner.
There are other way to make the turtle move around, but I think this is the
method you are asking for.
Good luck,
Jeff
----- Original Message -----
From: "Ask an Expert - Question" <askanexpert@openworldlearning.org>
To: <mwforum@lists.mathcats.com>
Sent: Monday, May 31, 2004 5:36 PM
Subject: [MWForum]MIA, Ask an Expert: turtle positioning
> This is an automatic message sent from the web form at:
> http://mia.openworldlearning.org/howdoi.htm
>
> from: "Emma" eemoi@deakin.edu.au
> date: Mon, 31 May 2004 18:36:16 -0600
>
> How do I position a turtle using commands?
>
>
> _______________________________________________
> MWForum mailing list
> MWForum@lists.mathcats.com
> http://lists.mathcats.com/mailman/listinfo/mwforum
> Attachments archived at:
> http://www.mathcats.com/mwforum/attachments.html
> To unsubscribe or for administrative questions contact
> mailto:mwforum-admin@lists.mathcats.com
>
>