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.

The combination of these two structures that control program flow <strong>and</strong> processing<br />

efficiency are what make most of the cool things we do with computers possible; an example<br />

might be the photorealistic effects in big-budget animated features, such as naturally<br />

moving fur on a virtual animal. To the computer, the fur is just a large array of coordinates<br />

changing over time, based on expressions <strong>and</strong> conditional logic—of course, this is a lot<br />

easier said than done. The Control section is divided into the following four subsections:<br />

Relational Operators<br />

Iteration<br />

Conditionals<br />

Logical Operators<br />

Relational Operators<br />

Relational operators function by Boolean logic—the condition being assessed is either true<br />

or false. These six operators include < (less than),

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

Saved successfully!

Ooh no, something went wrong!