06.01.2013 Views

Learning Processing: A Beginner's Guide to Programming Images ...

Learning Processing: A Beginner's Guide to Programming Images ...

Learning Processing: A Beginner's Guide to Programming Images ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

448 Index<br />

Concatenation 258 , 306 , 324<br />

Conditionals:<br />

boolean expressions 61<br />

boolean variables 71–4<br />

bouncing ball 74–8<br />

description 65–7<br />

if, else, else if 62–4<br />

logical opera<strong>to</strong>rs 67–9<br />

multiple rollovers 69–70<br />

physics 101 , 79–81<br />

Constrain( ) function 65 , 66 , 89<br />

Construc<strong>to</strong>r 125<br />

arguments 131–4<br />

Contains( ) function 429 , 430<br />

Contributed libraries 196–8<br />

Control structure 84<br />

Convolution( ) function 269<br />

Copy( ) 292 , 304<br />

“ CORNER ” mode 6 , 7<br />

Cos( ) function 213<br />

Cosine 212 , 213<br />

CreateFont( ) function 308<br />

CreateImage( ) function 255<br />

Curve vertex 233<br />

Curve( ) 8 , 9<br />

Cus<strong>to</strong>m color ranges 15–16<br />

Dampening eff ect 80<br />

Data 125<br />

types 47<br />

Data input 323<br />

asynchronous requests 339–42<br />

sandbox 352<br />

splitting and joining 324–7<br />

string manipulation 323–4<br />

text analysis 338–9<br />

text fi les, reading and writing 327–33<br />

text parsing 333–8<br />

XML 342–6<br />

XML library, processing 346–9<br />

Yahoo API 349–52<br />

Data streams 353<br />

broadcasting 360–2<br />

client creation 358–9<br />

multi-user communication 362<br />

client 366–7<br />

server 362–5<br />

server and client 368<br />

serial communication 368–71<br />

with handshaking 371–2<br />

with strings 372–4<br />

server creation 354–7<br />

synchronous vs. asynchronous request 353–4<br />

Debugging 191<br />

human being, involvement of 191<br />

println( ) 193–4<br />

simplify 192–3<br />

taking a break 191<br />

Decimal numbers 47<br />

Delimiter 325<br />

Descartes, René 212<br />

Display( ) function 107 , 108 , 155 , 193 , 230 , 245<br />

Displaying text 306–9 , 315–21<br />

Dist( ) function 116 , 117 , 172<br />

Do-while loop 85<br />

Doorbell 382<br />

with Minim 385–6<br />

with Sonia 382–4<br />

Dot syntax 195 , 127<br />

Double-buff ering process 36<br />

Double-threshold algorithm 391<br />

Draw( ) function 32–4 , 36 , 37 , 38 , 72 , 75 , 90 , 93 , 94 , 96 ,<br />

103 , 105 , 107 , 110 , 114 , 123 , 179 , 183 , 227 , 255 ,<br />

307 , 310<br />

Draw( ) loop 51 , 150 , 275<br />

DrawBlackCircle( ) function 105 , 109<br />

DrawCircle( ) 218<br />

DrawSpaceShip( ) function 104<br />

DrawZoog( ) function 118<br />

Duration( ) function 281<br />

Eclipse 434 , 435<br />

Ellipse 5<br />

with variables 55<br />

Ellipse( ) function 24 , 109 , 227 , 230<br />

Encapsulation 407–40<br />

EndRaw( ) function 399<br />

EndRecord( ) function 398 , 399<br />

EndShape( ) function 231 , 233<br />

Equals( ) function 305 , 323<br />

Error 23–4<br />

exception handling, in Java 432–3<br />

messages 437–44<br />

Exit conditions 88–90<br />

Expand( ) function 157<br />

Export Application 395–6<br />

Exporting 395<br />

high-resolution PDFs 397–400<br />

images/saveFrame( ) 400–1<br />

MovieMaker 401–3<br />

stand-alone applications 395–7<br />

web applets 395<br />

Extends PApplet 423<br />

Fac<strong>to</strong>rial 217<br />

Fil( ) function 104

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

Saved successfully!

Ooh no, something went wrong!