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 enables a multimodal approach to programming instruction, well suited to students with interests in computer science or in the arts and humanities.
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. Additional exercises are available, as are other supplementary materials for instructors looking to introduce even more computer science concepts associated with the topics. Several online chapters are also provided that introduce slightly more advanced topics in Processing, such as two-dimensional arrays, manipulation of strings, and file input and output. 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.
Foreword Preface: Why We Wrote This Book and For Whom It Is Written Acknowledgments 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 INDEX
Jeff Nyhoff, Ph.D., is Professor of Computer Science at Trinity Christian College in Palos Heights, Illinois. Larry Nyhoff, Ph.D., is Professor Emeritus of Computer Science at Calvin College in Grand Rapids, Michigan.
Reviews for Processing: An Introduction to Programming
[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