Processing is a free, beginner-friendly programming language designed to help non-programmers create interactive art with code. In Processing, you can make a masterpiece with just a simple program, and at the click of a button, the software displays your handiwork on-screen for instant feedback.
The SparkFun Guide to Processing teaches you to craft your own digital artwork and even combine it with hardware—no prior programming experience required. Over the course of the book, you’ll learn the basics by drawing simple shapes, move on to photo editing and video manipulation, and ultimately affect the physical world by using Processing with an Arduino.
Work through an array of projects that increase steadily in complexity to:
Art and programming aren’t mutually exclusive, and with Processing as your digital paint brush, you’ll code your own gallery in no time.
Derek is our Department of Education’s Educational Technologist, responsible for creating outstanding curriculum and materials for electronics education. Before joining us at SparkFun, Derek taught middle school technology courses that were centered on Processing and Arduino.
Note: This book is Processing 3.0 compatible.
Based on 5 ratings:
1 of 2 found this helpful:
While I have found the book itself to be incredibly valuable, and one that I would recommend to anyone interested in teaching or learning this software, I do take issue with the sales aspect of this book.
The book is simply fantastic, and I would strongly recommend it to anyone interested in learning or teaching the language, regardless of experience levels. It is great in that simply knowing how to type gets you immediate visual results immediately, and the progression is very clearly laid out and logical. In my opinion, it is the superior text to “Getting Started With Processing” (which I also have used and admired),
One significant strike, I would really like to see a quality text that spends more time on the Processing/Arduino connection. While this book addresses it well for one chapter, as a science prof. that connection is the major goal for me. I fully realize that may not have been the intended direction for this book, but I’d adopt a text that spent more time relating the two.
Biggest issue: I have long defended and encouraged my students to support Sparkfun, but the lack of links to O'Reilly’s other publishing options (which I would have preferred) make me feel slightly cheated. I’m happy to support Sparkfun, and will continue to be an advocate, I hope they reconsider their publishing policies, because I there a number of truly great books yet for them to write.
So far I like the book. I like the design. It is easy to read and the explanations are easy to understand. There is at least one mistake at the beginning of the book but aside from that I’m glad I purchased this book.
Very useful and well adapted to Arduino fan.
I really enjoyed working through this guide. The author did a fantastic job of introducing a complex, and changing, code. Given operating system variations, updated code (was 2.2 in the guide - now 3.0.2), and complicated concepts, I feel the author did a fantastic job.
I had no previous Processing experience, and am not familiar with other Processing guides that are available, but have programmed in Fortran and Basic in the past (yes, I am ancient). I did several online ‘One Hour of Coding’ exercises last year and purchased the SparkFun Sandbox about a year ago. That used ArduBlock, which allowed an old programmer like me to program without learning the C/C++ syntax. However, I wanted to go further and this guide was a great help.
I did not do all of the exercises in the book, and currently uploading drawings is not available in version 3, but I was able, for example, to extensively modify the snowman drawing (Figure 2.13) to cycle over 30 sec and to add accessories (hat, scarf, pipe) and to blink his left eye at sec() == 18, to add trees with ornaments and blinking lights, add a pumpkin whose mouth changes from black to red over 30 sec while his eyes go from black to white and he turns red at sec() == 0, add the sun, whose rays change color every 2 - 5 seconds, etc. I was able to export this both as an app on my computer and, using Frames, as a video as a mov file.
After completing this guide, I am certainly not competent in Processing, but I was able to refer back to the Guide often for help. Many complex topics were covered in sufficient detail and with references for further reading, that I really recommend this guide as a way to learn basic interactive art. The code used is available online, which was nice especially where there were a lot of lines of code. Some changes had to be made (e.g., Sandbox analogReads had to be changed (for me) from A0, A1, and A2 to simply 0, 1, & 2 to get the code to run in Chapter 13, figure 13-13.
I certainly learned enough to make automated drawings and to export them to video files. I had fun and thought this was an excellent introduction to a complicated body of processing code.
The book is written by a teacher whose instructional approach is perfect. The lessons are clear and organized so that the beginning Processing user gradually adds new skills on an as-needed basis. The projects are fun - my students are going to love to do them, as do I.