Chapter 6

Basic primitives

Level: newbie



To move the turtle on the drawing area, we use predefined commands called “primitives”. In this chapter, we’re going to discover the basic primitives allowing us to pilot the turtle on the drawing area.



 6.1 New primitives

 6.2 Drawing a regular polygon

  6.2.1 Square

  6.2.2 Equilatéral triangle

  6.2.3 Hexagon

  6.2.4 Drawing a regual polygon in general

 6.3 Saving a procedure

 6.4 Exercice ...