Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 2fa0356568
Fetching contributors…

Cannot retrieve contributors at this time

93 lines (92 sloc) 2.482 kb
#N canvas 351 135 507 529 10;
#X declare -lib Gem;
#X obj 20 63 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
;
#X obj 33 162 gemhead;
#X text 5 24 tags: gems;
#X obj 18 90 mtl/gemsWin /dimen 320 240;
#X text 149 426 inlet 1: gemlist;
#X text 6 9 Description: Creates a dynamic number of lines.;
#X obj 33 435 mtl/gemsLines 10;
#N canvas 0 0 670 501 mouseDraw 0;
#X obj 244 450 outlet;
#X obj 183 44 mtl/gemsMouse;
#X obj 391 140 table \$0x 10;
#X obj 392 168 table \$0y 10;
#X obj 222 136 iemlib/modulo_counter 10;
#X obj 182 107 t l b;
#X obj 124 140 unpack f f;
#X obj 121 185 tabwrite \$0x;
#X obj 178 212 tabwrite \$0y;
#X obj 222 163 t f f b f;
#X obj 305 250 +;
#X obj 229 384 pack f f f 0;
#X obj 273 331 tabread \$0x;
#X obj 361 346 tabread \$0y;
#X obj 242 295 t f f f;
#X obj 271 219 tof/iterate;
#X msg 269 185 10;
#X obj 296 272 maxlib/wrap 0 10;
#X obj 219 256 t f f;
#X obj 183 76 maxlib/speedlim 50;
#X connect 1 0 19 0;
#X connect 4 0 9 0;
#X connect 5 0 6 0;
#X connect 5 1 4 0;
#X connect 6 0 7 0;
#X connect 6 1 8 0;
#X connect 9 0 7 1;
#X connect 9 1 8 1;
#X connect 9 2 16 0;
#X connect 9 3 10 1;
#X connect 10 0 17 0;
#X connect 11 0 0 0;
#X connect 12 0 11 1;
#X connect 13 0 11 2;
#X connect 14 1 12 0;
#X connect 14 2 13 0;
#X connect 15 0 18 0;
#X connect 16 0 15 0;
#X connect 17 0 14 0;
#X connect 18 0 11 0;
#X connect 18 1 10 0;
#X connect 19 0 5 0;
#X restore 79 272 pd mouseDraw;
#X text 150 485 inlet 3: create a # of lines;
#X text 269 457 line# x y z;
#X text 150 440 inlet 2: control each line with the following format:
;
#X text 162 274 Mouve your mouse in the gem window;
#X msg 143 301 0 -1 -1 0;
#X text 214 302 Positions line# 0 to point -1 -1 0;
#X text 220 327 Positions line# 5 to point 3 2 0;
#X msg 160 328 5 3 2 0;
#N canvas 0 27 736 449 random 0;
#X obj 174 97 inlet;
#X obj 174 161 tof/iterate;
#X msg 174 130 10;
#X obj 175 195 t f b b;
#X obj 215 234 mtl/randomFloat -5.3 5.3;
#X obj 402 232 mtl/randomFloat -4 4;
#X obj 187 290 pack f f f 0;
#X obj 185 348 outlet;
#X connect 0 0 2 0;
#X connect 1 0 3 0;
#X connect 2 0 1 0;
#X connect 3 0 6 0;
#X connect 3 1 4 0;
#X connect 3 2 5 0;
#X connect 4 0 6 1;
#X connect 5 0 6 2;
#X connect 6 0 7 0;
#X restore 183 378 pd random;
#X obj 187 356 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 409 11 import Gem;
#X connect 0 0 3 0;
#X connect 1 0 6 0;
#X connect 7 0 6 1;
#X connect 12 0 6 1;
#X connect 15 0 6 1;
#X connect 16 0 6 1;
#X connect 17 0 16 0;
Jump to Line
Something went wrong with that request. Please try again.