7.1 Presentation

In this chapter, we’re going to discover the primitive setposition, setpos. The drawing area has two axis that allows to determine each point using the cartesian coordinate system. The origin is the center of the drawing area.





seposition list      setpos [100 -250]

Moves the turtle to the co-ordinates specified by the two numbers in the list



A little exemple:

cs setpos [200 100] setpos [50 -150] setpos [-100 -150]

pict