From 5c694f159b012d1d94bf15bfe580dec52e4fe797 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Sat, 14 Mar 2015 20:40:49 +0000 Subject: Gem osx/x86_64 built '' for osx/x86_64 --- Gem/examples/03.lighting/04.moveSpheres.pd | 128 +++++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 Gem/examples/03.lighting/04.moveSpheres.pd (limited to 'Gem/examples/03.lighting/04.moveSpheres.pd') diff --git a/Gem/examples/03.lighting/04.moveSpheres.pd b/Gem/examples/03.lighting/04.moveSpheres.pd new file mode 100644 index 0000000..b2df9dd --- /dev/null +++ b/Gem/examples/03.lighting/04.moveSpheres.pd @@ -0,0 +1,128 @@ +#N canvas 172 20 824 640 10; +#X text 745 116 on; +#X text 782 114 off; +#X text 557 122 on; +#X text 594 120 off; +#X msg 742 143 1; +#X msg 779 142 0; +#X text 303 503 on; +#X text 340 501 off; +#X msg 116 527 1; +#X msg 152 529 0; +#X msg 297 529 1; +#X msg 335 529 0; +#X obj 373 547 gemhead 1; +#X obj 483 231 int 0; +#X obj 532 231 + 2; +#X obj 634 118 gemhead; +#X floatatom 673 252 0 0 0 0 - - -; +#X obj 444 115 gemhead; +#X msg 34 171 dimen 300 300; +#X msg 64 102 lighting 1; +#X floatatom 483 264 0 0 0 0 - - -; +#X obj 194 573 world_light; +#X obj 194 534 gemhead 1; +#X msg 63 74 lighting 0; +#X obj 673 225 int 0; +#X obj 373 584 light; +#X text 125 480 global light; +#X text 303 483 local light; +#X text 122 505 on; +#X text 152 506 off; +#X text 13 133 set the window size to 300 x 300; +#X text 28 48 you can turn lighting on and off while it is running +; +#X obj 483 197 metro 50; +#X msg 555 145 1; +#X msg 591 146 0; +#X obj 673 191 metro 100; +#X obj 735 223 + 1; +#X obj 444 147 colorRGB 1 0 1; +#X obj 634 146 colorRGB 0 1 0; +#X obj 444 301 rotate 0 1 0; +#X obj 444 342 translate 2 1 0 0; +#X obj 634 329 translate 2 0 1 0; +#X obj 634 287 rotate 1 0 0; +#X text 446 69 Purple sphere; +#X text 636 74 Green sphere; +#N canvas 87 154 247 179 Gem.init 0; +#X obj 118 46 loadbang; +#X msg 118 81 reset; +#X obj 118 113 outlet; +#X connect 0 0 1 0; +#X connect 1 0 2 0; +#X restore 64 238 pd Gem.init; +#N canvas 340 107 682 322 gemwin 0; +#X obj 102 122 tgl 15 0 \$0-gemstart \$0-gemstart empty 17 7 0 10 -262144 +-1 -1 0 1; +#X obj 102 161 r \$0-gemstart; +#X obj 102 182 select 1 0; +#X msg 102 214 create \, 1; +#X msg 177 215 destroy; +#X obj 102 239 t a; +#X obj 318 54 inlet; +#X obj 318 255 gemwin; +#X obj 318 100 t a a; +#X obj 318 287 outlet; +#X obj 350 128 route create destroy; +#X obj 350 150 t b; +#X msg 350 172 1; +#X obj 390 150 t b; +#X msg 390 172 0; +#X obj 350 195 t f; +#X msg 350 219 set \$1; +#X text 118 122 rendering; +#X connect 1 0 2 0; +#X connect 2 0 3 0; +#X connect 2 1 4 0; +#X connect 3 0 5 0; +#X connect 4 0 5 0; +#X connect 5 0 8 0; +#X connect 6 0 8 0; +#X connect 7 0 9 0; +#X connect 8 0 7 0; +#X connect 8 1 10 0; +#X connect 10 0 11 0; +#X connect 10 1 13 0; +#X connect 11 0 12 0; +#X connect 12 0 15 0; +#X connect 13 0 14 0; +#X connect 14 0 15 0; +#X connect 15 0 16 0; +#X connect 16 0 0 0; +#X coords 0 -1 1 1 85 40 1 100 100; +#X restore 34 255 pd gemwin; +#X obj 444 424 sphere 1 5; +#X obj 634 416 sphere 1 20; +#X connect 4 0 35 0; +#X connect 5 0 35 0; +#X connect 8 0 21 0; +#X connect 9 0 21 0; +#X connect 10 0 25 0; +#X connect 11 0 25 0; +#X connect 12 0 25 0; +#X connect 13 0 14 0; +#X connect 13 0 20 0; +#X connect 14 0 13 1; +#X connect 15 0 38 0; +#X connect 16 0 42 1; +#X connect 17 0 37 0; +#X connect 18 0 46 0; +#X connect 19 0 46 0; +#X connect 20 0 39 1; +#X connect 22 0 21 0; +#X connect 23 0 46 0; +#X connect 24 0 16 0; +#X connect 24 0 36 0; +#X connect 32 0 13 0; +#X connect 33 0 32 0; +#X connect 34 0 32 0; +#X connect 35 0 24 0; +#X connect 36 0 24 1; +#X connect 37 0 39 0; +#X connect 38 0 42 0; +#X connect 39 0 40 0; +#X connect 40 0 47 0; +#X connect 41 0 48 0; +#X connect 42 0 41 0; +#X connect 45 0 46 0; -- cgit v1.2.1