First page Back Continue Last page Graphics
A Simple Grid
So we want to draw a simple grid ....
A grid consists of horizontal and vertical evenly-placed lines
We can use 2 loops:
- draw vertical lines, moving on the x axis, until we run out of room
- draw horizontal lines, moving on the y axis, until we run out of room
we can use variables to set how much we move the line each time so that the lines will move the same amount