Book Image

Processing 2: Creative Coding Hotshot

By : Nikolaus Gradwohl
Book Image

Processing 2: Creative Coding Hotshot

By: Nikolaus Gradwohl

Overview of this book

Processing makes it convenient for developers, artists, and designers to create their own projects easily and efficiently. Processing offers you a platform for expressing your ideas and engaging audiences in new ways. This book teaches you everything you need to know to explore new frontiers in animation and interactivity with the help of Processing."Processing 2: Creative Coding Hotshot' will present you with nine exciting projects that will take you beyond the basics and show you how you can make your programs see, hear, and even feel! With these projects, you will also learn how to build your own hardware controllers and integrate devices such as a Kinect senor board in your Processing sketches.Processing is an exciting programming environment for programmers and visual artists alike that makes it easier to create interactive programs.Through nine complete projects, "Processing 2: Creative Coding Hotshot' will help you explore the exciting possibilities that this open source language provides. The topics we will cover range from creating robot - actors performing Shakespeare's "Romeo and Juliet", to generating objects for 3D printing, and you will learn how to run your processing sketches nearly anywhere from a desktop computer to a browser or a mobile device.
Table of Contents (16 chapters)
Processing 2: Creative Coding Hotshot
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Putting it in a box


Now we have prototyped the controller, changed the Smilie-O-Mat sketch to support it, and tested it, but it is still a little bit brittle and hard to use. The current task is to create a customized controller that is easier and faster to use than a mouse, which we currently do not have.

What we need to do is put the controller into a more stable housing and add some knobs to the variable resistors. We will use an aluminum box to house our controller, drill some holes for the resistors, and then switch and solder the connections to prevent them from losing contact. We will also add a sheet of paper to prevent our Arduino from touching the metal directly and causing a short circuit.

Like the robots in Project 1, Romeo and Juliet, the version of the controller shown in this task is how I solved the problem, and this is by no means the only valid solution. You want to use a pink lunch box or a little plastic dinosaur instead of the aluminum box? No problem! This is your controller...