aboutsummaryrefslogtreecommitdiff
path: root/Gem/examples/01.basic/09.yelloTeapot.pd
blob: 1e65be314beae25a373e7120838c947e92856fb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#N canvas 56 98 635 502 12;
#X declare -lib Gem;
#X obj 350 226 gemhead;
#X floatatom 458 298 0 0 0 0 - - -;
#X obj 350 286 color;
#X msg 452 231 1 1 1;
#X text 438 159 change the color;
#X obj 350 379 teapot;
#X obj 350 337 rotateXYZ;
#X obj 29 398 gemhead;
#X obj 29 420 world_light;
#X msg 452 196 1 1 0;
#X text 109 29 this demonstrates how to create a yellow teapot;
#X text 449 277 rotate the teapot;
#X msg 456 365 draw line;
#X msg 453 395 draw fill;
#X obj 31 73 cnv 15 220 70 empty empty empty 20 12 0 14 -195568 -66577
0;
#N canvas 0 22 454 304 gemwin 0;
#X obj 132 136 gemwin;
#X obj 67 89 outlet;
#X obj 67 10 inlet;
#X obj 67 41 route create;
#X msg 67 70 set destroy;
#X msg 182 68 set create;
#X msg 132 112 create \, 1;
#X msg 238 112 destroy;
#N canvas 87 154 247 179 Gem.init 0;
#X obj 59 26 loadbang;
#X msg 118 81 reset;
#X obj 118 113 outlet;
#X obj 59 45 t b b;
#X msg 51 75 lighting 1;
#X connect 0 0 3 0;
#X connect 1 0 2 0;
#X connect 3 0 4 0;
#X connect 3 1 1 0;
#X connect 4 0 2 0;
#X restore 289 80 pd Gem.init;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 3 0 6 0;
#X connect 3 1 5 0;
#X connect 3 1 7 0;
#X connect 4 0 1 0;
#X connect 5 0 1 0;
#X connect 6 0 0 0;
#X connect 7 0 0 0;
#X connect 8 0 0 0;
#X restore 36 117 pd gemwin;
#X msg 36 93 create;
#X text 32 73 Create window and render;
#X text 32 261 this is the famous;
#X text 52 294 utah teapot;
#X obj 515 5 declare -lib Gem;
#X connect 0 0 2 0;
#X connect 1 0 6 1;
#X connect 1 0 6 2;
#X connect 2 0 6 0;
#X connect 3 0 2 1;
#X connect 6 0 5 0;
#X connect 7 0 8 0;
#X connect 9 0 2 1;
#X connect 12 0 5 0;
#X connect 13 0 5 0;
#X connect 15 0 16 0;
#X connect 16 0 15 0;