O'Reilly logo

Hello World! Second Edition: Computer Programming for Kids and Other Beginners by Warren Sande and Carter Sande

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 16. Graphics

You have been learning about a lot of the basic elements of computer programming: input and output, variables, decisions, loops, lists, functions, objects, and modules. I hope you have enjoyed filling up your brain with all this stuff! Now it’s time to start having a bit more fun with programming and Python.

In this chapter, you’ll learn how to draw things on the screen, like lines, shapes, colors, and even a bit of animation. This will help us make some games and other programs in the next few chapters.

Getting some help—Pygame

Getting graphics (and sound) to work on your computer can be a little complicated. It involves the operating system, your graphics card, and a lot of low-level code that we don’t really want to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required