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 />

412<br />

/*<br />

Nematode - stage 2<br />

Ira Greenberg, January 7, 2006<br />

*/<br />

size(500, 300);<br />

background(255);<br />

strokeWeight(.2);<br />

smooth();<br />

noFill();<br />

float radius = 0;<br />

float thickness = .35;<br />

float x = 0;<br />

float y = height/2;<br />

float amp = .5;<br />

float angle = 0;<br />

float angle2 = 0;<br />

for (int i=0; i= width/2-40) {<br />

fill(195, 110, 105, 70);<br />

}<br />

else if (i >= width/4-40 && i

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

Saved successfully!

Ooh no, something went wrong!