Synopses & Reviews
This book teaches you 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, the book gives graphic and web designers, artists, and illustrators of all stripes a jumpstart on working with the Processing programming environment by providing instruction on the basic principles of the language, followed by careful explanations of select advanced techniques.
Within these pages, ITP (Tisch School of the Arts, New York University) professor Daniel Shiffman demonstrates the fundamentals of programming that will expand your understanding of what is possible in the world of computer graphics. By travelling beyond the confines of proprietary software, you will be empowered to create your own custom design tools.
* A friendly start-up guide to Processing, the visual artist’s 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 simple code samples support your learning curve. Source code and supplemental tutorials are also available through an online companion site.
This book introduces programming concepts in the context of computer graphics and visual art, in a more accessible format than traditional programming textbooks. It uses the open source programming language Processing as the basis for all discussion and examples, focusing on the fundamentals such as variables, conditionals, loops, arrays, and objects in a highly visual manner. The book will also introduce advanced topics such as data mining, networking, image processing, computer vision, and 3D graphics. It will also introduce using Processing for tangible media; communicating with microcontrollers to interact with the physical environment. Processing is built on top of the programming language Java, and so is an excellent introduction to Java and object-oriented programming, and will help prepare the student for study of more advanced object-oriented languages such as Java or C++.
* Introduces the concepts of computer programming using the programming language Processing developed at the MIT Media Lab
* Written for the interactive media designer without any programming experience
* Includes source code for many examples, illustrated with examples of what can be done with Processing
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