Chapter 8. Graphs, shapes, and points

 

This chapter covers

  • 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.

Figure 8.1. Two examples of what you can do with this chapter’s lessons. The left screenshot is from the program POLYGON, which section 8.4 will show. The right screenshot is from a TI-BASIC 3D graphing program called Graph3D v4.0.

8.1. Another coordinate system: points versus pixels

 

8.2. Graphing from programs

 
 
 

8.3. Drawing with points

 
 
 
 

8.4. Lines and shapes

 
 

8.5. Working with pictures

 
 
 

8.6. Summary

 
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage
test yourself with a liveTest