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

78<br />

/*conditionals<br />

detects ball collission with sketch window edges<br />

also accounts for thickness of ball<br />

*/<br />

if (xpos>=width-wdth/2 || xpos=height-ht/2 || ypos

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

Saved successfully!

Ooh no, something went wrong!