aboutsummaryrefslogtreecommitdiff
path: root/quartic.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-04-12 04:43:57 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-04-12 04:43:57 +0000
commit9326d1df4dde05b6ce826d87dd9feef78b3fcb4b (patch)
tree2e169005988cf049e39d0d018e1c5e2979a22bbb /quartic.pd
parent51507febc36a46c835076f8dc923c3f58c08fdaf (diff)
whipped out the quartic function
svn path=/trunk/externals/mapping/; revision=7557
Diffstat (limited to 'quartic.pd')
-rw-r--r--quartic.pd23
1 files changed, 23 insertions, 0 deletions
diff --git a/quartic.pd b/quartic.pd
new file mode 100644
index 0000000..0382d37
--- /dev/null
+++ b/quartic.pd
@@ -0,0 +1,23 @@
+#N canvas 213 136 569 383 10;
+#X obj 52 10 inlet;
+#X obj 387 9 inlet;
+#X obj 52 324 outlet;
+#X obj 300 10 loadbang;
+#X obj 227 9 inlet;
+#X obj 227 50 purepd/float_argument \$1;
+#X obj 387 50 purepd/float_argument \$2;
+#X obj 227 95 -;
+#X msg 227 73 1 \$1;
+#X obj 52 159 expr (1-2*$f2)*pow($f1 \, 2) + (2*$f2)*$f1;
+#X obj 52 190 expr (1-2*$f2)*pow($f1 \, 2) + (2*$f2)*$f1;
+#X connect 0 0 9 0;
+#X connect 1 0 6 0;
+#X connect 3 0 5 0;
+#X connect 3 0 6 0;
+#X connect 4 0 5 0;
+#X connect 5 0 8 0;
+#X connect 6 0 10 1;
+#X connect 7 0 9 1;
+#X connect 8 0 7 0;
+#X connect 9 0 10 0;
+#X connect 10 0 2 0;