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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PROCESSING: CREATIVE CODING AND COMPUTATIONAL ART<br />

652<br />

boolean isSolid = true;<br />

boolean isWireFrame = false;<br />

// vertices arrays<br />

float[]verticesX = new float[pts];<br />

float[]verticesY = new float[pts];<br />

float[]verticesZ = new float[pts];<br />

void setup(){<br />

size(500, 300, P3D);<br />

float px, py, pz;<br />

float angle = 45;<br />

// initialize vertices<br />

// initially create 2 planes in the same position,<br />

for (int i=0; i

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

Saved successfully!

Ooh no, something went wrong!