Processing: a programming handbook for visual designers and artists
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Cambridge, Mass. [u.a.]
MIT Press
2007
|
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | XXVI, 710 S. Ill., graph. Darst. |
ISBN: | 9780262182621 0262182629 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV023040449 | ||
003 | DE-604 | ||
005 | 20130620 | ||
007 | t| | ||
008 | 071207s2007 xx ad|| |||| 00||| eng d | ||
020 | |a 9780262182621 |9 978-0-262-18262-1 | ||
020 | |a 0262182629 |9 0-262-18262-9 | ||
035 | |a (OCoLC)255683470 | ||
035 | |a (DE-599)BVBBV023040449 | ||
040 | |a DE-604 |b ger |e rakwb | ||
041 | 0 | |a eng | |
049 | |a DE-Aug4 |a DE-29T |a DE-473 |a DE-522 |a DE-634 |a DE-703 |a DE-B170 |a DE-83 |a DE-898 |a DE-11 |a DE-525 |a DE-1049 |a DE-92 |a DE-91 |a DE-355 |a DE-91G |a DE-2070s | ||
050 | 0 | |a QA76.6 | |
082 | 0 | |a 005.1 |2 22 | |
084 | |a ST 320 |0 (DE-625)143657: |2 rvk | ||
084 | |a DAT 366f |2 stub | ||
084 | |a DAT 754f |2 stub | ||
084 | |a DAT 750f |2 stub | ||
100 | 1 | |a Reas, Casey |d 1970- |e Verfasser |0 (DE-588)132907763 |4 aut | |
245 | 1 | 0 | |a Processing |b a programming handbook for visual designers and artists |c Casey Reas ; Ben Fry |
264 | 1 | |a Cambridge, Mass. [u.a.] |b MIT Press |c 2007 | |
300 | |a XXVI, 710 S. |b Ill., graph. Darst. | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
650 | 4 | |a Art et technologie | |
650 | 7 | |a Art et technologie |2 ram | |
650 | 4 | |a Art numérique - Logiciels | |
650 | 4 | |a Art par ordinateur | |
650 | 7 | |a Art par ordinateur |2 ram | |
650 | 4 | |a Infographie - Logiciels | |
650 | 7 | |a Infographie - Logiciels |2 ram | |
650 | 7 | |a Ordinateurs - Programmation |2 ram | |
650 | 4 | |a Programmation (Informatique) | |
650 | 0 | 7 | |a Computerkunst |0 (DE-588)4010453-9 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Visuelle Medien |0 (DE-588)4188423-1 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Programmierung |0 (DE-588)4076370-5 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a Visuelle Medien |0 (DE-588)4188423-1 |D s |
689 | 0 | 1 | |a Programmierung |0 (DE-588)4076370-5 |D s |
689 | 0 | |5 DE-604 | |
689 | 1 | 0 | |a Computerkunst |0 (DE-588)4010453-9 |D s |
689 | 1 | 1 | |a Programmierung |0 (DE-588)4076370-5 |D s |
689 | 1 | |5 DE-604 | |
700 | 1 | |a Fry, Ben |e Verfasser |0 (DE-588)135627265 |4 aut | |
856 | 4 | 2 | |m Digitalisierung UB Bamberg |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=016244006&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
943 | 1 | |a oai:aleph.bib-bvb.de:BVB01-016244006 |
Datensatz im Suchindex
_version_ | 1817499779081437184 |
---|---|
adam_text |
Contents
xix
Foreword
279
Motion
1:
Lines, Curves
xxi
Preface
291
Motion
2:
Machine, Organism
301
Data
4:
Arrays
1
Processing.
315
Image
2:
Animation
9
Using Processing
321
Image
3:
Pixels
327
Typography
2:
Motion
17
Structure i: Code Elements
333
Typography
3:
Response
23
Shape i: Coordinates, Primitives
337
Color
2:
Components
37
Datai:
Variables
347
Image
4:
Filter, Blend, Copy, Mask
43
Math i: Arithmetic, Functions
355
Image
5:
Image Processing
51
Controli: Decisions
367
Output i: Images
61
Control: Repetition
371
Synthesis
3:
Motion and Arrays
69
Shape
2:
Vertices
377
Interviews
3:
Animation, Video
79
Math
2:
Curves
85
Colon: Color by Numbers
395
Structure
4:
Objects I
95
Image i: Display, Tint
413
Drawing
2:
Kinetic Forms
101
Data
2:
Text
421
Output
2:
File Export
105
Data
3:
Conversion, Objects
427
Input
6:
File Import
111
Typography l: Display
435
Input
7:
Interface
117
Math
3:
Trigonometry
453
Structures: ObjectsII
127
Math
4:
Random
461
Simulatei:
Biology
133
Transform i: Translate, Matrices
477
Simulate
2:
Physics
137
Transform
2:
Rotate, Scale
495
Synthesis
4:
Structure, Interface
145
Development i: Sketching, Techniques
501
Interviews
4:
Performance, Install
149
Synthesis i: Form and Code
155
Interviews l: Print
519
Extension i: Continuing
.
525
Extension
2: 3D
173
Structure
2:
Continuous
547
Extension
3:
Vision
181
Structure
3:
Functions
563
Extension
4:
Network
197
Shape
3:
Parameters, Recursion
579
Extension
5:
Sound
205
Input l: Mouse I
603
Extension
6:
Print
217
Drawing i: Static Forms
617
Extension
7:
Mobile
223
Input
2:
Keyboard
633
Extension
8:
Electronics
229
Input
3:
Events
237
Input
4:
Mouse II
661
Appendixes
245
Input
5:
Time, Date
693
Related Media
251
Development
2:
Iteration, Debugging
699
Glossary
255
Synthesis
2:
Input and Response
703
Code Index
261
Interviews
2:
Software, Web
705
Index
vii
Contents
by category
xix
Foreword
xxi
Preface
l Processing
.
9
Using Processing
85
Colori:
Color by Numbers
337
Color
2:
Components
51
Controli: Decisions
61
Control: Repetition
37
Datai:
Variables
101
Data
2:
Text
105
Data3: Conversion, Objects
301
Data
4:
Arrays
145
Development i: Sketching, Techniques
251
Development
2:
Iteration, Debugging
217
Drawing i: Static Forms
413
Drawing
2:
Kinetic Forms
95
Image i: Display, Tint
315
Image
2:
Animation
321
Image
3:
Pixels
347
Image
4:
Filter, Blend, Copy, Mask
355
Image
5:
Image Processing
205
Input
1:
Mouse I
223
Input
2:
Keyboard
229
Input
3:
Events
237
Input
4:
Mouse II
245
Input
5:
Time, Date
427
Input
6:
File Import
435
Input
7:
Interface
43
Mathi: Arithmetic, Functions
79
Math
2:
Curves
117
Math3: Trigonometry
127
Math
4:
Random
279
Motion l: Lines, Curves
291
Motion
2:
Machine, Organism
367
Output l: Images
421
Output
2:
File Export
23
Shape i: Coordinates, Primitives
69
Shape
2:
Vertices
197
Shape
3:
Parameters, Recursion
461
Simulatei:
Biology
477
Simulate
2:
Physics
17
Structurel: Code
Elements
173
Structure
2:
Continuous
181
Structure
3:
Functions
395
Structure
4:
Objects I
453
Structure
5:
Objects II
149
Synthesis l: Form and Code
255
Synthesis
2:
Input and Response
371
Synthesis
3:
Motion and Arrays
495
Synthesis
4:
Structure, Interface
133
Transformi:
Translate,Matrices
137
Transform
2:
Rotate, Scale
111 Typography l: Display
327
Typography
2:
Motion
333
Typography
3:
Response
155
Interviews
1:
Print
261
Interviews
2:
Software, Web
377
Interviews
3:
Animation, Video
501
Interviews
4:
Performance, Installation
519
Extension l: Continuing
.
525
Extension
2: 3D
547
Extension
3:
Vision
563
Extension
4:
Network
579
Extension
5:
Sound
603
Extension
6:
Print
617
Extension?: Mobile
633
Extension
8:
Electronics
661
Appendixes
693
Related Media
699
Glossary
703
Code Index
705
Index
Extended contents
xix
Foreword by John Maeda
xxi
Preface
xxi
Contents
xxii
How to read this book
xxiii
Casey's introduction
xxiv
Ben's introduction
xxv
Acknowledgments
1
Processing.
1
Software
3
Literacy
4
Open
4
Education
6
Network
7
Context
9
Using Processing
9
Download, Install
9
Environment
10
Export
11
Example walk-through
16
Reference
17
Structurel: Code
Elements
17
Comments
II, I*
*/
18
Functions
Expressions, Statements
18
20
20
20
Case sensitivity
Whitespace
Console
printQ, println()
23
Shape
і:
Coordinates, Primitives
23
Coordinates
size()
25
Primitive shapes
point(), line(),
triangle(), quad(), rect(),
ellipse(), bezier()
31
Drawing order
31
Gray values
background(
),
fill(),strokeO,
noFill(), noStroke()
33
Drawing attributes
smooth
0,
rioSmoothO,
strokeWeight(), strokeCapO,
strokeDoin(
)
34
Drawing modes
ellipseMode(), rectMode()
37
Datai:
Variables
37
Data types
int,
float, boolean,
true, false
38
Variables
40
Processing variables
width, height
43
Mathi: Arithmetic, Functions
43
Arithmetic
+ , -, *, /, %
47
Operator precedence, Grouping
О
48
Shortcuts
++, --, +=, -=, *=,
l=>
-
49
Constraining numbers
ceilO, floor
О
,
roundO,
min(), max()
51
Controll:
Decisions
51
Relational expressions
>, <, >=, <=, ==,
53
Conditionals
if, else,
{}
57
Logical operators
101
Data
2:
Text
102
Characters
char
103
Words, Sentences
String
105
Data
3:
Conversion, Objects
105
Data conversion
61
Control: Repetition
booleanO, byte()j charO,
61
Iteration
intO, floatQ, str()
for
107
Objects
65
Nested iteration
67
Formatting code blocks
PImage.width, PImage
.
height
String.length,
69
Shape
2:
Vertices
String.startsWith(),
69
Vertex
String.endsWith();
beginShape(
),
endShapeQ,
String.charAt(),
vertex()
String
.
t
oCharArray
(),
71
Points, Lines
String. subStringO,
72
Shapes
String.toLowerCasei
),
74
Curves
String.toUpperCa
se
(),
curveVertexO, bezierVertex(
)
String.equals()
79
Math
2:
Curves
111
Typography i: Display
79
ExDonents. Roots
112
Loadins
fonts. Drawins text
sq(), sqrtQ, pow()
80
Normalizing, Mapping
norm(), lerpO, map()
83
Simple curves
114
85
Colon: Color by Numbers
86
Setting colors
117
89
Color data
117
color, color
()
89
RGB,
HSB
colorMode(
)
93
Hexadecimal
123
95
Image i: Display, Tint
96
Display
127
PImage, loadlmage(), image()
127
97
Image color, Transparency
tint(), noTintO
130
PFont, loadFontO,
textFontO, text()
Text attributes
textSize(), textLeadingO,
textAlignO, textWidth()
Math
3:
Trigonometry
Angles, Waves
PI, QUARTER_PI, HALF_PI,
TWO_PI, sin(), cos(),
radiansO, degrees()
Circles, Arcs, Spirals
arc()
Math
4:
Random
Unexpected numbers
random(), randomSeed()
Noise
noise(), noiseSeed()
133
Transformi: Translate,
Matrices
133 Translation
translate(
)
134 Controlling
transformations
pushMatrix(
),
popMatrixQ
137
Transform
2:
Rotate, Scale
137
Rotation,
Scaling
rotate(), scaleQ
139
Combining
transformations
142
New
coordinates
181
Structure
3:
Functions
182
Abstraction
183
Creating functions
void
193
Function overloading
194
Calculating and returning values
return
197
Shape
3:
Parameters, Recursion
197
Parameterized form
201
Recursion
145
Development l: Sketching, Techniques
145
Sketching software
146
Programming techniques
149
Synthesis i: Form and Code
150
Collage Engine
151
Riley Waves
152
Wilson Grids
153
Mandelbrot Set
155
Interviews i: Print
157
Jared
Tárbeli.
Fractal.Invaders, Substrate
161
Martin
Wattenberg.
Shape of Song
165
James Paterson.
The Objectivity Engine
169
LettError.
RandomFont Beowolf
173
Structure
2:
Continuous
173
Continuous evaluation
draw(), frameRateQ,
frameCount
177
Controlling the flow
setupO, noLoopO,
178
Variable scope
205
Input i: Mouse I
205
Mouse data
mouseX, mouseY,
pmouseX, pmouseY
212
Mouse buttons
mousePressedj mouseButton
213
Cursor icon
cursorQ, noCursor()
217
Drawing i: Static Forms
218
Simple tools
221
Drawing with images
223
Input
2:
Keyboard
224
Keyboard data
keyPressed, key
227
Coded keys
keyCode
229
Input
3:
Events
229
Mouse events
mousePressed(
),
mouseReleased(),
mouseMoved(
),
mouseDragged(
)
232
Key events
keyPressed(
)
j keyReleased(
)
235
Controlling the flow
loopO, redraw()
237
Input
4:
Mouse II
237
Constrain
constrainO
238
Distance
dist()
239
Easing
abs()
242
Speed
243
Orientation
atan2()
245
Inputs: Time,Da
245
Seconds.
Minut
249
secondo, minuteO,
hour
O j
millisO
Date
day(), month(), year()
251
Development
2:
Iteration, Debugging
251
Iteration
252
Debugging
255
Synthesis
2:
Input and Response
256
Tennis
257
Cursor. Peter Cho
258
Typing
259
Banded Clock. Golan Levin
261
Interviews
2:
Software, Web
263
Ed Burton. Sodaconstructor
267
Josh On. They Rule
271
Jürg
Lehni.
Hektor
and Scriptographer
275
Auriea Harvey and Michael Samyn.
The Endless Forest
279
Motion i: Lines, Curves
279
Controlling motion
284
Moving along curves
287
Motion through transformation
291
Motion
2:
Machine, Organism
291
Mechanical motion
295
Organic motion
301
Data
4:
Arrays
303
Using arrays
Array,
[],
new, Array.length
306
Storing mouse data
309
Array functions
append(), shortenO,
expand(), arraycopyO
312
Two-dimensional arrays
315
Image
2:
Animation
316
Sequential images
319
Images in motion
321
Image
3:
Pixels
321
Reading pixels
get()
324
Writing pixels
set()
327
Typography
2:
Motion
327
Words in motion
331
Letters in motion
333
Typography
3:
Response
333
Responsive words
335
Responsive letters
337
Color
2:
Components
337
Extracting color
red(), blue(), green(),
alpha(), hue(), saturation(
),
brightnessO,
341
Dynamic color palettes
347
Image
4:
Filter, Blend, Copy, Mask
347
Filtering, Blending
filterO, blendO,
blendColorO
353
Copying pixels
copy
()
354
Masking
mask(
)
355
Image
5:
Image Processing
356
Pixels
pixels[], loadPixels(
),
updatePixels(
),
createlmagei
)
359
Pixel components
360
Convolution
364
Image as data
367
Output i: Images
368
Saving images
save()
369
Saving sequential images
saveFrameQ
371
Synthesis
3:
Motion and Arrays
372
Centipede. Ariel Malka
Chronodraw. Andreas Gysin
AmoebaAbstracto3. Marius Watz
Mr.
Roboto. Leon
Hong
373
374
375
421
Output
2:
File Export
421
Formatting data
nf()
422
Exporting files
saveStrings(
),
PrintWriter,
createWriter(
),
PrintWriter.flush(),
PrintWriter.close(
),
exit()
427
Input
6:
File Import
428
Loading numbers
loadStrings(
),
split(), splitTokensQ
431
Loading characters
WHITESPACE
435
Input
7:
Interface
436
Rollover, Button, Dragging
442
Check boxes, Radio buttons
448
Scrollbar
377
Interviews
3:
Animation, Video
379
Motion Theory. R.E.M. "Animal"
383
Bob Sabiston. Waking Life
387
Jennifer
Steinkamp.
Eye Catching
391
Semiconductor. The Mini-Epoch Series
395
Structure
4:
Objects I
395
Object-oriented programming
398
Using classes and objects
class, Object
406
Arrays of objects
409
Multiple files
413
Drawing
2:
Kinetic Forms
414
Active tools
416
Active drawings
453
Structure
5:
Objects II
453
Multiple constructors
454
Composite objects
456
Inheritance
extends, super
461
Simulatei:
Biology
461
Cellular automata
469
Autonomous agents
477
Simulate
2:
Physics
477
Motion simulation
481
Particle systems
487
Springs
495
Synthesis
4:
Structure, Interface
496
WithoutTitle.
Lia
497
Pond. William Ngan
498
Swingtree. ART+COM,
Andreas
Schlegel
499
SodaProcessing. Ed Burton
501
Interviews
4:
Performance, Installation
503
SUE.C. Mini Movies
507
Chris
Csikszentmihályi.
DJ
I, Robot Sound System
511
Golan Levin, Zachary Lieberman.
Messa di Voce
515 Marc Hansen.
Listening Post
519
Extension
і:
Continuing.
519
Extending Processing
521
Processing and Java
522
Other programming languages
525
Extension
2: 3D.
Simon Greenwold
525
A short history of
3D
software
526 3D
form
531
Camera
532
Material and lights
536
Tools for
3D
538
Conclusion
539
Code
545
Resources
547
Extension
3:
Vision. Golan Levin
547
Computer vision in interactive art
549
Elementary computer vision
techniques
552
Computer vision in the physical world
554
Tools for computer vision
555
Conclusion
556
Code
561
Resources
563
Extension
4:
Network.
Alexander R. Galloway
563
The Internet and the arts
565
Internet protocols and concepts
569
Network tools
571
Conclusion
572
Code
576
Resources
579
Extensions: Sound.R.LukeDuBois
579
Music and sound programming
in the aits
582
Sound and musical informatics
584
Digital representation of sound
and music
588
Music as information
591
Tools for sound programming
592
Conclusion
593
Code
599
Resources
603
Extension
6:
Print. Casey
Reas
603
Print and computers
606
High-resolution file export
608
Production
612
Conclusion
613
Code
615
Resources
617
Extension
7:
Mobile. Francis Li
617
Mobile software applications
619
The mobile platform
622
Programming for mobile phones
624
Mobile programming platforms
625
Conclusion
626
Code
631
Resources
633
Extension
8:
Electronics.
Hernando Barragán
and Casey
Reas
633
Electronics in the arts
635
Electricity
637
Components
638
Circuits
639
Microcontrollers and I/O boards
642
Sensors and communication
646
Controlling physical media
648
Conclusion
649
Code
658
Resources
661
Appendix
A:
Order
of Operations
663
Appendix
В:
Reserved Words
664
Appendix C: ASCII, Unicode
669
Appendix D: Bit, Binary, Hex
673
Appendix E: Optimization
679
Appendix F: Programming Languages
686
Appendix G: Code Comparison
693
Related Media
699
Glossary
703
Code Index
705
Index |
adam_txt |
Contents
xix
Foreword
279
Motion
1:
Lines, Curves
xxi
Preface
291
Motion
2:
Machine, Organism
301
Data
4:
Arrays
1
Processing.
315
Image
2:
Animation
9
Using Processing
321
Image
3:
Pixels
327
Typography
2:
Motion
17
Structure i: Code Elements
333
Typography
3:
Response
23
Shape i: Coordinates, Primitives
337
Color
2:
Components
37
Datai:
Variables
347
Image
4:
Filter, Blend, Copy, Mask
43
Math i: Arithmetic, Functions
355
Image
5:
Image Processing
51
Controli: Decisions
367
Output i: Images
61
Control: Repetition
371
Synthesis
3:
Motion and Arrays
69
Shape
2:
Vertices
377
Interviews
3:
Animation, Video
79
Math
2:
Curves
85
Colon: Color by Numbers
395
Structure
4:
Objects I
95
Image i: Display, Tint
413
Drawing
2:
Kinetic Forms
101
Data
2:
Text
421
Output
2:
File Export
105
Data
3:
Conversion, Objects
427
Input
6:
File Import
111
Typography l: Display
435
Input
7:
Interface
117
Math
3:
Trigonometry
453
Structures: ObjectsII
127
Math
4:
Random
461
Simulatei:
Biology
133
Transform i: Translate, Matrices
477
Simulate
2:
Physics
137
Transform
2:
Rotate, Scale
495
Synthesis
4:
Structure, Interface
145
Development i: Sketching, Techniques
501
Interviews
4:
Performance, Install
149
Synthesis i: Form and Code
155
Interviews l: Print
519
Extension i: Continuing
.
525
Extension
2: 3D
173
Structure
2:
Continuous
547
Extension
3:
Vision
181
Structure
3:
Functions
563
Extension
4:
Network
197
Shape
3:
Parameters, Recursion
579
Extension
5:
Sound
205
Input l: Mouse I
603
Extension
6:
Print
217
Drawing i: Static Forms
617
Extension
7:
Mobile
223
Input
2:
Keyboard
633
Extension
8:
Electronics
229
Input
3:
Events
237
Input
4:
Mouse II
661
Appendixes
245
Input
5:
Time, Date
693
Related Media
251
Development
2:
Iteration, Debugging
699
Glossary
255
Synthesis
2:
Input and Response
703
Code Index
261
Interviews
2:
Software, Web
705
Index
vii
Contents
by category
xix
Foreword
xxi
Preface
l Processing
.
9
Using Processing
85
Colori:
Color by Numbers
337
Color
2:
Components
51
Controli: Decisions
61
Control: Repetition
37
Datai:
Variables
101
Data
2:
Text
105
Data3: Conversion, Objects
301
Data
4:
Arrays
145
Development i: Sketching, Techniques
251
Development
2:
Iteration, Debugging
217
Drawing i: Static Forms
413
Drawing
2:
Kinetic Forms
95
Image i: Display, Tint
315
Image
2:
Animation
321
Image
3:
Pixels
347
Image
4:
Filter, Blend, Copy, Mask
355
Image
5:
Image Processing
205
Input
1:
Mouse I
223
Input
2:
Keyboard
229
Input
3:
Events
237
Input
4:
Mouse II
245
Input
5:
Time, Date
427
Input
6:
File Import
435
Input
7:
Interface
43
Mathi: Arithmetic, Functions
79
Math
2:
Curves
117
Math3: Trigonometry
127
Math
4:
Random
279
Motion l: Lines, Curves
291
Motion
2:
Machine, Organism
367
Output l: Images
421
Output
2:
File Export
23
Shape i: Coordinates, Primitives
69
Shape
2:
Vertices
197
Shape
3:
Parameters, Recursion
461
Simulatei:
Biology
477
Simulate
2:
Physics
17
Structurel: Code
Elements
173
Structure
2:
Continuous
181
Structure
3:
Functions
395
Structure
4:
Objects I
453
Structure
5:
Objects II
149
Synthesis l: Form and Code
255
Synthesis
2:
Input and Response
371
Synthesis
3:
Motion and Arrays
495
Synthesis
4:
Structure, Interface
133
Transformi:
Translate,Matrices
137
Transform
2:
Rotate, Scale
111 Typography l: Display
327
Typography
2:
Motion
333
Typography
3:
Response
155
Interviews
1:
Print
261
Interviews
2:
Software, Web
377
Interviews
3:
Animation, Video
501
Interviews
4:
Performance, Installation
519
Extension l: Continuing
.
525
Extension
2: 3D
547
Extension
3:
Vision
563
Extension
4:
Network
579
Extension
5:
Sound
603
Extension
6:
Print
617
Extension?: Mobile
633
Extension
8:
Electronics
661
Appendixes
693
Related Media
699
Glossary
703
Code Index
705
Index
Extended contents
xix
Foreword by John Maeda
xxi
Preface
xxi
Contents
xxii
How to read this book
xxiii
Casey's introduction
xxiv
Ben's introduction
xxv
Acknowledgments
1
Processing.
1
Software
3
Literacy
4
Open
4
Education
6
Network
7
Context
9
Using Processing
9
Download, Install
9
Environment
10
Export
11
Example walk-through
16
Reference
17
Structurel: Code
Elements
17
Comments
II, I*
*/
18
Functions
Expressions, Statements
18
20
20
20
Case sensitivity
Whitespace
Console
printQ, println()
23
Shape
і:
Coordinates, Primitives
23
Coordinates
size()
25
Primitive shapes
point(), line(),
triangle(), quad(), rect(),
ellipse(), bezier()
31
Drawing order
31
Gray values
background(
),
fill(),strokeO,
noFill(), noStroke()
33
Drawing attributes
smooth
0,
rioSmoothO,
strokeWeight(), strokeCapO,
strokeDoin(
)
34
Drawing modes
ellipseMode(), rectMode()
37
Datai:
Variables
37
Data types
int,
float, boolean,
true, false
38
Variables
40
Processing variables
width, height
43
Mathi: Arithmetic, Functions
43
Arithmetic
+ , -, *, /, %
47
Operator precedence, Grouping
О
48
Shortcuts
++, --, +=, -=, *=,
l=>
-
49
Constraining numbers
ceilO, floor
О
,
roundO,
min(), max()
51
Controll:
Decisions
51
Relational expressions
>, <, >=, <=, ==,
53
Conditionals
if, else,
{}
57
Logical operators
101
Data
2:
Text
102
Characters
char
103
Words, Sentences
String
105
Data
3:
Conversion, Objects
105
Data conversion
61
Control: Repetition
booleanO, byte()j charO,
61
Iteration
intO, floatQ, str()
for
107
Objects
65
Nested iteration
67
Formatting code blocks
PImage.width, PImage
.
height
String.length,
69
Shape
2:
Vertices
String.startsWith(),
69
Vertex
String.endsWith();
beginShape(
),
endShapeQ,
String.charAt(),
vertex()
String
.
t
oCharArray
(),
71
Points, Lines
String. subStringO,
72
Shapes
String.toLowerCasei
),
74
Curves
String.toUpperCa
se
(),
curveVertexO, bezierVertex(
)
String.equals()
79
Math
2:
Curves
111
Typography i: Display
79
ExDonents. Roots
112
Loadins
fonts. Drawins text
sq(), sqrtQ, pow()
80
Normalizing, Mapping
norm(), lerpO, map()
83
Simple curves
114
85
Colon: Color by Numbers
86
Setting colors
117
89
Color data
117
color, color
()
89
RGB,
HSB
colorMode(
)
93
Hexadecimal
123
95
Image i: Display, Tint
96
Display
127
PImage, loadlmage(), image()
127
97
Image color, Transparency
tint(), noTintO
130
PFont, loadFontO,
textFontO, text()
Text attributes
textSize(), textLeadingO,
textAlignO, textWidth()
Math
3:
Trigonometry
Angles, Waves
PI, QUARTER_PI, HALF_PI,
TWO_PI, sin(), cos(),
radiansO, degrees()
Circles, Arcs, Spirals
arc()
Math
4:
Random
Unexpected numbers
random(), randomSeed()
Noise
noise(), noiseSeed()
133
Transformi: Translate,
Matrices
133 Translation
translate(
)
134 Controlling
transformations
pushMatrix(
),
popMatrixQ
137
Transform
2:
Rotate, Scale
137
Rotation,
Scaling
rotate(), scaleQ
139
Combining
transformations
142
New
coordinates
181
Structure
3:
Functions
182
Abstraction
183
Creating functions
void
193
Function overloading
194
Calculating and returning values
return
197
Shape
3:
Parameters, Recursion
197
Parameterized form
201
Recursion
145
Development l: Sketching, Techniques
145
Sketching software
146
Programming techniques
149
Synthesis i: Form and Code
150
Collage Engine
151
Riley Waves
152
Wilson Grids
153
Mandelbrot Set
155
Interviews i: Print
157
Jared
Tárbeli.
Fractal.Invaders, Substrate
161
Martin
Wattenberg.
Shape of Song
165
James Paterson.
The Objectivity Engine
169
LettError.
RandomFont Beowolf
173
Structure
2:
Continuous
173
Continuous evaluation
draw(), frameRateQ,
frameCount
177
Controlling the flow
setupO, noLoopO,
178
Variable scope
205
Input i: Mouse I
205
Mouse data
mouseX, mouseY,
pmouseX, pmouseY
212
Mouse buttons
mousePressedj mouseButton
213
Cursor icon
cursorQ, noCursor()
217
Drawing i: Static Forms
218
Simple tools
221
Drawing with images
223
Input
2:
Keyboard
224
Keyboard data
keyPressed, key
227
Coded keys
keyCode
229
Input
3:
Events
229
Mouse events
mousePressed(
),
mouseReleased(),
mouseMoved(
),
mouseDragged(
)
232
Key events
keyPressed(
)
j keyReleased(
)
235
Controlling the flow
loopO, redraw()
237
Input
4:
Mouse II
237
Constrain
constrainO
238
Distance
dist()
239
Easing
abs()
242
Speed
243
Orientation
atan2()
245
Inputs: Time,Da
245
Seconds.
Minut
249
secondo, minuteO,
hour
O j
millisO
Date
day(), month(), year()
251
Development
2:
Iteration, Debugging
251
Iteration
252
Debugging
255
Synthesis
2:
Input and Response
256
Tennis
257
Cursor. Peter Cho
258
Typing
259
Banded Clock. Golan Levin
261
Interviews
2:
Software, Web
263
Ed Burton. Sodaconstructor
267
Josh On. They Rule
271
Jürg
Lehni.
Hektor
and Scriptographer
275
Auriea Harvey and Michael Samyn.
The Endless Forest
279
Motion i: Lines, Curves
279
Controlling motion
284
Moving along curves
287
Motion through transformation
291
Motion
2:
Machine, Organism
291
Mechanical motion
295
Organic motion
301
Data
4:
Arrays
303
Using arrays
Array,
[],
new, Array.length
306
Storing mouse data
309
Array functions
append(), shortenO,
expand(), arraycopyO
312
Two-dimensional arrays
315
Image
2:
Animation
316
Sequential images
319
Images in motion
321
Image
3:
Pixels
321
Reading pixels
get()
324
Writing pixels
set()
327
Typography
2:
Motion
327
Words in motion
331
Letters in motion
333
Typography
3:
Response
333
Responsive words
335
Responsive letters
337
Color
2:
Components
337
Extracting color
red(), blue(), green(),
alpha(), hue(), saturation(
),
brightnessO,
341
Dynamic color palettes
347
Image
4:
Filter, Blend, Copy, Mask
347
Filtering, Blending
filterO, blendO,
blendColorO
353
Copying pixels
copy
()
354
Masking
mask(
)
355
Image
5:
Image Processing
356
Pixels
pixels[], loadPixels(
),
updatePixels(
),
createlmagei
)
359
Pixel components
360
Convolution
364
Image as data
367
Output i: Images
368
Saving images
save()
369
Saving sequential images
saveFrameQ
371
Synthesis
3:
Motion and Arrays
372
Centipede. Ariel Malka
Chronodraw. Andreas Gysin
AmoebaAbstracto3. Marius Watz
Mr.
Roboto. Leon
Hong
373
374
375
421
Output
2:
File Export
421
Formatting data
nf()
422
Exporting files
saveStrings(
),
PrintWriter,
createWriter(
),
PrintWriter.flush(),
PrintWriter.close(
),
exit()
427
Input
6:
File Import
428
Loading numbers
loadStrings(
),
split(), splitTokensQ
431
Loading characters
WHITESPACE
435
Input
7:
Interface
436
Rollover, Button, Dragging
442
Check boxes, Radio buttons
448
Scrollbar
377
Interviews
3:
Animation, Video
379
Motion Theory. R.E.M. "Animal"
383
Bob Sabiston. Waking Life
387
Jennifer
Steinkamp.
Eye Catching
391
Semiconductor. The Mini-Epoch Series
395
Structure
4:
Objects I
395
Object-oriented programming
398
Using classes and objects
class, Object
406
Arrays of objects
409
Multiple files
413
Drawing
2:
Kinetic Forms
414
Active tools
416
Active drawings
453
Structure
5:
Objects II
453
Multiple constructors
454
Composite objects
456
Inheritance
extends, super
461
Simulatei:
Biology
461
Cellular automata
469
Autonomous agents
477
Simulate
2:
Physics
477
Motion simulation
481
Particle systems
487
Springs
495
Synthesis
4:
Structure, Interface
496
WithoutTitle.
Lia
497
Pond. William Ngan
498
Swingtree. ART+COM,
Andreas
Schlegel
499
SodaProcessing. Ed Burton
501
Interviews
4:
Performance, Installation
503
SUE.C. Mini Movies
507
Chris
Csikszentmihályi.
DJ
I, Robot Sound System
511
Golan Levin, Zachary Lieberman.
Messa di Voce
515 Marc Hansen.
Listening Post
519
Extension
і:
Continuing.
519
Extending Processing
521
Processing and Java
522
Other programming languages
525
Extension
2: 3D.
Simon Greenwold
525
A short history of
3D
software
526 3D
form
531
Camera
532
Material and lights
536
Tools for
3D
538
Conclusion
539
Code
545
Resources
547
Extension
3:
Vision. Golan Levin
547
Computer vision in interactive art
549
Elementary computer vision
techniques
552
Computer vision in the physical world
554
Tools for computer vision
555
Conclusion
556
Code
561
Resources
563
Extension
4:
Network.
Alexander R. Galloway
563
The Internet and the arts
565
Internet protocols and concepts
569
Network tools
571
Conclusion
572
Code
576
Resources
579
Extensions: Sound.R.LukeDuBois
579
Music and sound programming
in the aits
582
Sound and musical informatics
584
Digital representation of sound
and music
588
Music as information
591
Tools for sound programming
592
Conclusion
593
Code
599
Resources
603
Extension
6:
Print. Casey
Reas
603
Print and computers
606
High-resolution file export
608
Production
612
Conclusion
613
Code
615
Resources
617
Extension
7:
Mobile. Francis Li
617
Mobile software applications
619
The mobile platform
622
Programming for mobile phones
624
Mobile programming platforms
625
Conclusion
626
Code
631
Resources
633
Extension
8:
Electronics.
Hernando Barragán
and Casey
Reas
633
Electronics in the arts
635
Electricity
637
Components
638
Circuits
639
Microcontrollers and I/O boards
642
Sensors and communication
646
Controlling physical media
648
Conclusion
649
Code
658
Resources
661
Appendix
A:
Order
of Operations
663
Appendix
В:
Reserved Words
664
Appendix C: ASCII, Unicode
669
Appendix D: Bit, Binary, Hex
673
Appendix E: Optimization
679
Appendix F: Programming Languages
686
Appendix G: Code Comparison
693
Related Media
699
Glossary
703
Code Index
705
Index |
any_adam_object | 1 |
any_adam_object_boolean | 1 |
author | Reas, Casey 1970- Fry, Ben |
author_GND | (DE-588)132907763 (DE-588)135627265 |
author_facet | Reas, Casey 1970- Fry, Ben |
author_role | aut aut |
author_sort | Reas, Casey 1970- |
author_variant | c r cr b f bf |
building | Verbundindex |
bvnumber | BV023040449 |
callnumber-first | Q - Science |
callnumber-label | QA76 |
callnumber-raw | QA76.6 |
callnumber-search | QA76.6 |
callnumber-sort | QA 276.6 |
callnumber-subject | QA - Mathematics |
classification_rvk | ST 320 |
classification_tum | DAT 366f DAT 754f DAT 750f |
ctrlnum | (OCoLC)255683470 (DE-599)BVBBV023040449 |
dewey-full | 005.1 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.1 |
dewey-search | 005.1 |
dewey-sort | 15.1 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
discipline_str_mv | Informatik |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>00000nam a2200000 c 4500</leader><controlfield tag="001">BV023040449</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20130620</controlfield><controlfield tag="007">t|</controlfield><controlfield tag="008">071207s2007 xx ad|| |||| 00||| eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9780262182621</subfield><subfield code="9">978-0-262-18262-1</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">0262182629</subfield><subfield code="9">0-262-18262-9</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)255683470</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BVBBV023040449</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rakwb</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-Aug4</subfield><subfield code="a">DE-29T</subfield><subfield code="a">DE-473</subfield><subfield code="a">DE-522</subfield><subfield code="a">DE-634</subfield><subfield code="a">DE-703</subfield><subfield code="a">DE-B170</subfield><subfield code="a">DE-83</subfield><subfield code="a">DE-898</subfield><subfield code="a">DE-11</subfield><subfield code="a">DE-525</subfield><subfield code="a">DE-1049</subfield><subfield code="a">DE-92</subfield><subfield code="a">DE-91</subfield><subfield code="a">DE-355</subfield><subfield code="a">DE-91G</subfield><subfield code="a">DE-2070s</subfield></datafield><datafield tag="050" ind1=" " ind2="0"><subfield code="a">QA76.6</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">005.1</subfield><subfield code="2">22</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 320</subfield><subfield code="0">(DE-625)143657:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">DAT 366f</subfield><subfield code="2">stub</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">DAT 754f</subfield><subfield code="2">stub</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">DAT 750f</subfield><subfield code="2">stub</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Reas, Casey</subfield><subfield code="d">1970-</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)132907763</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Processing</subfield><subfield code="b">a programming handbook for visual designers and artists</subfield><subfield code="c">Casey Reas ; Ben Fry</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Cambridge, Mass. [u.a.]</subfield><subfield code="b">MIT Press</subfield><subfield code="c">2007</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XXVI, 710 S.</subfield><subfield code="b">Ill., graph. Darst.</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Art et technologie</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Art et technologie</subfield><subfield code="2">ram</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Art numérique - Logiciels</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Art par ordinateur</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Art par ordinateur</subfield><subfield code="2">ram</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Infographie - Logiciels</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Infographie - Logiciels</subfield><subfield code="2">ram</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Ordinateurs - Programmation</subfield><subfield code="2">ram</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Programmation (Informatique)</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Computerkunst</subfield><subfield code="0">(DE-588)4010453-9</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Visuelle Medien</subfield><subfield code="0">(DE-588)4188423-1</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Programmierung</subfield><subfield code="0">(DE-588)4076370-5</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">Visuelle Medien</subfield><subfield code="0">(DE-588)4188423-1</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="1"><subfield code="a">Programmierung</subfield><subfield code="0">(DE-588)4076370-5</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="689" ind1="1" ind2="0"><subfield code="a">Computerkunst</subfield><subfield code="0">(DE-588)4010453-9</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="1" ind2="1"><subfield code="a">Programmierung</subfield><subfield code="0">(DE-588)4076370-5</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="1" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">Fry, Ben</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)135627265</subfield><subfield code="4">aut</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Bamberg</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=016244006&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="943" ind1="1" ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-016244006</subfield></datafield></record></collection> |
id | DE-604.BV023040449 |
illustrated | Illustrated |
index_date | 2024-07-02T19:20:28Z |
indexdate | 2024-12-04T09:00:59Z |
institution | BVB |
isbn | 9780262182621 0262182629 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-016244006 |
oclc_num | 255683470 |
open_access_boolean | |
owner | DE-Aug4 DE-29T DE-473 DE-BY-UBG DE-522 DE-634 DE-703 DE-B170 DE-83 DE-898 DE-BY-UBR DE-11 DE-525 DE-1049 DE-92 DE-91 DE-BY-TUM DE-355 DE-BY-UBR DE-91G DE-BY-TUM DE-2070s |
owner_facet | DE-Aug4 DE-29T DE-473 DE-BY-UBG DE-522 DE-634 DE-703 DE-B170 DE-83 DE-898 DE-BY-UBR DE-11 DE-525 DE-1049 DE-92 DE-91 DE-BY-TUM DE-355 DE-BY-UBR DE-91G DE-BY-TUM DE-2070s |
physical | XXVI, 710 S. Ill., graph. Darst. |
publishDate | 2007 |
publishDateSearch | 2007 |
publishDateSort | 2007 |
publisher | MIT Press |
record_format | marc |
spelling | Reas, Casey 1970- Verfasser (DE-588)132907763 aut Processing a programming handbook for visual designers and artists Casey Reas ; Ben Fry Cambridge, Mass. [u.a.] MIT Press 2007 XXVI, 710 S. Ill., graph. Darst. txt rdacontent n rdamedia nc rdacarrier Art et technologie Art et technologie ram Art numérique - Logiciels Art par ordinateur Art par ordinateur ram Infographie - Logiciels Infographie - Logiciels ram Ordinateurs - Programmation ram Programmation (Informatique) Computerkunst (DE-588)4010453-9 gnd rswk-swf Visuelle Medien (DE-588)4188423-1 gnd rswk-swf Programmierung (DE-588)4076370-5 gnd rswk-swf Visuelle Medien (DE-588)4188423-1 s Programmierung (DE-588)4076370-5 s DE-604 Computerkunst (DE-588)4010453-9 s Fry, Ben Verfasser (DE-588)135627265 aut Digitalisierung UB Bamberg application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=016244006&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Reas, Casey 1970- Fry, Ben Processing a programming handbook for visual designers and artists Art et technologie Art et technologie ram Art numérique - Logiciels Art par ordinateur Art par ordinateur ram Infographie - Logiciels Infographie - Logiciels ram Ordinateurs - Programmation ram Programmation (Informatique) Computerkunst (DE-588)4010453-9 gnd Visuelle Medien (DE-588)4188423-1 gnd Programmierung (DE-588)4076370-5 gnd |
subject_GND | (DE-588)4010453-9 (DE-588)4188423-1 (DE-588)4076370-5 |
title | Processing a programming handbook for visual designers and artists |
title_auth | Processing a programming handbook for visual designers and artists |
title_exact_search | Processing a programming handbook for visual designers and artists |
title_exact_search_txtP | Processing a programming handbook for visual designers and artists |
title_full | Processing a programming handbook for visual designers and artists Casey Reas ; Ben Fry |
title_fullStr | Processing a programming handbook for visual designers and artists Casey Reas ; Ben Fry |
title_full_unstemmed | Processing a programming handbook for visual designers and artists Casey Reas ; Ben Fry |
title_short | Processing |
title_sort | processing a programming handbook for visual designers and artists |
title_sub | a programming handbook for visual designers and artists |
topic | Art et technologie Art et technologie ram Art numérique - Logiciels Art par ordinateur Art par ordinateur ram Infographie - Logiciels Infographie - Logiciels ram Ordinateurs - Programmation ram Programmation (Informatique) Computerkunst (DE-588)4010453-9 gnd Visuelle Medien (DE-588)4188423-1 gnd Programmierung (DE-588)4076370-5 gnd |
topic_facet | Art et technologie Art numérique - Logiciels Art par ordinateur Infographie - Logiciels Ordinateurs - Programmation Programmation (Informatique) Computerkunst Visuelle Medien Programmierung |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=016244006&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT reascasey processingaprogramminghandbookforvisualdesignersandartists AT fryben processingaprogramminghandbookforvisualdesignersandartists |