January 2017
Intermediate to advanced
606 pages
14h 1m
English
17.3 Animation – Bouncing Ball
So far, we have developed programs, which produce output in the form of text content. However, there is a famous saying, ‘A picture is worth a thousand words.’ In this chapter, we shall study, how to visualize the input data and the results produced by a program, in the form of graphs, pie-charts, histograms, and 3D plots. We will also see the effectiveness of animation in communication. Python supports 2D and 3D graphics, and animations in the form of various packages and libraries like Matplotlib, PyQtGraph (Scientific Graphics and GUI Library for Python), VisPy (2D/3D visualization library), OpenGL (library for 2D and 3D graphics), turtle, ...