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/degrees2mapping.pd | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pd/degrees2mapping.pd (limited to 'pd/degrees2mapping.pd') diff --git a/pd/degrees2mapping.pd b/pd/degrees2mapping.pd new file mode 100644 index 0000000..ee9ac47 --- /dev/null +++ b/pd/degrees2mapping.pd @@ -0,0 +1,25 @@ +#N canvas 380 212 444 356 10; +#X obj 88 30 inlet; +#X obj 89 264 outlet; +#X text 232 311 released under the GNU GPL; +#X text 15 297 (C) Copyright 2005 Hans-Christoph Steiner +; +#X text 143 264 output range: 0 to 360 \, 0 = north/top; +#X text 19 9 [deg2hid]; +#X text 129 28 input range: 0 to 360 \, 0 = east/right; +#X obj 88 170 / 360; +#X text 162 108 % is an int operation; +#X text 169 126 this saves accuracy; +#X obj 89 121 % 3.6e+07; +#X obj 89 142 / 100000; +#X obj 89 100 * 100000; +#X obj 45 210 moses 0; +#X obj 45 230 + 1; +#X connect 0 0 12 0; +#X connect 7 0 13 0; +#X connect 10 0 11 0; +#X connect 11 0 7 0; +#X connect 12 0 10 0; +#X connect 13 0 14 0; +#X connect 13 1 1 0; +#X connect 14 0 1 0; -- cgit v1.2.1