aboutsummaryrefslogtreecommitdiff
path: root/examples/niagara.pd
blob: f5528ca966761efb4beec244e2adf8b2b37ab90f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#N canvas 87 562 895 337 10;
#X floatatom 124 175;
#X obj 69 206 niagara 12;
#X obj 69 288 print LEFT;
#X obj 124 269 print RIGHT;
#X msg 85 139 1 2 3 4 5 6 7 all good children go to heaven;
#X obj 159 25 niagara;
#X text 374 28 divide a package into 2 sub-packages;
#X text 241 53 creation : "niagara <n>" creates a niagara-fall with a rock at point <n>;
#X text 159 176 where to divide;
#X text 451 143 list;
#X text 451 111 anything;
#X text 420 219 note :;
#X text 467 233 if <anything> is passed \, then 2 <anything>s appear at the outputs;
#X text 467 219 if a <list> is passed \, then 2 <list>s appear at the outputs;
#X msg 69 102 some water will go down on the left side of the rock and the rest will come down on the other side;
#X connect 0 0 1 1;
#X connect 1 0 2 0;
#X connect 1 1 3 0;
#X connect 4 0 1 0;
#X connect 14 0 1 0;