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.

INDEX<br />

786<br />

filter function, 452–459<br />

BLUR argument, 458, 459<br />

GRAY argument, 457<br />

INVERT argument, 452, 454<br />

OPAQUE argument, 459<br />

POSTERIZE argument, 458<br />

THRESHOLD argument, 456<br />

filters<br />

BLUR Filter sketch, 458<br />

code art, 4<br />

From Neg to Pos sketch, 455<br />

GRAY Filter sketch, 457<br />

imaging filters, 448–467<br />

INVERT Filter sketch, 452<br />

POSTERIZE Filter sketch, 458<br />

problem with Photoshop filter, 5<br />

THRESHOLD Filter sketch, 456<br />

Final Cut Pro, Apple, 119<br />

final keyword, Java, 199<br />

class constants, 470<br />

Door class, 383<br />

scribble plotter sketch, 218<br />

static variables, 308<br />

Find comm<strong>and</strong>, Edit menu, 153<br />

Find in Reference comm<strong>and</strong>, Help menu, 158<br />

Find Next comm<strong>and</strong>, Edit menu, 153<br />

Flanagan, Mary, 20<br />

Flash, 118<br />

history of Flash, 37<br />

Float class, Point2D<br />

programming algorithmic tree, 47<br />

float data type, 309<br />

rounding on converting float to int, 184<br />

using float type to return float, 179, 662<br />

float function<br />

bug in using, 681<br />

float keyword, 309<br />

floor function, 741<br />

flowers<br />

Triangle Flower sketch, 351, 352<br />

FlyThrough sketch, 724<br />

focus events, 139<br />

focused property, 678<br />

fonts<br />

Create Font comm<strong>and</strong>, Tools menu, 155<br />

createFont function, 738<br />

incompatibility of installed fonts, 155<br />

loadFont function, 738, 739<br />

PFont section, <strong>Processing</strong> API, 737<br />

textFont function, 738<br />

for loop, 87–89<br />

continuous radial gradient, 88<br />

curly braces { }, 62<br />

doubly r<strong>and</strong>omized particle line, 182<br />

Drawing Application example, 597<br />

for-each loop, 89<br />

HoneyComb sketch, 688<br />

how <strong>and</strong> when for loops render, 486<br />

local scope, 87, 88<br />

mail merge program, 90<br />

Many Bouncing Balls program, 94, 95<br />

multiple points in line sketch using, 178–179<br />

multiple r<strong>and</strong>omized particle lines, 183<br />

printRecipe method, 314<br />

springing, 510<br />

for-each loop, 89<br />

Format for Discourse comm<strong>and</strong>, Tools menu, 157<br />

formatting code layout<br />

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

fractions<br />

adding fractions, 749<br />

dividing fractions, 749<br />

multiplying fractions, 748<br />

fragment function, 437<br />

frame rate<br />

animation, 117<br />

default, 538<br />

frameRate function, 79<br />

frames<br />

Interactive Toroid sketch, 668<br />

saveFrame function, 467, 710<br />

frames per second<br />

default, 79<br />

frameworks, 39<br />

Franceschini, Amy, 23<br />

Franke, Herbert W., 15<br />

Frequently Asked Questions comm<strong>and</strong>, 158<br />

From Neg to Pos sketch, 455<br />

frustum, camera, 719<br />

Fry, Ben, 5, 8, 22<br />

full stop character<br />

dot (.) syntax, 62<br />

function signature, 209<br />

functions, 96–103<br />

see also functions, list of; methods<br />

3D functions, 647<br />

adding custom functions, 159<br />

arguments, 34<br />

functions without arguments, 61<br />

color functions, 419–423<br />

continuous programming mode, 159<br />

curly braces { }, 34, 62<br />

curve functions, 267–298<br />

description, 32<br />

display window functions, 440<br />

interface <strong>and</strong> implementation of, 319<br />

magic numbers, 102<br />

methods <strong>and</strong>, 305<br />

multiple versions of, 100<br />

naming conventions, 63<br />

parameterized, 102<br />

parentheses defining, 60

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

Saved successfully!

Ooh no, something went wrong!