/usr/lib/pd/extra/zexy/coordinates-help.pd is in pd-zexy 2.2.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | #N canvas 0 31 715 510 10;
#X text 122 40 convert between SPHeric \, POLar and CARTesian coordinates
;
#X obj 99 305 cart2sph;
#X floatatom 150 286 5 0 0 0 z - -;
#X floatatom 124 268 5 0 0 0 y - -;
#X floatatom 99 248 5 0 0 0 x - -;
#X floatatom 150 366 5 0 0 0 theta - -;
#X floatatom 124 348 5 0 0 0 phi - -;
#X floatatom 99 328 5 0 0 0 r - -;
#X floatatom 150 116 5 0 0 0 z - -;
#X floatatom 124 98 5 0 0 0 y - -;
#X floatatom 99 78 5 0 0 0 x - -;
#X floatatom 150 196 5 0 0 0 z - -;
#X floatatom 124 178 5 0 0 0 phi - -;
#X floatatom 99 158 5 0 0 0 r - -;
#X obj 99 135 cart2pol;
#X floatatom 353 116 5 0 0 0 z - -;
#X floatatom 331 98 5 0 0 0 phi - -;
#X floatatom 309 78 5 0 0 0 r - -;
#X floatatom 353 196 5 0 0 0 theta - -;
#X floatatom 331 178 5 0 0 0 phi - -;
#X floatatom 309 158 5 0 0 0 r - -;
#X floatatom 360 286 5 0 0 0 z - -;
#X floatatom 334 268 5 0 0 0 phi - -;
#X floatatom 309 248 5 0 0 0 r - -;
#X floatatom 360 366 5 0 0 0 z - -;
#X floatatom 334 348 5 0 0 0 y - -;
#X floatatom 309 328 5 0 0 0 x - -;
#X floatatom 573 286 5 0 0 0 theta - -;
#X floatatom 551 268 5 0 0 0 phi - -;
#X floatatom 529 248 5 0 0 0 r - -;
#X floatatom 573 366 5 0 0 0 z - -;
#X floatatom 551 348 5 0 0 0 phi - -;
#X floatatom 529 328 5 0 0 0 r - -;
#X obj 529 305 sph2pol;
#X floatatom 580 116 5 0 0 0 theta - -;
#X floatatom 554 98 5 0 0 0 phi - -;
#X floatatom 529 78 5 0 0 0 r - -;
#X floatatom 580 196 5 0 0 0 z - -;
#X floatatom 554 178 5 0 0 0 y - -;
#X floatatom 529 158 5 0 0 0 x - -;
#X obj 529 135 sph2cart;
#X obj 309 135 pol2sph;
#X obj 309 305 pol2cart;
#X text 112 450 angles are given in RADian \, if you want DEGree you
might want to use [deg2rad] and [rad2deg];
#X text 599 17 part of zexy;
#N canvas 473 173 494 344 META 0;
#X text 12 235 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
Wilkes for Pd version 0.42.;
#X text 12 45 LICENSE GPL v2;
#X text 12 25 KEYWORDS control abstraction conversion;
#X text 12 215 AUTHOR IOhannes m zmoelnig;
#X text 12 65 DESCRIPTION convert between spheric \, polar and cartesian
coordinates;
#X text 12 95 INLET_0 float;
#X text 12 115 INLET_1 float;
#X text 12 135 INLET_2 float;
#X text 12 155 OUTLET_0 float;
#X text 12 175 OUTLET_1 float;
#X text 12 196 OUTLET_2 float;
#X text 12 5 NAME cart2pol pol2sph sph2cart cart2sph pol2cart sph2pol
;
#X restore 664 487 pd META;
#X connect 1 0 7 0;
#X connect 1 1 6 0;
#X connect 1 2 5 0;
#X connect 2 0 1 2;
#X connect 3 0 1 1;
#X connect 4 0 1 0;
#X connect 8 0 14 2;
#X connect 9 0 14 1;
#X connect 10 0 14 0;
#X connect 14 0 13 0;
#X connect 14 1 12 0;
#X connect 14 2 11 0;
#X connect 15 0 41 2;
#X connect 16 0 41 1;
#X connect 17 0 41 0;
#X connect 21 0 42 2;
#X connect 22 0 42 1;
#X connect 23 0 42 0;
#X connect 27 0 33 2;
#X connect 28 0 33 1;
#X connect 29 0 33 0;
#X connect 33 0 32 0;
#X connect 33 1 31 0;
#X connect 33 2 30 0;
#X connect 34 0 40 2;
#X connect 35 0 40 1;
#X connect 36 0 40 0;
#X connect 40 0 39 0;
#X connect 40 1 38 0;
#X connect 40 2 37 0;
#X connect 41 0 20 0;
#X connect 41 1 19 0;
#X connect 41 2 18 0;
#X connect 42 0 26 0;
#X connect 42 1 25 0;
#X connect 42 2 24 0;
|