Download Creative Computing Vol1 - Department of Computing

Transcript
Preface
AF
T
Contents
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 further reading . . . . . . . . . . . . . . . . .
1.9 Exercises . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
1
1
2
2
3
4
5
6
7
8
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 Exercises . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
9
9
11
11
12
13
16
16
3 Introduction to Processing
3.1 Processing . . . . . . . . . .
3.2 Installing Processing . . . .
3.3 A Quick Tour of Processing
3.4 Summary . . . . . . . . . .
3.5 Exercises . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
19
19
20
21
22
22
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
23
23
23
25
27
27
27
28
28
29
31
31
32
35
36
5 background( ), stroke( ) and line( )
5.1 Introduction . . . . . . . . . . . . . . . . . . . .
5.2 line( ) . . . . . . . . . . . . . . . . . . . . . . .
5.2.1 Vertical, Horizontal and Diagonal Lines
5.2.2 background( ) . . . . . . . . . . . . . .
5.2.3 stroke( ) . . . . . . . . . . . . . . . . .
5.2.4 strokeWeight( ) . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
37
37
37
38
39
39
41
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
DR
.
.
.
.
.
4 Origins
4.1 Introduction . . . . . . . . . . . . . .
4.2 screen . . . . . . . . . . . . . . . . .
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 . . . . . . . . . . . . . . . .
4.11 Exercises . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
i