/usr/share/gem/examples/04.video/01.VideoPaint.pd is in gem-doc 1:0.93.3-7.
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 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | #N canvas 38 374 800 574 10;
#X obj 50 130 gemhead;
#X obj 50 493 square;
#X obj 50 371 alpha;
#X obj 50 174 pix_video;
#X obj 50 267 pix_texture;
#X msg 136 456 4;
#X msg 167 456 2;
#X obj 50 392 depth;
#X obj 50 243 pix_threshold;
#X text 375 217 click on bang to;
#X text 187 90 click on these for fun;
#X text 388 69 turn on rendering before turning on the metro.;
#X text 437 86 If you don't \, it may crash/not work;
#X text 375 229 clear the screen;
#X obj 50 447 rotate;
#X obj 50 89 t b b;
#X floatatom 192 179 5 0 100 2 threshold - -;
#X obj 50 9 tgl 15 0 empty empty run 0 -6 0 10 -4034 -1 -1 0 1;
#X obj 195 144 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 10 -228856
-1 -1 0 1;
#X obj 176 230 hsl 128 15 0 1 0 1 empty empty R 12 8 1 12 -261689 -1
-1 12700 1;
#X obj 176 250 hsl 128 15 0 1 0 1 empty empty G 12 8 1 12 -225271 -1
-1 12700 1;
#X obj 176 270 hsl 128 15 0 1 0 1 empty empty B 12 8 1 12 -228992 -1
-1 12700 1;
#X obj 218 458 hsl 128 15 0.5 5 0 0 empty empty empty -2 -6 0 10 -232576
-1 -1 0 1;
#X floatatom 219 481 5 0 0 0 - - -;
#X obj 83 40 hsl 128 15 10 127 0 1 empty empty empty -2 -6 0 10 -204786
-1 -1 9900 1;
#X floatatom 93 63 5 0 0 0 - - -;
#X obj 50 62 metro;
#X obj 207 354 + 1;
#X obj 482 243 bng 15 250 50 0 empty empty empty 0 -6 0 10 -128992
-1 -1;
#X msg 80 18 100;
#X obj 176 290 hsl 128 15 0 1 0 1 empty empty A 12 8 1 12 -195568 -1
-1 12700 1;
#X obj 50 319 colorRGB 1 1 1 0.15;
#X obj 233 354 % 360;
#X obj 180 354 i;
#X floatatom 180 375 5 0 0 0 - - -;
#N canvas 87 154 247 179 Gem.init 0;
#X obj 118 46 loadbang;
#X obj 118 113 outlet;
#X msg 118 81 reset \, buffer 1;
#X connect 0 0 2 0;
#X connect 2 0 1 0;
#X restore 533 345 pd Gem.init;
#N canvas 340 107 682 322 gemwin 0;
#X obj 102 122 tgl 15 0 \$0-gemstart \$0-gemstart empty 17 7 0 10 -262144
-1 -1 0 1;
#X obj 102 161 r \$0-gemstart;
#X obj 102 182 select 1 0;
#X msg 102 214 create \, 1;
#X msg 177 215 destroy;
#X obj 102 239 t a;
#X obj 318 54 inlet;
#X obj 318 255 gemwin;
#X obj 318 100 t a a;
#X obj 318 287 outlet;
#X obj 350 128 route create destroy;
#X obj 350 150 t b;
#X msg 350 172 1;
#X obj 390 150 t b;
#X msg 390 172 0;
#X obj 350 195 t f;
#X msg 350 219 set \$1;
#X text 118 122 rendering;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 2 1 4 0;
#X connect 3 0 5 0;
#X connect 4 0 5 0;
#X connect 5 0 8 0;
#X connect 6 0 8 0;
#X connect 7 0 9 0;
#X connect 8 0 7 0;
#X connect 8 1 10 0;
#X connect 10 0 11 0;
#X connect 10 1 13 0;
#X connect 11 0 12 0;
#X connect 12 0 15 0;
#X connect 13 0 14 0;
#X connect 14 0 15 0;
#X connect 15 0 16 0;
#X connect 16 0 0 0;
#X coords 0 -1 1 1 85 40 1 100 100;
#X restore 503 362 pd gemwin;
#X connect 0 0 3 0;
#X connect 2 0 7 0;
#X connect 3 0 8 0;
#X connect 4 0 31 0;
#X connect 5 0 1 1;
#X connect 6 0 1 1;
#X connect 7 0 14 0;
#X connect 8 0 4 0;
#X connect 14 0 1 0;
#X connect 15 0 0 0;
#X connect 15 1 33 0;
#X connect 16 0 8 1;
#X connect 17 0 26 0;
#X connect 18 0 16 0;
#X connect 19 0 31 1;
#X connect 20 0 31 2;
#X connect 21 0 31 3;
#X connect 22 0 1 1;
#X connect 22 0 23 0;
#X connect 24 0 25 0;
#X connect 24 0 26 1;
#X connect 26 0 15 0;
#X connect 27 0 32 0;
#X connect 28 0 36 0;
#X connect 29 0 24 0;
#X connect 30 0 31 4;
#X connect 31 0 2 0;
#X connect 32 0 33 1;
#X connect 33 0 27 0;
#X connect 33 0 34 0;
#X connect 34 0 14 1;
#X connect 35 0 36 0;
|