introduction to processing and creative coding

29
processing: a visual overview of creative coding

Upload: jerome-herr

Post on 01-Jul-2015

183 views

Category:

Art & Photos


6 download

DESCRIPTION

Presentation about creative coding

TRANSCRIPT

Page 1: Introduction to Processing and creative coding

processing: a visual overviewof creative coding

Page 2: Introduction to Processing and creative coding

graphic design I

source: thedotisblack.tumblr.com

(results can be saved as PDFs)

Page 3: Introduction to Processing and creative coding

graphic design II

source: caseybloomquist.tumblr.com

Page 4: Introduction to Processing and creative coding

graphic design III

source: www.diana-lange.de

Page 5: Introduction to Processing and creative coding

Motion stills

sources: p5art.tumblr.comwww.joshuadavis.com

Page 6: Introduction to Processing and creative coding

collages

source: blog.the816.com

Page 7: Introduction to Processing and creative coding

collages II

source: www.loftomatic.com

Page 8: Introduction to Processing and creative coding

using imported SVGs

source: art.andrewwalpole.com

Page 9: Introduction to Processing and creative coding

manipulating photos I

source: p5art.tumblr.com

Page 10: Introduction to Processing and creative coding

manipulating photos II

source: www.sergioalbiac.com

Page 11: Introduction to Processing and creative coding

data vizualization

sources: www.aaronkoblin.combenfry.com

Page 12: Introduction to Processing and creative coding

animated GIFs I

source: beesandbombs.tumblr.com

Page 13: Introduction to Processing and creative coding

animated GIFs II

source: echophon.tumblr.com

Page 14: Introduction to Processing and creative coding

animated GIFs III

sources: myartexperiments.tumblr.comcaseybloomquist.tumblr.com

Page 15: Introduction to Processing and creative coding

animated GIFs IV

sources: patakk.tumblr.compsykzz.tumblr.comp5art.tumblr.com

Page 16: Introduction to Processing and creative coding

animated GIFs V

source: hamoid.tumblr.com

Page 17: Introduction to Processing and creative coding

particles and swarms (basic examples)

source: www.openprocessing.org

Page 18: Introduction to Processing and creative coding

animating existing pixels

sources: bigblueboo.tumblr.comp5art.tumblr.com

Page 19: Introduction to Processing and creative coding

reinterpreting existing material

source: p5art.tumblr.com

Page 20: Introduction to Processing and creative coding

using 3D space

sources: jstephenlee.tumblr.cometall.tumblr.com

bigblueboo.tumblr.com

Page 21: Introduction to Processing and creative coding

interaction

source: www.airtightinteractive.com

web link

source: caseybloomquist.tumblr.com

web link

Page 22: Introduction to Processing and creative coding

videos I

source: uchu-jin.tumblr.com

web link

(video removed)

Page 23: Introduction to Processing and creative coding

videos II

source: vimeo.com/ravenkwok

web link

(video removed)

Page 24: Introduction to Processing and creative coding

videos IV

source: amnonp5.wordpress.com

web link

(video removed)

Page 25: Introduction to Processing and creative coding

videos IV

source: www.diana-lange.de

web link

(video removed)

Page 26: Introduction to Processing and creative coding

basic code example I (static)

source: p5art.tumblr.com

color bg = #352238, f = #87334F;

int step = 50;

float diam = 20;

void setup() {

size(600, 800);

background(bg);

fill(f);

noStroke();

for (int y=step/2; y<height; y +=step) {

for (int x=step/2; x< width; x += step) {

ellipse(x, y, diam, diam);

diam += 0.3;

}

}

}

Page 27: Introduction to Processing and creative coding

basic code example II (animated)

source: p5art.tumblr.com

float unit, theta;

int num = 20, numFrames = 120;

void setup() {

size(500, 500);

unit = width/num;

noStroke();

}

void draw() {

background(0);

for (int y=0; y<=num; y++) {

for (int x=0; x<=num; x++) {

float distance = dist(width/2, height/2, x*unit, y*unit);

float offSet = map(distance, 0, width/2+height/2, 0, TWO_PI);

float sz = map(sin(theta+offSet),-1,1,unit*.1,unit*.9);

float start = map(sin(theta+offSet),-1,1,0,PI);

float lerpAmount = map(distance, 0, width/2+height/2, 0,1);

color col = lerpColor(#FCE400, #C60C0C, lerpAmount);

fill(col);

arc(x*unit, y*unit, sz, sz,start,start+PI);

}

}

theta += TWO_PI/numFrames;

}

Page 28: Introduction to Processing and creative coding

don’t be afraid of the math, this is more or less all you need (basic trigonometry)

source: www.zenbullets.com

Page 29: Introduction to Processing and creative coding

additional resources

A lot of links to free online tutorials (from total beginnerto more advanced) and to creative coding books can befound at p5art.tumblr.com/tutorials