Download Creative computing 1: image, sound and motion

Transcript
Contents
Preface
v
1 History of Mathematics and Computing in Creativity
1.1 Introduction . . . . . . . . . . . . . . . . . . . . . .
1.2 Earliest Mathematics . . . . . . . . . . . . . . . . .
1.3 Ancient Greece . . . . . . . . . . . . . . . . . . . .
1.4 Arab Mathematics and Computation . . . . . . . .
1.5 The Renaissance: Geometry and Perspective . . .
1.6 Inventing Computational Thinking . . . . . . . . .
1.7 Mathematics and Music . . . . . . . . . . . . . . .
1.8 Some notes on additional reading . . . . . . . . . .
1.9 Summary and learning outcomes . . . . . . . . . .
1.10 Exercises . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
1
1
2
3
3
4
5
7
8
9
9
2 The Bauhaus
2.1 Background . . . . . . . . . . . . . . . . . .
2.2 The Beginning of the Bauhaus . . . . . . . .
2.2.1 Principles for the Bauhaus . . . . . .
2.3 Bauhaus developments with new staff . . .
2.4 Movement towards Constructivism . . . .
2.5 The last phase of the Bauhaus in Germany .
2.6 Summary and learning outcomes . . . . . .
2.7 Exercises . . . . . . . . . . . . . . . . . . . .
2.8 The structure of the rest of this guide . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
11
11
13
13
13
15
18
18
18
19
3 Introduction to Processing
3.1 Processing . . . . . . . . . . . . . .
3.2 Installing Processing . . . . . . . .
3.3 A Quick Tour of Processing . . . .
3.4 Code examples . . . . . . . . . .
3.5 Summary and learning outcomes
3.6 Exercises . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
21
21
22
23
23
24
24
4 Origins
4.1 Introduction . . . . . . . . . . . . . .
4.2 The Processing display window . . .
4.3 size() . . . . . . . . . . . . . . . . .
4.4 background() . . . . . . . . . . . . .
4.5 Coordinates . . . . . . . . . . . . . .
4.5.1 Cartesian Coordinate System
4.6 The Origin . . . . . . . . . . . . . . .
4.7 Plane Geometry . . . . . . . . . . . .
4.7.1 point() . . . . . . . . . . . .
4.8 Lines . . . . . . . . . . . . . . . . . .
4.8.1 Zero-Based Indexing . . . . .
4.9 Size of a pixel . . . . . . . . . . . . .
4.10 Summary and learning outcomes . .
4.11 Exercises . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
27
27
27
29
31
32
32
32
33
33
35
36
36
40
41
.
.
.
.
.
.
i