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.

Here’s an example:<br />

When dividing, if the bases are the same <strong>and</strong> the exponents are different, subtract the<br />

exponents. Here’s the rule in a general form:<br />

Here’s an example:<br />

When multiplying, if the bases are different <strong>and</strong> the exponents are the same, raise the<br />

product of the two bases to the exponent. Here’s the rule in a general form:<br />

Here’s an example:<br />

When dividing, if the bases are different <strong>and</strong> the exponents are the same, raise the product<br />

of the two bases to the exponent. Here’s the rule in a general form:<br />

Here’s an example:<br />

When raising a base to two powers, raise the base to the product of the two powers.<br />

Here’s the process in a general form:<br />

Here’s an example:<br />

Raising a base to a power of 0 equals one.<br />

Geometry<br />

Drawing anything on the computer ultimately comes down to working with points, lines,<br />

curves, shapes, <strong>and</strong> so forth, so dealing with geometry is unavoidable. However, unlike the<br />

vague memories (perhaps nightmares) you may have of perplexing geometry proofs, for<br />

the purpose of basic creative coding, you really just need some simple rules <strong>and</strong> a list of<br />

h<strong>and</strong>y formulae.<br />

MATH REFERENCE<br />

751<br />

B

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

Saved successfully!

Ooh no, something went wrong!