aboutsummaryrefslogtreecommitdiff
path: root/gemsLines-help.pd
blob: e5cd493aeb7e5cea4468b22764b1fdf27b531d7a (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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
#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;