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

You Ready to go Gung HO? A Hotshot Challenge


In this mission, we learned how to create a globe and how to use GLSL shaders as filters in Processing. We have only scratched the surface of what is possible with shaders using a modern graphics card; there is so much more that can be done with a globe besides making it rotate and look awesome. Why don't you try one of the following ideas to extend the sketch we have just created:

  • Create a "sun" that lights up the globe correctly based on the time of day, and use a GLSL filter that uses the day and night texture images and blends between the two at the day-night border.

  • NASA provides satellite images for the various planets and moons of our solar system to download for free. Why not make a whole solar system?

  • Create a different set of GLSL filters to recreate the hand-drawn black and white globes from the weekly newsreels in the cinemas of the 50s.