PROCESSING Workshop

by Emanuele Mazza aka n3m3da

 

Back to d3cod3.org

 

Reference Links:

Download Processing
Processing language Reference
Introduction to Computational Media, Daniel Shiffman 2005
Introduction to Computational Media, James Tu 2006
Introduction To Computational Media, Shawn Van Every 2006
Live Video useful algorithms
Processing Hacks
Processing on Flickr
Processing Blogs

 

Layer0[first layer]: Hello random!

Introduction to processing, environment, shapes, colors, dimensions, positions.
Interactivity with the mouse.
more complex objects.
classes.

Exercise -- Step 1: Create your object using simple shapes. Step 2: Introduce variables to control parameters of your design. Step 3: develop a simple algorithm to automatize some process using random variables and mouse interactivity.

 

Example 1: Intro
Example 2: Objects
Utils: EmptyProject

Exercise: hellorandom

 

Really basic Code: basics.zip
Code: layer0.zip

 

Layer1[second layer]: Hack OPENGL structures

Array of objects, functions, iteration and recursion.
Using internal system time to create animation, time and date.
OPENGL library, use of 3D environment, lights, material and camera.

Exercise -- Step 1: Create a more complex class from last exercise, trasform the "old" 2D object into a 3D object, create new variables to manage de 3D environment, import the OPENGL external library. Step 2: Create an array of object to duplicate and control your object multiple times, create an array of variables to use system time and generate an animation. Step 3: help each other to resolve problems

 

Example 1: array
Example 2: class
Example 3: iteration
Example 4: recursion
Example 5: millis
Example 6: fading
Example 7: advanced_OpenGL

Exercise: Hacking_OpenGL

 

Code: layer1.zip

 

Layer2[third layer]: Hello Arduino!

Text object, Image object, external libraries to manage text and images.
Communicating with arduino trough Serial Library.

Exercise -- Step 1: Create an example on Processing with images and text. Step 2: Create variables to control some image and text parameters. Step 3: Create a simple program on Arduino to work with one(or more) sensor. Step 4: use Serial Library to link some variables from sensor trough arduino. Step 5: run your interactive piece and test it with other people.

 

Code: layer2.zip
 
 
 

 

Layer3[fourth layer]: Hello PD!

Introducing more external libraries, physics, animation, sound library, video tracking, blob detection.
OSC communication library, connecting processing with PD.

Exercise -- Step 1: Create a free example on Processing, using all you have learned. Step 2: Build a simple patch on PD to generate/control sound. Step 3: Use OSC external library to link variables from/to Processing from/to PD.

 

Code: layer3.zip
 
 
 

 

talkoo ZGZ final project installation

Processing visual game interface connected with PD generating audio events; works for four joystick-bar-machine communicating trough local network
Code: talkooZGZ.zip
 
 

 

External Libraries[unzip it and put it in /processing/libraries/]

Processing Libraries pages

 

 

animation.zip from http://www.cs.princeton.edu/%7Etraer/animation/
physics.zip from http://www.cs.princeton.edu/%7Etraer/physics/
moviemaker.zip from http://www.shiffman.net/2006/05/18/moviemaker/
oscillator.zip from http://www.fladdict.net/p5/library/oscillator/
blobDetection.zip from http://www.v3ga.net/processing/BlobDetection/index.php?page=home
libcv_v0.1.zip from http://toxi.co.uk/p5/libcv/
JMyron0025.zip from http://webcamxtra.sourceforge.net/
Ess_r2.zip from http://www.tree-axis.com/Ess/
sonia_v2_9.zip from http://sonia.pitaru.com/
minim-1.1-lib.zip from http://code.compartmental.net/tools/minim
objloader_r12.zip from http://users.design.ucla.edu/%7Etatsuyas/tools/objloader/index.htm
surface.zip from http://www.eskimoblood.de/surfacelib/
movingletters.zip from http://www.foobarquarium.de/blog/processing/MovingLetters/
imageadjuster004.zip from http://www.davebollinger.com/works/imageadjuster/
oscP5_0.9.0.zip from http://www.sojamo.de/iv/index.php?n=11

 

 

(cc) 2005-2007 d3cod3 No Rights Reserved