First page Back Continue Last page Graphics
A Filled Square
A filled object is really lots of lines or points drawn to the screen
Using lines, we can make a simple object like a square:
- drawing a square with lines:
- choose 4 points and use these to draw the lines
- drawing a filled square with lines:
- choose 4 points; draw a line for each point in between 2 of the points, horizontal or vertical
What happens if we change the line color as we go on?