This book demonstrates how Processing is an excellent language for beginners to learn the fundamentals of computer programming. Originally designed to make it simpler for digital artists to learn to program, Processing is a wonderful first language for anyone to learn. Given its origins, Processing
The book uses Processing’s capabilities for graphics and interactivity in order to create examples that are simple, illustrative, interesting, and fun. It is designed to appeal to a broad range of readers, including those who want to learn to program to create digital art, as well as those who seek to learn to program to process numerical information or data. It can be used by students and instructors in a first course on programming, as well as by anyone eager to teach them self to program.
Following a traditional sequence of topics for introducing programming, the book introduces key computer science concepts
, without overwhelming readers with extensive detail. The conversational style and pace of the book are based upon the authors’ extensive experience with teaching programming to a wide variety of beginners in a classroom. No prior programming experience is expected.
"[This] new book directly targets the CS classroom in a way that no other Processing book does….[The authors] present a much less reactionary approach integrating many of the wonderful things about Processing with traditional approaches that have worked well in CS pedagogy. Not only is their approach sensible and efficient, it’s also likely to offer greater comfort to existing CS instructors (who perhaps don’t have degrees in theater or painting.) It is this effort of considerate integration-of the old tried and true and new and improved-that I believe has the greatest chance of tipping the balance for Processing’s use in the computing classroom."
--Ira Greenberg, Southern Methodist University, Dallas, Texas, USA
Preface: Why We Wrote This Book and For Whom It Is Written
Introduction: Welcome to Computer Programming
Chapter 1 Basic Drawing in Processing
Chapter 2 Types, Expressions, and Variables
Chapter 3 More about Using Processing’ s Built-In Functions
Chapter 4 Conditional Programming with if
Chapter 5 Repetition with a Loop: The while Statement
Chapter 6 Creating Counting Loops Using the for Statement
Chapter 7 Creating void Functions
Chapter 8 Creating Functions That Return a Value
Chapter 9 Arrays
Chapter 10 Introduction to Objects