Activities/Turtle Art/Tutorials/Triangular Numbers Program

Turtle Art program to generate and annotate triangular numbers.



Main program



Set up variables and place turtle



Put captions above table of annotations



Create triangle of colored dots with annotations



Create one line of diagram, including annotations



Write number of dots in line, and total number of dots so far in new row of table