aboutsummaryrefslogtreecommitdiff
path: root/doc/hid_polar-help.pd
blob: 03915558fe17cb39f551cca1eda13ccd1ad718a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#N canvas 601 232 482 455 10;
#X declare -lib hid;
#X obj 5 2 cnv 15 450 20 empty empty hid_polar 2 11 1 18 -233017
-66577 0;
#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp;
#X text 244 411 released under the GNU GPL;
#X floatatom 100 248 5 0 0 0 - - -;
#X floatatom 100 335 7 0 0 0 radius-> - -;
#X text 124 370 For more info:;
#X obj 228 368 pddp/pddplink ../all_about_hid_mapping.pd -text all_about_hid_mapping;
#X obj 100 295 hid/hid_polar;
#X text 27 397 (C) Copyright 2005 Hans-Christoph Steiner <hans@at.or.at>
;
#X obj 101 161 hsl 128 15 0 1 0 0 empty empty x-axis 133 7 1 10 -225280
-1 -1 0 0;
#X obj 157 103 vsl 15 128 0 1 0 0 empty empty y-axis -6 -9 1 10 -261681
-1 -1 0 0;
#X floatatom 159 335 7 0 0 1 <-angle - -;
#X floatatom 158 248 5 0 0 0 - - -;
#X obj 157 265 t b f;
#X obj 334 335 polar-joystick;
#X text 275 273 related objects:;
#X text 273 334 example:;
#X msg 97 86 0.5;
#X text 43 86 center:;
#X text 17 29 Converts cartesian coordinates(x \, y) to polar coordinates
(radius \, angle). The angle is in radians (-pi to pi). The angle 0
is at cartesian (1 \, 0.5) or to the right.;
#X obj 361 293 hid/hid_spiral;
#X obj 245 293 hid/hid2rad;
#X obj 303 293 hid/hid2deg;
#X connect 3 0 7 0;
#X connect 7 0 4 0;
#X connect 7 1 11 0;
#X connect 9 0 3 0;
#X connect 10 0 12 0;
#X connect 12 0 13 0;
#X connect 13 0 3 0;
#X connect 13 1 7 1;
#X connect 17 0 9 0;
#X connect 17 0 10 0;