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.

animation, 117–119, 482–486<br />

see also motion<br />

After Effects, 118<br />

asteroid shower animation, 535–551<br />

default frames per second, 79<br />

Final Cut Pro, Apple, 119<br />

Flash, 118<br />

frame rate, 117<br />

function controlling animation in <strong>Processing</strong>, 79<br />

graphics, 108<br />

in-betweens, 118<br />

keyframes, 118<br />

LightWave, 118<br />

persistence of vision, 117<br />

reasons to use <strong>Processing</strong> for, 119<br />

static images <strong>and</strong>, 79<br />

anti-aliasing<br />

aliasing compared in illustration, 215<br />

description, 698<br />

lines <strong>and</strong> curves, 245<br />

noSmooth function, 215<br />

Smooth option, Create Font dialog, 155<br />

supersampling, 214<br />

using smooth function, 214–219<br />

APIs<br />

<strong>Processing</strong> API, 676–743<br />

append function, 575, 682<br />

examples using, 683–684<br />

shape builder <strong>and</strong> animator example, 578<br />

Applet class<br />

inheritance, 321<br />

applet subdirectory, 150<br />

applets, 150<br />

Java applets, 37, 38<br />

what applets can/can’t do, 710<br />

arc, 268<br />

arc function, 268–272<br />

arcs with bounding boxes sketch, 344, 345<br />

arguments, 269<br />

creating circles with, 269<br />

example illustrating pie shape feature, 344<br />

pie chart, 270<br />

Subtractive ColorWheel sketch, 406<br />

Archive Sketch comm<strong>and</strong>, Tools menu, 157<br />

arguments, 34<br />

commas separating, 60<br />

description of use of term, 97<br />

functions with arguments, 60<br />

functions without arguments, 61<br />

parameters <strong>and</strong>, 209<br />

parentheses defining functions, 60<br />

arithmetical progression, 247<br />

Array Functions section, <strong>Processing</strong> API, 682<br />

arrayCopy function, 446<br />

ArrayList class, Java, 682<br />

arrays, 83–85<br />

accessing values in, 85<br />

adding values to end of, 682<br />

adding values/arrays into, 682<br />

altering length of, 682<br />

appending data to, 683–684<br />

array declarations, 84<br />

changing size of arrays, 682<br />

composite data types, 680<br />

copying array of elements from, 682<br />

data types, 84<br />

deleting values from end of, 682<br />

elements of, 85<br />

mail merge program, 89<br />

Many Bouncing Balls program, 93<br />

multidimensional arrays, 213<br />

pixels[] array, 430<br />

size restriction on, 84<br />

zero-indexing of, 85<br />

Arrays class, Java, 682<br />

art<br />

code artists, 14–24<br />

history of computer art, 8–14<br />

The Computer in <strong>Art</strong>, 13<br />

assignment operator, 75–76<br />

equals (equal to) operator <strong>and</strong>, 43, 75<br />

shortcut syntax, 76, 184<br />

asteroid shower<br />

developing animation, 535–551<br />

Asteroid Shower sketch, 551<br />

atan2 function, 742<br />

2D collisions, 560<br />

asteroid shower animation, 535<br />

easing, 504<br />

Atanasoff, John, 11<br />

Attributes (shape) section, <strong>Processing</strong> API, 698<br />

Attributes (typography) section, <strong>Processing</strong> API, 740<br />

Auto Format comm<strong>and</strong>, Tools menu, 155<br />

AWT components, 590<br />

axis<br />

getAxis/setAxis methods, 474<br />

Aztec stone of the sun, replica of, 6<br />

B<br />

Babbage, Charles, 10, 11<br />

background function, 484, 724<br />

Bouncing Ball program, 79<br />

collision detection, 489<br />

description, 61<br />

setting background color, 177<br />

Ball class, 154, 552, 555<br />

basic mode, 158<br />

beautify, Auto Format comm<strong>and</strong>, 155<br />

beginDraw function, 735<br />

beginRecord function, 710<br />

INDEX<br />

777

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

Saved successfully!

Ooh no, something went wrong!