Lesson goal: Animating a text banner

Previous: Exploding text | Home | Next: Growth pattern

The printxy statement allowed you to display text on the screen at a particular x,y coordinate. This is a useful function because it treats text like graphics, so you can draw and animate with it.

In this lesson, let's draw some text that moves across the screen, from right to left, sort of like an animated "text banner."

Now you try. Fix the for-loop to count from x=200 to x=-200 in steps of -10 or so. Next, fill in the proper $(x,y)$ coordinates of where the text should be drawn in the printxy statement.

Type your code here:


See your results here: