From 6c1e7f40e4d2775304736b2212b74ae0ad30b55e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juha=20Vehvil=C3=A4inen?= Date: Mon, 22 Jul 2002 11:46:05 +0000 Subject: *** empty log message *** svn path=/trunk/Framestein/; revision=41 --- Patches/17-03 example-PixelPack-overview.pd | 70 +++++++++++++++++++++++++++++ Patches/40 The Harmon.pd | 60 +++++++++++++++++++++++++ Patches/fs.rgb.pd | 4 +- Patches/vplugin.pd | 8 ++-- 4 files changed, 136 insertions(+), 6 deletions(-) create mode 100644 Patches/17-03 example-PixelPack-overview.pd create mode 100644 Patches/40 The Harmon.pd diff --git a/Patches/17-03 example-PixelPack-overview.pd b/Patches/17-03 example-PixelPack-overview.pd new file mode 100644 index 0000000..1b2214c --- /dev/null +++ b/Patches/17-03 example-PixelPack-overview.pd @@ -0,0 +1,70 @@ +#N canvas 59 1 803 627 10; +#X obj 11 41 fs.main; +#X msg 11 11 6001; +#X msg 62 12 reset; +#X obj 70 284 fs.frame; +#X obj 70 545 fs.frame; +#X obj 70 476 fs.copy; +#X text 168 301 plugins can also be copy operations; +#X text 74 574 note: 16 bit display is way faster than 24 or 32 in +my machine \, so i recommend trying out which one performs best.; +#X obj 70 38 init; +#X obj 199 499 init; +#X msg 199 521 291 x 325 \, 0 + 370; +#X floatatom 502 374 5 0 0; +#X msg 111 500 virvezoom.jpg; +#X msg 127 476 bang; +#X msg 25 227 bang; +#X obj 502 353 r pixcount; +#X text 181 372 compare ) +; +#X msg 162 356 compare 100 200 100 50 150 50 pixcount; +#X msg 160 97 convolution -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 30 -1 +-1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 6 0; +#X text 163 76 convolution as sharpen filter; +#X msg 159 147 convolution 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 25 0; +#X text 163 129 convolution as blurr filter; +#X msg 160 192 convolution -1 -1 -1 -1 0 -1 -1 0 0 1 -1 0 0 0 1 -1 +0 0 2 1 0 1 1 1 1 1 0; +#X text 543 373 number of pixels with identical colors; +#X text 181 385 replces identical pixels with secified color; +#X msg 158 233 convolution 10 10 10 10 10 10 10 10 10 10 10 10 10 10 +10 10 10 10 10 10 10 10 10 10 10 3 -9990; +#X msg 163 277 deinterlace 1; +#X msg 144 324 darken; +#X msg 180 441 shadowcaster 80 80 160 320 36 100 100 100; +#X msg 147 52 shadowcaster 80 80 160 320 36 20 10 50; +#X msg 181 410 interlace; +#X text 197 322 for more layer modes see example-PixelPack-layermodes.pd! +; +#X text 251 411 interlace two images; +#X text 442 441 cutout with shadow; +#X text 393 51 cutout and move with shadow; +#X text 197 15 PixelPack PLUGINS -- effects and copy operations; +#X msg 70 61 virvezoom.jpg; +#X connect 1 0 0 0; +#X connect 1 0 2 0; +#X connect 2 0 0 1; +#X connect 3 0 5 0; +#X connect 5 0 4 0; +#X connect 8 0 36 0; +#X connect 9 0 10 0; +#X connect 10 0 4 0; +#X connect 12 0 4 0; +#X connect 13 0 3 0; +#X connect 14 0 3 0; +#X connect 15 0 11 0; +#X connect 17 0 13 0; +#X connect 17 0 5 1; +#X connect 18 0 3 0; +#X connect 20 0 3 0; +#X connect 22 0 3 0; +#X connect 25 0 3 0; +#X connect 26 0 3 0; +#X connect 27 0 13 0; +#X connect 27 0 5 1; +#X connect 28 0 5 1; +#X connect 29 0 3 0; +#X connect 30 0 5 1; +#X connect 36 0 3 0; diff --git a/Patches/40 The Harmon.pd b/Patches/40 The Harmon.pd new file mode 100644 index 0000000..bc20773 --- /dev/null +++ b/Patches/40 The Harmon.pd @@ -0,0 +1,60 @@ +#N canvas 279 9 641 655 12; +#X floatatom 257 598 4 0 0; +#X floatatom 297 598 4 0 0; +#X floatatom 338 598 4 0 0; +#X obj 257 566 unpack f f f; +#X obj 173 528 fs.rgb; +#N canvas 0 0 298 398 beeper 0; +#X obj 90 56 inlet; +#X obj 91 92 unpack f f f; +#X obj 171 130 *; +#X obj 123 252 osc~; +#X obj 155 170 / 256; +#X obj 86 132 / 256; +#X obj 123 203 *; +#X obj 117 322 dac~; +#X obj 127 284 *~ 0.1; +#X obj 85 161 * 20000; +#X obj 196 243 / 256; +#X obj 200 332 * 0.1; +#X connect 0 0 1 0; +#X connect 1 0 5 0; +#X connect 1 0 10 0; +#X connect 1 1 2 0; +#X connect 1 2 2 1; +#X connect 2 0 4 0; +#X connect 3 0 8 0; +#X connect 4 0 6 0; +#X connect 5 0 9 0; +#X connect 6 0 3 0; +#X connect 8 0 7 0; +#X connect 8 0 7 1; +#X connect 9 0 6 1; +#X connect 10 0 11 0; +#X connect 11 0 8 1; +#X restore 173 566 pd beeper; +#X msg 33 410 \; pd dsp 1; +#X msg 33 448 \; pd dsp 0; +#X obj 173 408 init; +#X obj 11 40 fs.main; +#X msg 11 13 6001; +#X msg 53 13 reset; +#X text 32 382 Play the harmon! (scrub the image with mouse); +#X obj 173 456 fs.framed Harmon 115+70; +#X msg 173 432 HARMON.JPG \, mousetrack_1 \, display 390x327 \, bang +; +#X obj 262 482 t b l; +#X connect 3 0 0 0; +#X connect 3 1 1 0; +#X connect 3 2 2 0; +#X connect 4 0 3 0; +#X connect 4 0 5 0; +#X connect 8 0 14 0; +#X connect 10 0 9 0; +#X connect 10 0 11 0; +#X connect 11 0 9 1; +#X connect 13 0 4 0; +#X connect 13 1 15 0; +#X connect 14 0 13 0; +#X connect 15 0 4 0; +#X connect 15 1 4 1; diff --git a/Patches/fs.rgb.pd b/Patches/fs.rgb.pd index 164085c..6874573 100644 --- a/Patches/fs.rgb.pd +++ b/Patches/fs.rgb.pd @@ -1,11 +1,11 @@ -#N canvas 46 193 827 465 12; +#N canvas 46 193 829 467 12; #X obj 53 97 inlet; #X obj 54 386 outlet; #X text 26 414 outputs red \, green and blue; #X text 21 61 connection from fs.frame | x and y packed; #X obj 244 95 inlet; #X obj 53 241 fs_sender; -#X text 159 187 tell plugin where to send results!; +#X text 181 232 tell plugin where to send results!; #X obj 77 343 pack f f f; #X obj 339 150 symbol \$0rgb; #X obj 77 310 r \$0rgbred; diff --git a/Patches/vplugin.pd b/Patches/vplugin.pd index 1639dfa..5582846 100644 --- a/Patches/vplugin.pd +++ b/Patches/vplugin.pd @@ -1,9 +1,9 @@ -#N canvas 0 0 464 314 12; +#N canvas 0 0 466 316 12; #X obj 70 26 inlet; -#X obj 70 172 makefilename c:/lab/framestein/plugins/%s; #X obj 70 272 outlet; #X text 125 200 correct this path to your installation; #X obj 70 142 l2s; -#X connect 0 0 4 0; -#X connect 1 0 2 0; +#X obj 70 172 makefilename g:/fsrel/framestein/plugins/%s; +#X connect 0 0 3 0; +#X connect 3 0 4 0; #X connect 4 0 1 0; -- cgit v1.2.1