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.

pixel functions, 429–432<br />

procedural languages, 32, 62<br />

procedural programming, 58, 302<br />

program to draw gray rectangle, 33<br />

recursion, 347<br />

return values, 261<br />

time functions, 491<br />

use of identical keywords for property, 678<br />

writing custom functions, 97, 205<br />

functions, list of<br />

see also functions<br />

abs, 439<br />

alpha, 422<br />

ambient, 720<br />

append, 575, 578, 682<br />

arc, 268–272, 344, 406<br />

arrayCopy, 446<br />

atan2, 535, 742<br />

background, 61, 177<br />

beginDraw, 735<br />

beginRecord, 710<br />

beginShape, 209<br />

bezier, 273–298<br />

bezierDetail, 298<br />

bezierPoint, 298<br />

bezierTangent, 298<br />

bezierVertex, 284, 287, 368<br />

blend, 452, 459–467<br />

blendColor, 419, 420<br />

blue, 422, 423<br />

box, 647<br />

brightness, 422, 423<br />

ceil, 741<br />

checkBoundaryCollision, 552<br />

checkCollisions, 99<br />

checkGroundCollision, 537<br />

checkObjectCollision, 552<br />

checkOverInitialNode, 575<br />

checkWallCollision, 536<br />

color, 402<br />

colorMode, 417, 726<br />

constrain, 448<br />

cos, 256<br />

createFont, 592, 738<br />

createGradient, 426<br />

createGraphics, 734, 735<br />

createPredatoryTriangle, 504<br />

createRect, 641<br />

createSpring, 513<br />

cursor, 582<br />

curve, 267–298<br />

curveDetail, 298<br />

curveEllipse, 298<br />

curvePoint, 298<br />

curveTightness, 283, 520<br />

curveVertex, 287, 289, 298, 368<br />

day, 708<br />

deselectBtns, 600<br />

detectCollision, 689<br />

draw, 78, 159, 484<br />

drawEdge, 575<br />

drawEllipse, 293<br />

drawNode, 575<br />

drawPoly, 377<br />

drawRectangle, 96, 97<br />

drawTable, 205, 209<br />

ellipse, 61, 342<br />

ellipseMode, 342, 343<br />

emissive, 720<br />

encrypt, 438<br />

endDraw, 735<br />

endRecord, 710<br />

endShape, 210, 698, 699<br />

fadeScreen, 159<br />

fill, 61, 113<br />

filter, 452–459<br />

float, 681<br />

floor, 741<br />

fragment, 437<br />

frameRate, 79<br />

get, 436, 437<br />

getXMotion/getYMotion, 101<br />

green, 422, 423<br />

Hide, 148<br />

hour, 708<br />

hue, 422, 423<br />

image, 434, 733<br />

imageMode, 733<br />

int, 428, 681<br />

isInitialNode, 577<br />

join, 682<br />

keyPressed, 603<br />

keyReleased, 603<br />

lerp, 420<br />

lerpColor, 420, 422<br />

line, 116, 196–199<br />

link, 707<br />

loadFont, 738, 739<br />

loadImage, 433, 732, 733<br />

loadPixels, 429, 431, 732<br />

loop, 491<br />

makePoly, 230<br />

makeRect, 213<br />

makeSprocket, 363<br />

makeWaves, 261<br />

max, 223, 475<br />

millis, 491, 708<br />

min, 223<br />

INDEX<br />

787

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

Saved successfully!

Ooh no, something went wrong!