Abstract
Animation is the technique of producing a sequence of still pictures fast enough that our eye–mind connection interprets the sequence as motion. This chapter introduces the topic of animation by presenting four sketches. You’ll first implement a bouncing ball, namely a circle that moves in a window, changing direction (bouncing) off the sides. You’ll then implement a set of three bouncing balls, a bouncing pentagon, and a bouncing polygon in which the user can change the number of sides by pressing the mouse button.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2018 Jeanine Meyer
About this chapter
Cite this chapter
Meyer, J. (2018). Animation Using Arrays and Parallel Structures. In: Programming 101. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3697-0_3
Download citation
DOI: https://doi.org/10.1007/978-1-4842-3697-0_3
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-3696-3
Online ISBN: 978-1-4842-3697-0
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books