aboutsummaryrefslogtreecommitdiff
path: root/divmod-help.pd
diff options
context:
space:
mode:
Diffstat (limited to 'divmod-help.pd')
-rw-r--r--divmod-help.pd20
1 files changed, 20 insertions, 0 deletions
diff --git a/divmod-help.pd b/divmod-help.pd
new file mode 100644
index 0000000..5e0018b
--- /dev/null
+++ b/divmod-help.pd
@@ -0,0 +1,20 @@
+#N canvas 328 264 464 316 12;
+#X floatatom 54 239 5 0 0;
+#X floatatom 54 127 5 0 0;
+#X floatatom 129 127 5 0 0;
+#X obj 54 172 divmod 8 6;
+#X text 146 170 use creation arguments to set initial;
+#X text 146 186 values for inlets;
+#X msg 23 83 bang;
+#X text 69 82 calculate and output result now;
+#X floatatom 129 219 5 0 0;
+#X text 182 222 modulo;
+#X text 106 242 result of division;
+#X text 186 127 takes int's only!;
+#X text 12 19 divmod :: calculate division and modulo;
+#X text 92 35 outputs results even when right inlet changes;
+#X connect 1 0 3 0;
+#X connect 2 0 3 1;
+#X connect 3 0 0 0;
+#X connect 3 1 8 0;
+#X connect 6 0 3 0;