/usr/lib/pd/extra/pdp/randomwalk2D.pd is in pd-3dp 1:0.14.1-3build1.
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 | #N canvas 502 172 600 400 10;
#X obj 228 221 tabread \$0-x;
#X obj 334 213 tabread \$0-y;
#X obj 228 310 tabwrite \$0-x;
#X obj 350 330 tabwrite \$0-y;
#X obj 244 259 cos;
#X obj 350 266 sin;
#X obj 351 241 * 0.0628;
#X obj 351 185 random 100;
#X obj 228 284 +;
#X obj 334 291 +;
#X obj 228 144 t f b f;
#X msg 53 237 \; \$1 const 0;
#X obj 20 199 symbol \$0-x;
#X obj 108 199 symbol \$0-y;
#X msg 88 173 bang;
#X obj 228 172 t f f;
#X obj 214 337 outlet;
#X obj 334 354 outlet;
#X obj 156 82 inlet;
#X obj 156 106 route reset;
#X obj 351 82 table \$0-x \$1;
#X obj 351 116 table \$0-y \$1;
#X text 37 20 a 2D unit step random walk abstraction for use with 3dp_for
;
#X text 335 45 creation argument = nb of vectors;
#X text 64 44 inlet = vector to update;
#X connect 0 0 8 0;
#X connect 1 0 9 0;
#X connect 4 0 8 1;
#X connect 5 0 9 1;
#X connect 6 0 4 0;
#X connect 6 0 5 0;
#X connect 7 0 6 0;
#X connect 8 0 2 0;
#X connect 8 0 16 0;
#X connect 9 0 3 0;
#X connect 9 0 17 0;
#X connect 10 0 15 0;
#X connect 10 1 7 0;
#X connect 10 2 3 1;
#X connect 10 2 2 1;
#X connect 12 0 11 0;
#X connect 13 0 11 0;
#X connect 14 0 12 0;
#X connect 14 0 13 0;
#X connect 15 0 0 0;
#X connect 15 1 1 0;
#X connect 18 0 19 0;
#X connect 19 0 14 0;
#X connect 19 1 10 0;
|