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

Here come the dancers


The final task for our mission is to add the disco dance floor we just created to the sketch from Project 2, The Stick Figure Dance Company. We will replace the boring gray dance floor our dancers are currently using with the awesome visualizers we have created in this mission.

We are going to use the metaData object we can get from a Minim player to display the title of the currently played MP3 file.

Engage Thrusters

Let's add our dancers:

  1. The first thing we need to do for this task is copy all the visualizer classes from the previous sketch to the stick figure dance company sketch from our previous project. So, we open both the "visualizers" sketch from the previous task and the final sketch from the previous project.

  2. We save the stick figure dance company sketch under a different name by navigating to File | Save As.

  3. Now we switch to the "visualizer" sketch and open the sketch folder by navigating to Sketch | Show Sketch Folder.

  4. Select all the files in this folder except...