Custom Search

Orientation of the Turtle

 

By default the turtle faces 'East' - to the right of the screen.

Sadly this is not for a mystical reason of the turtle gazing towards the rising sun... but rather that mathematicians measure angles counterclockwise from the x-axis.... but maybe they do that for a mystical reason anyway.... who knows!

 

You can set the orientation of the turtle by determining the angle measured counter-clockwise from that eastern orientation and then using the command:

Turtle.seth(a)

where 'a' is the angle measured from that baseline...

 

Here are some common directions in degrees :

0 – east

90 – north

180 – west

270 – south