Introduction
8
What is Code?
8
- The Algorithm 13
- Code and Computers 15
- Thinking in Code 17
- Code and the Arts 21
- Why Code?
Form and Computers
26
- Drawing with Computers 29
- Controlling Form 33
- Coordinates 33
- Shape 33
- Color 35
- Realism 35
- Producing Form 37
- Light 37
- Printing 39
- Fabrication 39
Repeat
42
- Qualities of Repetition 49
- The Computer’s Talent 53
- Modularity 57
- Repetition Technique: Pattern 58
- Repetition Technique: Recursion 62
- Code Example: Embedded Iteration 64
- Code Example: Recursive Tree 65
Transform
66
- Geometric Transform 71
- Numerical Transform 75
- Transcoding 79
- Transformation Technique: Image Averaging 82
- Transformation Technique: Slit-Scanning 84
- Transformation Technique: Collage Engineering 86
- Code Example: Transcoded Landscape 90
- Code Example: Slit-Scan 91
Parameterize
92
- Composition Systems 101
- Variables 103
- Control 107
- Parameter Technique: One-of-One 108
- Parameter Technique: Variable Fonts 112
- Parameter Technique: Console 114
- Code Example: Chair 116
- Code Example: Wave 117
Visualize
118
- Data into Form 121
- Dynamic Filters 127
- Navigation 131
- Visualization Technique: Time Series 134
- Visualization Technique: Networks 138
- Visualization Technique: Dynamic Maps 140
- Visualization Technique: Mathematics 142
- Code Example: Loading and Displaying Data 144
- Code Example: Superformula 145
Simulate
146
- Modeling Physical Systems 151
- Artificial Intelligence 157
- Artificial Life and Genetic Algorithms 161
- Simulation Technique: Cellular Automata 164
- Simulation Technique: Swarms 166
- Simulation Technique: Unnatural Selection 168
- Code Example: Particles 170
- Code Example: Diffusion-Limited Aggregation 171
- Acknowledgements 172
- Image Credits 173
- Bibliography 174
- Designer/Artist/Architect Index 176