next up previous contents index
Next: Writing in the text Up: Movement of the turtle; Previous: A word on colors   Contents   Index

Animation Mode

There are two primitives that allows to execute commands witout the turtle displays them: animation and stopanimation
Primitives Arguments Utilisation
anim, animation none You go into animation mode. The turtle does not draw on the screen anymore but follows the stored line. To update the drawing on the screen, use the primitive update. It is very useful to create an animation or to draw a line faster.
stopanim, stopanimation none Animation mode is finished: you switch back to classical mode. You can see the turtle's moves on screen.
repaint none In animation mode, updates the screen: the image on the drawing area is updated.


To notice the animation mode, a camera icon appears in the history command. If you click on the icon, the animation mode will stop. It's equivalent to use the primitive stopanimation.
\includegraphics[scale=2.5]{pics/animation.eps}


next up previous contents index
Next: Writing in the text Up: Movement of the turtle; Previous: A word on colors   Contents   Index
Loïc 2008-06-08