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.

INDEX<br />

782<br />

naming conventions/rules, 309<br />

parameters, 310<br />

continuity<br />

curves in geometry, 126<br />

continuous mode, 159–161<br />

continuous radial gradient program, 88<br />

Contrast sketch (using bitwise operations), 448<br />

Control section, <strong>Processing</strong> API, 684–691<br />

Conversion section, <strong>Processing</strong> API, 681<br />

coordinate systems, graphics, 109–111<br />

3D coordinate system, 111<br />

Cartesian coordinate system, 109<br />

local vs. world coordinates, 111<br />

origin, 109<br />

polar coordinate system, 228<br />

registration point, 110<br />

Coordinates section, <strong>Processing</strong> API, 719<br />

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

CORNER mode<br />

imageMode function, 733<br />

rect function, 341<br />

CORNERS mode<br />

imageMode function, 733<br />

rect function, 341<br />

Cornish, Dr. Neil, 130<br />

cos function<br />

creating curves using trig, 256<br />

Drawing Application example, 598<br />

translating rotations, 535<br />

cosine<br />

mnemonic for trig functions, 756<br />

cosine wave, phase shift, 756<br />

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

Create Font dialog box, 155<br />

create method, Cube class, 627, 628<br />

creating custom 3D cube, 628–631<br />

create method, SpinnyCube class, 646<br />

createFont function, 738<br />

Drawing Application example, 592, 594<br />

createGradient function, 426<br />

createGraphics function, 734, 735<br />

createPredatoryTriangle function, 504<br />

createRect function, 641<br />

createSpring function, 513<br />

Creating & Reading section, <strong>Processing</strong> API, 728<br />

crenellation<br />

constructing 3D brick tower, 647, 649<br />

cross-platform functionality, Java, 144<br />

Csuri, Charles, 23<br />

Cube class<br />

constructing brick tower, 647–650<br />

constructors, 627<br />

create method, 627, 628<br />

creating custom 3D cube, 626, 628–631, 634<br />

rotation of cube around XYZ axes, 642<br />

Cube to Pyramid to Cone to Cylinder sketch, 660, 661<br />

cubes<br />

creating custom 3D cube, 625–635<br />

cube to pyramid to cone to cylinder, 657–662<br />

Cubes Contained Within a Cube sketch, 634<br />

drawing cubes sketch, 166<br />

multiple translations example, 620<br />

rotation of cube around XYZ axes, 642<br />

spinning 3D cube, 616<br />

Two Rotating Custom Cubes sketch, 631<br />

cubic curve, 266<br />

curves in geometry, 124<br />

number of turning points in, 125<br />

plot of cubic curve, 267<br />

<strong>Processing</strong> generating, 125<br />

Cubic Grid sketch, 624<br />

curly braces { }, 61<br />

Bouncing Ball program, 79<br />

using in functions, 34<br />

cursor function, 582<br />

cursor PNG images, 594<br />

cursors<br />

built-in cursor icons, 582<br />

Environment section, <strong>Processing</strong> API, 678<br />

curve function, 273–298<br />

Bézier Ellipse sketch, 292, 293, 294<br />

creating elliptical plots, 290<br />

Curve Ellipse sketch, 297<br />

curve() vs. curveVertex(), 289<br />

description, 693<br />

parameters, 281<br />

spline curve using curve function, 281<br />

curveDetail function, 298<br />

curveEllipse function, 298<br />

curvePoint function, 298<br />

curves<br />

arc function, 268–272<br />

Bézier curves, 693<br />

showing anchor <strong>and</strong> control points, 274<br />

bezier function, 273–298<br />

connecting Bézier curves together, 279<br />

controlling curvature, 283<br />

creating curves using polynomials, 262–267<br />

creating curves using trig, 255–262<br />

creating first curve, 246–255<br />

creating hybrid shapes, 365<br />

cubic Bézier curve, 278<br />

cubic curve, 266<br />

curve created from points, 247<br />

curve function, 273–298<br />

curves as particle waves, 260<br />

curveTightness function, 283<br />

damping effect on curves, 257<br />

falling r<strong>and</strong>om bouncing str<strong>and</strong>s, 252<br />

falling r<strong>and</strong>om str<strong>and</strong>s, 250

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

Saved successfully!

Ooh no, something went wrong!