From 480b757207c659f0c3e06277e29733b52d46bcdc Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 13 Apr 2005 03:47:20 +0000 Subject: - created a suite of hid objects for using polar coordinates and converting between the range of 0-1 and degrees/radians. - made two joystick/polar examples - added some pretty colors to help patches svn path=/trunk/externals/hcs/hid/; revision=2754 --- doc/deg2hid-help.pd | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 doc/deg2hid-help.pd (limited to 'doc/deg2hid-help.pd') diff --git a/doc/deg2hid-help.pd b/doc/deg2hid-help.pd new file mode 100644 index 0000000..041c618 --- /dev/null +++ b/doc/deg2hid-help.pd @@ -0,0 +1,24 @@ +#N canvas 82 386 483 323 10; +#X obj 5 2 cnv 15 450 20 empty empty [deg2hid] 2 11 1 18 -233017 -66577 +0; +#X obj 422 3 pddp; +#X text 254 269 released under the GNU GPL; +#X text 185 228 For more info:; +#X obj 289 226 all_about_hid_mapping; +#X text 40 254 (C) Copyright 2005 Hans-Christoph Steiner +; +#X text 300 168 related objects:; +#X obj 333 184 rad2hid; +#X floatatom 56 203 7 0 0 1 - - -; +#X obj 59 103 hsl 300 15 -720 720 0 0 empty empty degrees 6 7 1 10 +-262131 -1 -1 3100 0; +#X floatatom 82 133 5 0 0 0 - - -; +#X text 26 34 This object converts numbers from the [hid] range (0 +to 1) to radians (-pi to pi) with the 0's lining up in the same place. +; +#X obj 274 184 hid2rad; +#X obj 392 184 hid2deg; +#X obj 56 168 deg2hid; +#X connect 9 0 10 0; +#X connect 9 0 14 0; +#X connect 14 0 8 0; -- cgit v1.2.1