aboutsummaryrefslogtreecommitdiff
path: root/polar2cartesian.pd
blob: d9f0ff7b5da4c4e0809d8dde9304d3c0e29298d0 (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
42
43
44
45
46
#N canvas 1 53 528 390 10;
#X obj 160 230 zexy/pol2cart;
#X obj 11 36 inlet radius;
#X obj 161 36 inlet angle;
#X text 12 18 input range: 0 to 1;
#X text 161 19 input range: 0 to 1;
#X obj 106 332 outlet x;
#X obj 203 334 outlet y;
#X obj 334 36 inlet z;
#X text 334 19 input range: 0 to 1;
#X obj 300 335 outlet z;
#X obj 128 147 float;
#X obj 205 147 float;
#X obj 315 146 float;
#X obj 128 76 trigger bang float bang;
#X obj 334 76 trigger bang bang float;
#X obj 204 183 mapping2radians;
#X obj 128 183 * 1.41421;
#X obj 204 271 / 2;
#X obj 204 291 + 0.5;
#X obj 106 269 / 2;
#X obj 106 289 + 0.5;
#X text 261 276 TODO: z needs to be properly scaled;
#X text 355 360 released under the GNU GPL;
#X text 8 360 (C) Copyright 2008 Hans-Christoph Steiner <hans@at.or.at>
;
#X connect 0 0 19 0;
#X connect 0 1 17 0;
#X connect 1 0 10 0;
#X connect 2 0 13 0;
#X connect 7 0 14 0;
#X connect 10 0 16 0;
#X connect 11 0 15 0;
#X connect 12 0 0 2;
#X connect 13 0 10 0;
#X connect 13 1 11 0;
#X connect 13 2 12 0;
#X connect 14 0 10 0;
#X connect 14 1 11 0;
#X connect 14 2 12 1;
#X connect 15 0 0 1;
#X connect 16 0 0 0;
#X connect 17 0 18 0;
#X connect 18 0 6 0;
#X connect 19 0 20 0;
#X connect 20 0 5 0;