aboutsummaryrefslogtreecommitdiff
path: root/examples/niagara.pd
diff options
context:
space:
mode:
Diffstat (limited to 'examples/niagara.pd')
-rw-r--r--examples/niagara.pd21
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/niagara.pd b/examples/niagara.pd
new file mode 100644
index 0000000..f5528ca
--- /dev/null
+++ b/examples/niagara.pd
@@ -0,0 +1,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;