Chapter 8. Graphs, shapes, and points
- Drawing lines, shapes, and points
- Creating and annotating graphs from programs
- Techniques for making graphical programs and games
For the first six chapters, you worked with the homescreen, an 8-row, 16-column matrix of characters. In chapter 7, you learned about manipulating the individual pixels of the graphscreen, turning them on and off and checking if certain pixels were on. If you wanted to draw a line, a polygon, or a circle, render a graph, or save a full-screen picture, you’d be stuck with many, many pixel commands. Figure 8.1 shows some of the things you might want to draw in programs.