Lesson goal: Zoom in or out of your graphics

Previous: The Cartesian Coordinate System | Home | Next: Speaking text

Sometimes your graphics or drawing might be too small or too large. Also, the graphics area extends from -250 to 250 horizontally (along x), and from -175 to +175 vertically (along y). Sometimes this range may be too large or too small. To fix this, you can adjust the zoom of the drawing area using the zoom function.
zoom(number)
Move the mouse over a dotted box for more information.

Now you try. Change the number in the zoom( ) statement and watch the dots on the corner of the square grow and shrink.

Type your code here:


See your results here: