aboutsummaryrefslogtreecommitdiff
path: root/examples/niagara.pd
blob: d77e0a7d6fae80e644fdf570196b9b0e51ce30d5 (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
#N canvas 87 562 895 337 10;
#X floatatom 134 178 0 0 0 0 - - -;
#X obj 69 206 niagara 12;
#X obj 69 288 print LEFT;
#X obj 124 269 print RIGHT;
#X msg 69 103 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 169 179 where to divide;
#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 90 122 some water will go down on the left side of the rock
and the rest will come down on the other side;
#X text 398 105 a list;
#X text 492 131 not a list \, but works too;
#X text 679 12 part of zexy;
#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 12 0 1 0;