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

Mission Accomplished


In this project, we learned how to use the Minim framework to play MP3 files and how to access the sample data. We used the samples to generate a visualizer for the currently played sound. We used the fft class of the Minim framework to generate an equalizer visualizer.

In our second task, we wrote five classes that change a pattern consisting of an 8 x 8 grid of tiles. We used a timer thread that triggers the changes in three of the classes. We also added a visualizer that uses the sample data and the fft class to generate the pattern.

In the third task, we changed the draw() method and used the visuals we generated in the second task as a texture. We also added a playlist functionality. The playlist controls the sequence of played songs and also the sequence of our visualizers and how long they are shown.

In the final task of our mission, we merged our visualizer texture and the playlist classes to the stick figure dance company from Project 2, The Stick Figure Dance...