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 />

790<br />

H<br />

haptics, 108<br />

has-a relationship, 324<br />

HATCHING constant, 218, 219<br />

HCI (human-computer interaction), 108<br />

Hébert, Jean-Pierre, 23<br />

height property<br />

stepped radial gradient program, 70<br />

helix<br />

Interactive Toroid sketch, 668, 670<br />

Hello Earth program, 59<br />

Help menu, <strong>Processing</strong> window, 157–158<br />

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

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

Getting Started comm<strong>and</strong>, 157<br />

Reference comm<strong>and</strong>, 158<br />

Troubleshooting comm<strong>and</strong>, 158<br />

Visit <strong>Processing</strong>.org comm<strong>and</strong>, 158<br />

hexadecimal color values<br />

Color Picker dialog, 156<br />

hexadecimal system, 728<br />

hidden files<br />

compiling sketches with, 148<br />

Hide function, 148<br />

high-level languages, 31<br />

meaning of higher-level, 13<br />

Hodos, 17<br />

Hopper, Commodore Grace M., 12<br />

horizontal <strong>and</strong> vertical fade to black, 193<br />

horizontal axis, 109<br />

horizontal fade to black, 191<br />

horizontal line, equation for, 243<br />

horizontal lines generated from points, 187<br />

hour function, 708<br />

House class<br />

creating a neighborhood, 391–396<br />

drawHouse method, 393, 394<br />

using composition, 391<br />

houses<br />

creating a neighborhood, 381–396<br />

Door class, 382–386<br />

Roof class, 389<br />

Window class, 386–389<br />

HSB (hue, saturation, brightness)<br />

Color Modes RGB/HSB sketch, 416<br />

Color Picker dialog, 156<br />

colorMode function, 726<br />

setting color mode, 415<br />

hue function, 422, 423, 728<br />

hue property, 402<br />

hybrid approach<br />

structuring a program using <strong>Processing</strong>, 33<br />

Hybrid Shape sketch, 366, 368<br />

hybrid shapes, creating, 365–368<br />

Hybrid Springy Dude sketch, 518<br />

I<br />

icons<br />

built-in cursor icons, 582<br />

IDE (integrated development environment)<br />

<strong>Processing</strong> as IDE, 30<br />

<strong>Processing</strong> IDE, 144–170<br />

identifiers<br />

naming conventions, 63<br />

if keyword, 79<br />

if . . . else syntax, 80–81<br />

alternative execution paths, 80<br />

Boolean logic, 79<br />

Bouncing Ball program, 79<br />

collision detection, 488<br />

Conditionals section, <strong>Processing</strong> API, 689<br />

curly braces { }, 62<br />

if statement without, 201<br />

Drawing Application example, 598, 601<br />

Final Interactive Button example, 587<br />

if . . . else . . . if statement, 81<br />

invalid syntax for, 202<br />

logical flow of programs, 74<br />

nested if statements, 313<br />

springing, 511, 513<br />

switch statements as alternative, 81<br />

Image (output) section, <strong>Processing</strong> API, 710<br />

image buffer, 735<br />

Image Encryption sketch, 439<br />

image file formats<br />

raster graphics, 115<br />

image function, 733<br />

drawing image to screen, 434<br />

loading <strong>and</strong> resizing images, 435<br />

rendering PImage object to screen, 195<br />

image mapping<br />

P3D mode, 164<br />

using default image mapping, 549<br />

uv coordinates, 549<br />

Image section, <strong>Processing</strong> API, 731, 734<br />

Image Tiling sketch, 435<br />

ImageMap sketch, 701<br />

imageMode function, 733<br />

images, 111–113<br />

24-bit color, 113<br />

adding same name image into data directory, 432<br />

animation, 117–119<br />

bitwise operations, 444<br />

BufferedImage class, Java, 112<br />

DisplayMode class, Java, 111<br />

frame rate, 117<br />

h<strong>and</strong>ling pixel <strong>and</strong> image data, 113<br />

Image Encryption sketch, 439<br />

image manipulation, 432–443<br />

Image Tiling sketch, 435<br />

Load an Image sketch, 433

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

Saved successfully!

Ooh no, something went wrong!