Microworlds

In micro worlds we got taught how to program the turtle to get into position by using the Cartesian plane

The Cartesian plane is made up of four quadrants and is a way of calculate position easily in a neat and simple way. I made a diagram of how to know the right positions.  This is how I would get my turtle to the middle of the top right quadrant of  the Cartesian plane: Setpos [100, -100]. 

Where the turtles are on each
quadrilateral are where the 100 100 point on each quadrant.

This is my program for the square.
pu
Setpos [100, 100]
pd
fd 100
rt 90
fd 100
rt 90
fd 100
rt 90
fd 100

This is my program for my trapezium.

pu
Setpos [-100, 100]
pd
fd 100
rt 135
fd 40
rt 45
fd 40
rt 45
fd 40

This is my program for my kite.

pu
Setpos [-100, -100]
pd
fd 50
rt 90
fd 50
rt 65
fd 100
rt 135
fd 100

This is my program for my parallelogram.

pu
Setpos [ 100, -100]
pd
fd 80
rt 45
fd 40
rt 135
fd 80
rt 45
fd 40

 

 

 

 

 

 

 

 

 

 

 

 

Post a comment

You may use the following HTML:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>