04.04.2013 Views

Processing: Creative Coding and Computational Art

Processing: Creative Coding and Computational Art

Processing: Creative Coding and Computational Art

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

PROCESSING: CREATIVE CODING AND COMPUTATIONAL ART<br />

730<br />

//lerp<br />

color c_lerp_25 = lerpColor(c1, c2, .25);<br />

color c_lerp_5 = lerpColor(c1, c2, .5);<br />

color c_lerp_75 = lerpColor(c1, c2, .75);<br />

color[] cols = {<br />

c_add, c_subtract, c_darkest,<br />

c_lightest, c_lerp_25, c_lerp_5, c_lerp_75<br />

};<br />

for (int i=0; i

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!