2013 :: Presentations. Book/ Program Arcade Games With Python And Pygame. Now that you can create loops, it is time to move on to learning how to create graphics. This chapter covers: How the computer handles x, y coordinates. It isn't like the coordinate system you learned in math class. How to specify colors. With millions of colors to choose from, telling the computer what color to use isn't as easy as just saying “red.” How to open a blank window for drawing. 5.1 Computer Coordinate Systems The Cartesian coordinate system, shown in Figure 5.1(Wikimedia Commons), is the system most people are used to when plotting graphics. During the early '80s, most computer systems were text-based and did not support graphics.
Even with plain text, it was possible to make rudimentary graphics by just using characters on the keyboard. Later the character set was expanded to include boxes and other primitive drawing shapes. Once computers moved to being able to control individual pixels for graphics, the text-based coordinate system stuck. 5.2 Pygame Library 5.3 Colors Why? Nbviewer.ipython. Crossplatform Framework for NUI.