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


For this mission, we are going to create a spinning neon globe starting with the mesh of a sphere. We are then going to add some lights to make our sphere smooth. We will then add a world map texture to our sphere to turn it into a spinning globe. Finally, we'll use some filters using the shader framework that has been added in Processing 2 to add a glow effect similar to the vector displays of an early arcade cabinet or the displays in an old James Bond movie.

And because we don't live in the 80s any longer, we will add the ability to switch our globe to a modern satellite image display as well.

Why Is It Awesome?

This mission gives us the opportunity to explore the awesome 3D capabilities of Processing. We start with a simple wireframe model of a sphere, and then learn how to light the scene and texture our mesh. For our final task, we will learn how to create code that runs in parallel on the graphics card without further burdening the CPU or decreasing the frame rate of...