Learning Processing: A Beginner's Guide to Programming Images, Animation, and Interaction

This book teaches the basic building blocks of programming needed to create cutting-edge graphics applications including interactive art, live video processing, and data visualization. A unique lab-style manual, this book gives graphic and web designers, artists, illustrators, and anyone interested in learning to code a jumpstart on working with the Processing programming environment by providing instruction on the basic principles of the language, followed by careful explanations of advanced techniques. From algorithmic design to data visualization, to computer vision and 3D graphics, this book teaches object-oriented programming from the ground up within the fascinating context of interactive visual media and creative coding. It is also supported by a companion website (learningprocessing.com), which includes all examples running in the browser using HTML5 canvas and p5.js, downloadable versions of all source code, answers to select chapter exercises, and over twenty hours of companion video lessons. A friendly start-up guide to Processing, a free, open-source alternative to expensive software and daunting programming languages No previous experience required-this book is for the true programming beginner! Step-by-step examples, thorough explanations, hands-on exercises, and sample code supports your learning curve Table of Contents Lesson 1: The Beginning Chapter 1: Pixels Chapter 2: Processing Chapter 3: Interaction Lesson 2: Everything You Need to Know Chapter 4: Variables Chapter 5: Conditionals Chapter 6: Loops Lesson 3: Organization Chapter 7: Functions Chapter 8: Objects Lesson 4: More of the Same Chapter 9: Arrays Lesson 5: Putting It All Together Chapter 10: Algorithms Chapter 11: Debugging Chapter 12: Libraries Lesson 6: The World Revolves Around You Chapter 13: Mathematics Chapter 14: Translation and Rotation (in 3D!) Lesson 7: Pixels Under Microscope Chapter 15: Images Chapter 16: Video Lesson 8: The Outside World Chapter 17: Text Chapter 18: Data Input Chapter 19: Data Streams Lesson 9: Making Noise Chapter 20: Sound Chapter 21: Exporting Lesson 10: Beyond Processing Chapter 22: Advanced Object-Oriented Programming Chapter 23: Java Appendix: Common Errors Index www.learningprocessing.com