448 Index
Concatenation 258 , 306 , 324
Conditionals:
boolean expressions 61
boolean variables 71–4
bouncing ball 74–8
description 65–7
if, else, else if 62–4
logical operators 67–9
multiple rollovers 69–70
physics 101 , 79–81
Constrain( ) function 65 , 66 , 89
Constructor 125
arguments 131–4
Contains( ) function 429 , 430
Contributed libraries 196–8
Control structure 84
Convolution( ) function 269
Copy( ) 292
, 304
“ CORNER ” mode 6 , 7
Cos( ) function 213
Cosine 212 , 213
CreateFont( ) function 308
CreateImage( ) function 255
Curve vertex 233
Curve( ) 8 , 9
Custom color ranges 15–16
Dampening eff ect 80
Data 125
types 47
Data input 323
asynchronous requests 339–42
sandbox 352
splitting and joining 324–7
string manipulation 323–4
text analysis
338–9
text fi les, reading and writing
327–33
text parsing 333–8
XML 342–6
XML library, processing 346–9
Yahoo API 349–52
Data streams 353
broadcasting 360–2
client creation 358–9
multi-user communication 362
client 366–7
server 362–5
server and client 368
serial communication 368–71
with handshaking 371–2
with strings 372–4
server creation 354–7
synchronous vs. asynchronous request 353–4
Debugging 191
human being, involvement of
191
println( ) 193–4
simplify
192–3
taking a break 191
Decimal numbers 47
Delimiter 325
Descartes, René 212
Display( ) function 107 , 108 , 155 , 193 , 230 , 245
Displaying text 306–9 , 315–21
Dist( ) function 116 , 117 , 172
Do-while loop 85
Doorbell 382
with Minim 385–6
with Sonia 382–4
Dot syntax 195 , 127
Double-buff ering process 36
Double-threshold algorithm 391
Draw( ) function 32–4 , 36 , 37 ,
38 , 72 , 75 , 90 , 93 , 94 , 96 ,
103 , 105 , 107 , 110 , 114 , 123 , 179 , 183 , 227 , 255 ,
307 , 310
Draw( ) loop 51 , 150 , 275
DrawBlackCircle( ) function 105 , 109
DrawCircle( ) 218
DrawSpaceShip( ) function 104
DrawZoog( ) function 118
Duration( ) function 281
Eclipse
434 , 435
Ellipse 5
with variables 55
Ellipse( ) function 24 , 109 ,
227 , 230
Encapsulation 407–40
EndRaw( ) function 399
EndRecord( ) function 398 , 399
EndShape( ) function 231 , 233
Equals( ) function 305 , 323
Error 23–4
exception handling, in Java 432–3
messages 437–44
Exit conditions 88–90
Expand( ) function 157
Export Application 395–6
Exporting 395
high-resolution PDFs 397–400
images/saveFrame( ) 400–1
MovieMaker 401–3
stand-alone applications 395–7
web applets 395
Extends PApplet 423
Factorial 217
Fil( ) function 104