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 Briefing


Our mission is to create the Smilie-O-Mat; a program that allows the user to create a smiley face that reflects his or her emotional state and posts it on Twitter. We will make three parameters adjustable: the angle of the eyebrows, the color of the face, and the position of the mouth (which is changeable, from frowning to smiling and vice-versa).

To post the image on Twitter, we are going to use a Java library named Twitter4J; we will also learn how to authorize a Processing sketch to change the status of a Twitter user using the OAuth authentication framework.

Why Is It Awesome?

You're feeling greenish-yellow today, with a little smile and neutral eyebrows. Don't know how to express that in 140 characters? No problem; adjust the face of the Smilie-O-Mat and tweet it. Life can be so easy when you have the right tools.

Besides that, accessing the Twitter data stream and then posting to it is a very rich data source for visualization projects or interactive Processing sketches...