Vista normal Vista MARC Vista ISBD

Algorithms for visual desgin using the processing language / Kostas Terzidis

Autor: Terzidis, Kostas Publicação: Indianapolis : Wiley Publishing, Inc., cop. 2009 Descrição: XXVI, 354 p.ISBN: 978-0-470-37548-8Nome comum: Algoritmos de computador | Programação de computadores | Design visual CDU: 004.421 Recursos em linha: Google books Lista(s) em que este item aparece: Educação e Comunicação Multimédia
Etiquetas desta biblioteca: Sem etiquetas desta biblioteca para este título. Adicionar etiqueta
Iniciar sessão para acrescentar etiquetas.
    classificação média: 0.0 (0 votos)
Tipo de documento Localização Cota Estado Data de devolução Código de barras
Monografia
Biblioteca IPBeja
004.421/TER (Ver prateleira) Disponível 46375

Contents

Introduction, p. XIX

Chapter 1 Elements of the Language, p. 1

1.1 Operands and Operations, p. 2
1.1.1 Variable Types, p. 2
1.1.2 Name Conventions, p. 4
1.1.3 Arithmetic Operations, p. 5
1.1.4 Logical and Relational Operations/Statements, p. 7
1.1.5 Loops, p. 8
1.1.6 Patterns of Numbers, p. 10
1.2 Graphics Elements, p. 12
1.2.1 Code Structure, p. 12
1.2.2 Draw Commands, p. 13
1.2.3 Geometrical Objects, p. 13
1.2.4 Attributes, p. 17
1.2.5 Fonts and Images, p. 20
1.2.6 Examples, p. 21
1.3 Interactivity, p. 24
1.3.1 Drawing on the Screen, p. 24
1.3.2 Mouse and Keyboard Events, p. 26
1.4 Grouping of Code, p. 28
1.4.1 Arrays, p. 28
1.4.2 Procedures and Functions, p. 30
1.4.4 Recursion, p. 33
1.4.5 Importing Processing Classes, p. 34
Summary, p. 35
Exercises, p. 35

Chapter 2 Points, Lines, and Shapes , p. 1

2.1 Sine and Cosine Curves, p. 42
2.2 Bezier Curve, p. 47
2.3 Pointillist Images, p. 48
2.4 Polygons, p. 51
2.5 Equilateral Polygons, p. 53
2.6 Responsive Polygons, p. 54
2.7 Responsive Curve, p. 56
Summary, p. 57
Exercises, p. 57

Chapter 3 The Structure of Shapes, p. 63

3.1 Introduction to Class Structures, p. 63
3.1.1 Defining a Class Called MyPoint, p. 64
3.1.2 Adding Methods to a Class, p. 66
3.2 Organization of Classes, p. 68
3.2.1 Class MyPoint, p. 70
3.2.2 Class MySegment, p. 70
3.2.3 Class MyShape, p. 71
3.3 Standard Transformations (move, rotate, scale), p. 74
3.4 Implementing Transformations, p. 76
3.5 Creating Grids of Shapes, p. 80
3.6 Class MyGroup, p. 83
3.7 Selecting Objects, p. 85
Summary, p. 90
Exercises, p. 91

Chapter 4 Basics of Graphical User Interfaces, p. 93

4.1 Basic GUI (Buttons), p. 94
4.2 Choice, Label, and TextField, p. 98
4.3 Arranging GUI Objects on the Screen, p. 99
4.4 Selecting Points, Segments, Shapes, or Groups, p. 102
4.5 Color Setup, p. 104
4.6 Putting the GUI Elements in Their Own Window, p. 106
4.7 Mouse Wheel Control, p. 107
Summary, p. 07
Exercises, p. 108

Chapter 5 Image Processing, p. 109

5.1 Displaying Images, p. 110
5.2 Preset Image Filters, p. 111
5.3 Bit Manipulation on Pixels, p. 115
5.4 A Paint Brush Tool, p. 118
5.5 Edge Detection, p. 121
Summary, p. 123
Exercises, p. 123

Chapter 6 Motion, p. 127

6.1 Animation Basics, p. 127
6.2 Erratic Motion, p. 131
6.3 Line Traces, p. 133
6.4 Interactive Transformations, p. 135
6.5 Double Buffering, p. 138
6.6 Motion and Friction, p. 140
6.7 Collision, p. 143
6.8 Elastic Motion, p. 145
Summary, p. 149
Exercises, p. 149
Notes, p. 152

Chapter 7 Advanced Graphics Algorithms, p. 153

7.1 Voronoi Tessellation, p. 154
7.2 Stochastic Search, p. 158
7.3 Fractals, p. 162
7.4 Interpolation/Extrapolation, p. 165
7.5 Cellular Automatal, p.168
7.6 Evolutionary Algorithm, p. 172
Summary, p. 177
Exercises, p. 178
Notes, p. 180

Chapter 8 3-D Space, p. 181

8.1 The Third Dimension, p. 182
8.2 Defining 3D Objects, p. 183
8.3 Projecting on the Screen, p. 187
8.4 Perspective Projection, p. 190
8.5 Three-Dimensional Graphics in Processing, p. 192
8.6 3D Point Formations, p. 199
8.6.1 Cubical Formations, p. 199
8.6.2 Spherical Formations, p. 201
8.6.3 Superquadrics, p. 203
Summary, p. 205
Exercises, p. 206

Chapter 9 Solid Geometry, p. 209

9.1 Class MyPoint, p. 209
9.1.1 Class MyFace, p. 211
9.1.2 Sets of Faces, p. 214
9.1.3 Class MySolid, p. 215
9.1.4 Face Visibility, p. 220
9.2 Shading, p. 223
9.2.1 Vectors, p. 225
9.2.2 Normalization, p. 226
9.2.3 Cross Product, p. 227
9.2.4 Dot Product, p. 228
9.2.5 MyVector Class, p. 228
9.2.6 Color Tables, p. 229
9.2.7 Array of Shades, p. 230
9.2.8 Shade Calculation, p. 231
9.2.9 Class MyGroup, p. 234
9.2.10 Sorting Solids (Painter’s Algorithm), p. 238
9.3 3D User Interaction, p. 240
9.3.1 Picking Objects in the Scene, p. 241
9.3.2 Simulating Menu Bars, p. 244
Summary, p. 246
Exercises, p. 246
Notes, p. 247

Chapter 10 File Read/Write, p. 249

10.1 File Formats, p. 250
10.2 Basic Write/Read in Processing, p. 250
10.2.1 Exporting PDF and DXF File Formats Using Processing Libraries, p. 253
10.2.2 Native File Write, p. 255
10.2.3 Native File Read, p. 256
10.2.4 The DXF File Format, p. 258
10.2.5 Writing DXF Files, p. 259
10.2.6 Reading DXF Files, p. 261
10.2.7 The VRML File Format, p. 263
10.2.8 Writing VRML Files, p. 265
10.2.9 Reading VRML Files, p. 266
10.3 Client/Server Data Transfer, p. 268
Summary, p. 272
Exercises, p. 272

Chapter 11 Physical Computing, p. 275

11.1 Basics of Electrical Circuits, p. 76
11.2 Arduino Microcontroller Board, p. 278
11.3 Arduino Language, p. 279
11.4 LED, p. 282
11.5 Photocell, p. 284
11.6 Pushbutton, p. 287
11.7 Servo Motor, p. 288
11.8 Sound, p. 290
11.9 Differential Values, p. 292
11.10 Responsive System: Photo-Sound, p. 292
11.11 A Feedback System: Photo-Motor, p. 294
Summary, p. 296
Exercises, p. 296
Appendix A Equations of Lines and Planes, p. 301
Appendix B Answers to Exercises, p. 307
Appendix C Further Readings, p. 335
Index, p. 339

Não há comentários disponíveis sobre este título.

Entre na sua conta para publicar um comentário.

Clique numa imagem para vê-la no visualizador de imagens