From 043dfe0ae677c018cde28cb84e1abe5ae1fe5205 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 29 Jan 2006 05:43:33 +0000 Subject: this is the first checkin for the new mapping lib, which is a join effort of Cyrille and Hans. We are combining Cyrille's ds_/datastream classes with my hid_* classes, and I think Cyrille has drawn on the La-Kitchen classes for working with sensors. svn path=/trunk/externals/mapping/; revision=4514 --- pd/polar.pd | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pd/polar.pd (limited to 'pd/polar.pd') diff --git a/pd/polar.pd b/pd/polar.pd new file mode 100644 index 0000000..a982061 --- /dev/null +++ b/pd/polar.pd @@ -0,0 +1,31 @@ +#N canvas 189 157 476 419 10; +#X obj 30 58 inlet; +#X obj 25 313 outlet; +#X text 73 313 output range: 0 to 1; +#X text 72 57 input range: 0 to 1; +#X text 11 5 [hid_polar]; +#X obj 232 312 outlet; +#X obj 224 56 inlet; +#X text 264 57 input range: 0 to 1; +#X text 29 29 x-axis value; +#X text 221 26 y-axis value; +#X obj 252 140 - 1; +#X obj 252 120 * 2; +#X obj 29 140 - 1; +#X obj 29 120 * 2; +#X text 61 125 convert range to -1 to 1; +#X text 280 312 output range: 0 to 1; +#X text 245 371 released under the GNU GPL; +#X text 28 357 (C) Copyright 2005 Hans-Christoph Steiner +; +#X text 23 331 radius; +#X text 230 332 angle; +#X obj 88 218 vector; +#X connect 0 0 13 0; +#X connect 6 0 11 0; +#X connect 10 0 20 1; +#X connect 11 0 10 0; +#X connect 12 0 20 0; +#X connect 13 0 12 0; +#X connect 20 0 1 0; +#X connect 20 1 5 0; -- cgit v1.2.1