aboutsummaryrefslogtreecommitdiff
path: root/packages/noncvs/windows/extra/Gem/examples/01.basic
diff options
context:
space:
mode:
Diffstat (limited to 'packages/noncvs/windows/extra/Gem/examples/01.basic')
-rw-r--r--packages/noncvs/windows/extra/Gem/examples/01.basic/01.redSquare.pd63
-rw-r--r--packages/noncvs/windows/extra/Gem/examples/01.basic/02.blueRectangle.pd65
-rw-r--r--packages/noncvs/windows/extra/Gem/examples/01.basic/03.disk.pd59
-rw-r--r--packages/noncvs/windows/extra/Gem/examples/01.basic/04.PrimTri.pd65
-rw-r--r--packages/noncvs/windows/extra/Gem/examples/01.basic/05.cube.pd44
-rw-r--r--packages/noncvs/windows/extra/Gem/examples/01.basic/06.sphere.pd55
-rw-r--r--packages/noncvs/windows/extra/Gem/examples/01.basic/07.cylinder.pd62
-rw-r--r--packages/noncvs/windows/extra/Gem/examples/01.basic/08.model.pd61
-rw-r--r--packages/noncvs/windows/extra/Gem/examples/01.basic/09.yelloTeapot.pd65
9 files changed, 539 insertions, 0 deletions
diff --git a/packages/noncvs/windows/extra/Gem/examples/01.basic/01.redSquare.pd b/packages/noncvs/windows/extra/Gem/examples/01.basic/01.redSquare.pd
new file mode 100644
index 00000000..c64e4a2c
--- /dev/null
+++ b/packages/noncvs/windows/extra/Gem/examples/01.basic/01.redSquare.pd
@@ -0,0 +1,63 @@
+#N canvas 139 83 602 502 10;
+#X obj 240 186 gemhead;
+#X floatatom 348 258 0 0 0 0 - - -;
+#X obj 240 246 color;
+#X msg 342 191 1 1 1;
+#X msg 342 156 1 0 0;
+#X obj 240 339 square;
+#X text 109 26 this demonstrates how to create a red square;
+#X text 328 119 change the color;
+#X text 341 226 rotate the square;
+#X msg 343 302 draw line;
+#X msg 343 322 draw fill;
+#X msg 346 375 width 1;
+#X msg 347 395 width 10;
+#X obj 240 297 rotate;
+#X obj 20 59 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 46 loadbang;
+#X msg 118 81 reset;
+#X obj 118 113 outlet;
+#X obj 59 65 t b b;
+#X connect 0 0 3 0;
+#X connect 1 0 2 0;
+#X connect 3 1 1 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 25 103 pd gemwin;
+#X msg 25 79 create;
+#X text 21 59 Create window and render;
+#X text 386 157 red;
+#X text 389 192 white;
+#X text 379 260 (in degree);
+#X connect 0 0 2 0;
+#X connect 1 0 13 1;
+#X connect 2 0 13 0;
+#X connect 3 0 2 1;
+#X connect 4 0 2 1;
+#X connect 9 0 5 0;
+#X connect 10 0 5 0;
+#X connect 11 0 5 0;
+#X connect 12 0 5 0;
+#X connect 13 0 5 0;
+#X connect 15 0 16 0;
+#X connect 16 0 15 0;
diff --git a/packages/noncvs/windows/extra/Gem/examples/01.basic/02.blueRectangle.pd b/packages/noncvs/windows/extra/Gem/examples/01.basic/02.blueRectangle.pd
new file mode 100644
index 00000000..5d522bc2
--- /dev/null
+++ b/packages/noncvs/windows/extra/Gem/examples/01.basic/02.blueRectangle.pd
@@ -0,0 +1,65 @@
+#N canvas 396 160 600 500 10;
+#X obj 350 159 gemhead;
+#X obj 350 337 rotate;
+#X floatatom 409 275 0 0 0 0 - - -;
+#X msg 452 144 1 1 1;
+#X text 438 92 change the color;
+#X msg 237 313 draw line;
+#X msg 237 346 draw fill;
+#X text 111 28 this demonstrates how to create a blue rectangle;
+#X obj 350 379 rectangle 2 1;
+#X text 382 260 rotate the rectangle;
+#X msg 452 169 0 0 1;
+#X floatatom 427 336 0 0 0 0 - - -;
+#X floatatom 482 337 0 0 0 0 - - -;
+#X text 419 314 width;
+#X text 477 313 height;
+#X obj 20 59 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 46 loadbang;
+#X msg 118 81 reset;
+#X obj 118 113 outlet;
+#X obj 59 65 t b b;
+#X connect 0 0 3 0;
+#X connect 1 0 2 0;
+#X connect 3 1 1 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 25 103 pd gemwin;
+#X msg 25 79 create;
+#X text 21 59 Create window and render;
+#X text 504 170 blue;
+#X text 495 146 white;
+#X obj 350 219 color 0 0 1;
+#X text 422 221 (blue);
+#X connect 0 0 21 0;
+#X connect 1 0 8 0;
+#X connect 2 0 1 1;
+#X connect 3 0 21 1;
+#X connect 5 0 8 0;
+#X connect 6 0 8 0;
+#X connect 10 0 21 1;
+#X connect 11 0 8 1;
+#X connect 12 0 8 2;
+#X connect 16 0 17 0;
+#X connect 17 0 16 0;
+#X connect 21 0 1 0;
diff --git a/packages/noncvs/windows/extra/Gem/examples/01.basic/03.disk.pd b/packages/noncvs/windows/extra/Gem/examples/01.basic/03.disk.pd
new file mode 100644
index 00000000..e65fbf8c
--- /dev/null
+++ b/packages/noncvs/windows/extra/Gem/examples/01.basic/03.disk.pd
@@ -0,0 +1,59 @@
+#N canvas 28 208 601 392 10;
+#X obj 274 138 gemhead;
+#X floatatom 350 169 0 0 0 0 - - -;
+#X obj 22 325 world_light;
+#X obj 22 283 gemhead 1;
+#X text 369 251 change the number of slices;
+#X msg 421 269 15;
+#X obj 274 207 rotateXYZ 26 26 0;
+#X floatatom 299 277 0 1 4 2 size - -;
+#X floatatom 400 330 0 0 0.9 2 inner_radius - -;
+#X obj 274 356 disk 2 5 1;
+#X msg 384 269 10;
+#X obj 30 59 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 46 loadbang;
+#X msg 118 81 reset;
+#X obj 118 113 outlet;
+#X obj 59 65 t b b;
+#X msg 59 94 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 35 103 pd gemwin;
+#X msg 35 79 create;
+#X text 31 59 Create window and render;
+#X connect 0 0 6 0;
+#X connect 1 0 6 1;
+#X connect 1 0 6 2;
+#X connect 3 0 2 0;
+#X connect 5 0 9 2;
+#X connect 6 0 9 0;
+#X connect 7 0 9 1;
+#X connect 8 0 9 3;
+#X connect 10 0 9 2;
+#X connect 12 0 13 0;
+#X connect 13 0 12 0;
diff --git a/packages/noncvs/windows/extra/Gem/examples/01.basic/04.PrimTri.pd b/packages/noncvs/windows/extra/Gem/examples/01.basic/04.PrimTri.pd
new file mode 100644
index 00000000..98de6428
--- /dev/null
+++ b/packages/noncvs/windows/extra/Gem/examples/01.basic/04.PrimTri.pd
@@ -0,0 +1,65 @@
+#N canvas 173 -28 667 537 12;
+#X obj 306 137 gemhead;
+#X obj 306 248 rotate;
+#X floatatom 372 194 0 0 0 0 - - -;
+#X msg 124 207 draw line;
+#X msg 142 240 draw fill;
+#X obj 306 431 primTri;
+#X text 48 23 this demonstrates how to create a triangle primitive
+;
+#X text 337 172 rotate the triangle;
+#X msg 561 306 1 0 0;
+#X msg 561 342 0 1 0;
+#X msg 561 378 0 0 1;
+#X text 555 270 colors;
+#X text 420 264 vertices;
+#X msg 423 286 1 1 0;
+#X msg 422 357 -1 1 0;
+#X msg 423 322 1 -2 0;
+#X text 192 52 the colors can be RGB or RGBA;
+#X obj 30 109 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 connect 0 0 3 0;
+#X connect 1 0 2 0;
+#X connect 3 1 1 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 35 153 pd gemwin;
+#X msg 35 129 create;
+#X text 31 109 Create window and render;
+#X connect 0 0 1 0;
+#X connect 1 0 5 0;
+#X connect 2 0 1 1;
+#X connect 3 0 5 0;
+#X connect 4 0 5 0;
+#X connect 8 0 5 4;
+#X connect 9 0 5 5;
+#X connect 10 0 5 6;
+#X connect 13 0 5 1;
+#X connect 14 0 5 3;
+#X connect 15 0 5 2;
+#X connect 18 0 19 0;
+#X connect 19 0 18 0;
diff --git a/packages/noncvs/windows/extra/Gem/examples/01.basic/05.cube.pd b/packages/noncvs/windows/extra/Gem/examples/01.basic/05.cube.pd
new file mode 100644
index 00000000..dd5d72ee
--- /dev/null
+++ b/packages/noncvs/windows/extra/Gem/examples/01.basic/05.cube.pd
@@ -0,0 +1,44 @@
+#N canvas 361 165 602 280 10;
+#X obj 372 91 gemhead;
+#X floatatom 416 122 0 -4.5 4.5 0 - - -;
+#X obj 372 197 cube;
+#X obj 372 159 translateXYZ;
+#X obj 30 109 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 connect 0 0 3 0;
+#X connect 1 0 2 0;
+#X connect 3 1 1 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 35 153 pd gemwin;
+#X msg 35 129 create;
+#X text 31 109 Create window and render;
+#X connect 0 0 3 0;
+#X connect 1 0 3 1;
+#X connect 1 0 3 2;
+#X connect 3 0 2 0;
+#X connect 5 0 6 0;
+#X connect 6 0 5 0;
diff --git a/packages/noncvs/windows/extra/Gem/examples/01.basic/06.sphere.pd b/packages/noncvs/windows/extra/Gem/examples/01.basic/06.sphere.pd
new file mode 100644
index 00000000..9117bf74
--- /dev/null
+++ b/packages/noncvs/windows/extra/Gem/examples/01.basic/06.sphere.pd
@@ -0,0 +1,55 @@
+#N canvas 393 222 603 394 10;
+#X obj 275 174 gemhead;
+#X floatatom 319 205 0 0 0 0 - - -;
+#X obj 275 317 sphere;
+#X obj 22 325 world_light;
+#X obj 22 283 gemhead 1;
+#X text 377 279 change the number of slices;
+#X obj 275 242 rotateXYZ;
+#X msg 340 280 15;
+#X msg 303 280 5;
+#X obj 31 53 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 97 pd gemwin;
+#X msg 36 73 create;
+#X text 32 53 Create window and render;
+#X connect 0 0 6 0;
+#X connect 1 0 6 1;
+#X connect 1 0 6 2;
+#X connect 4 0 3 0;
+#X connect 6 0 2 0;
+#X connect 7 0 2 2;
+#X connect 8 0 2 2;
+#X connect 10 0 11 0;
+#X connect 11 0 10 0;
diff --git a/packages/noncvs/windows/extra/Gem/examples/01.basic/07.cylinder.pd b/packages/noncvs/windows/extra/Gem/examples/01.basic/07.cylinder.pd
new file mode 100644
index 00000000..fcc9bfed
--- /dev/null
+++ b/packages/noncvs/windows/extra/Gem/examples/01.basic/07.cylinder.pd
@@ -0,0 +1,62 @@
+#N canvas 393 222 603 394 10;
+#X obj 274 138 gemhead;
+#X floatatom 318 169 0 0 0 0 - - -;
+#X obj 22 325 world_light;
+#X obj 22 283 gemhead 1;
+#X text 369 251 change the number of slices;
+#X msg 421 269 15;
+#X msg 384 269 5;
+#X obj 274 356 cylinder;
+#X obj 274 207 rotateXYZ 26 26 0;
+#X floatatom 299 303 0 0 0 2 size - -;
+#X obj 31 53 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 97 pd gemwin;
+#X msg 36 73 create;
+#X text 32 53 Create window and render;
+#X obj 94 325 world_light;
+#X obj 94 283 gemhead 1;
+#X obj 94 302 rotateXYZ 12 54 20;
+#X connect 0 0 8 0;
+#X connect 1 0 8 1;
+#X connect 1 0 8 2;
+#X connect 3 0 2 0;
+#X connect 5 0 7 2;
+#X connect 6 0 7 2;
+#X connect 8 0 7 0;
+#X connect 9 0 7 1;
+#X connect 11 0 12 0;
+#X connect 12 0 11 0;
+#X connect 15 0 16 0;
+#X connect 16 0 14 0;
diff --git a/packages/noncvs/windows/extra/Gem/examples/01.basic/08.model.pd b/packages/noncvs/windows/extra/Gem/examples/01.basic/08.model.pd
new file mode 100644
index 00000000..415daacb
--- /dev/null
+++ b/packages/noncvs/windows/extra/Gem/examples/01.basic/08.model.pd
@@ -0,0 +1,61 @@
+#N canvas 348 152 673 462 12;
+#X floatatom 460 79 0 0 0 0 - - -;
+#X obj 385 44 gemhead;
+#X floatatom 446 179 0 0 0 0 - - -;
+#X obj 212 283 gemhead 1;
+#X obj 212 321 world_light;
+#X text 185 21 load in a model file;
+#X obj 33 85 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 165 79 reset;
+#X obj 118 113 outlet;
+#X obj 59 45 t b b;
+#X obj 167 38 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X msg 54 75 lighting 1;
+#X connect 0 0 3 0;
+#X connect 1 0 2 0;
+#X connect 3 0 5 0;
+#X connect 3 1 1 0;
+#X connect 4 0 5 0;
+#X connect 5 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 38 129 pd gemwin;
+#X msg 38 105 destroy;
+#X text 34 85 Create window and render;
+#X text 69 378 Gem can load 3d-models in the alias|wavefront .obj format
+;
+#X obj 385 255 model ../data/venus.obj;
+#X obj 385 205 rotate 0 0 1 0;
+#X obj 385 134 translate 0 0 0 1;
+#X obj 460 103 / 100;
+#X connect 0 0 14 0;
+#X connect 1 0 13 0;
+#X connect 2 0 12 1;
+#X connect 3 0 4 0;
+#X connect 7 0 8 0;
+#X connect 8 0 7 0;
+#X connect 12 0 11 0;
+#X connect 13 0 12 0;
+#X connect 14 0 13 1;
diff --git a/packages/noncvs/windows/extra/Gem/examples/01.basic/09.yelloTeapot.pd b/packages/noncvs/windows/extra/Gem/examples/01.basic/09.yelloTeapot.pd
new file mode 100644
index 00000000..328e9b87
--- /dev/null
+++ b/packages/noncvs/windows/extra/Gem/examples/01.basic/09.yelloTeapot.pd
@@ -0,0 +1,65 @@
+#N canvas 56 98 635 502 12;
+#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 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;