Clear all

clearall

Removes all turtles, cleans the graphics window with the default bacground color and then creates new turtle #first at position (0, 0).

Example:

"t := (newturtles 10 [seth random 360 fd 100])
wait 500
clearall

Output: a drawing in the graphics window.

See also:

Table of Content