Chapter 8. Timers and Animation: What Would Disney Do?
One way that I learned to program in my teens was by programming short games and animations, and then changing the code to do something new. I was amazed that I could immediately see my code make graphics appear on the screen, and I think youâll enjoy it as much as I did.
Games and animations have several things in common. First, theyâre fun! Second, they both involve drawing graphics on the screen and changing those graphics over time to give the illusion of motion. Weâve been able to draw graphics from the beginning of this book, but the Turtle library is too slow to use for a lot of animation or moving objects. In this chapter, weâre going to install and work with a new module, ...
Get Teach Your Kids to Code now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.