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

Red Dot Fever


One of the first applications every GIS developer does is drawing red dots on a map. This is the "Hello World" equivalent of geo-information systems, and it's exactly what we are going to do for this task of our current mission. We will take the world map we used as a texture for our neon globe and show red dots on the map for each logfile entry.

The latitude is the coordinate that goes from the North Pole to the South Pole and ranges from -90 degrees to 90 degrees with 0 on the equator. The longitude runs around the globe and ranges from -180 degrees to 180 degrees. Longitude zero is on the so called "Prime Meridian", which runs through the Royal Observatory in Greenwich, London—I guess this answers the question of who invented this coordinate system.

When we think of a map, usually North and South America are on the left, Europe and Africa are in the middle, and Asia is on the right. On such a map, the origin of the geographic coordinate system we are using is at the center...