[Gridflow-cvs] [svn] commit: r5899 - in /trunk/doc/flow_classes: #fade-help.pd #lop_space-help.pd

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Mon Aug 2 18:40:03 EDT 2010


Author: matju
Date: Mon Aug  2 18:40:01 2010
New Revision: 5899

Log:
...

Modified:
    trunk/doc/flow_classes/#fade-help.pd
    trunk/doc/flow_classes/#lop_space-help.pd

Modified: trunk/doc/flow_classes/#fade-help.pd
==============================================================================
--- trunk/doc/flow_classes/#fade-help.pd (original)
+++ trunk/doc/flow_classes/#fade-help.pd Mon Aug  2 18:40:01 2010
@@ -1,4 +1,4 @@
-#N canvas 648 0 632 679 10;
+#N canvas 596 0 632 679 10;
 #X obj 195 217 #out window;
 #X obj 195 78 bng 15 250 50 0 empty empty empty 0 -6 0 8 -204786 -1
 -1;
@@ -8,33 +8,30 @@
 #X obj 195 42 tgl 15 0 empty empty empty 0 -6 0 8 -204786 -1 -1 0 1
 ;
 #X obj 0 0 doc_h;
-#X obj 3 707 doc_i 2;
-#X obj 3 791 doc_o 1;
-#X obj 14 821 doc_oo 0;
-#X obj 14 737 doc_ii 0;
-#X obj 14 759 doc_ii 1;
+#X obj 3 781 doc_i 2;
+#X obj 3 865 doc_o 1;
+#X obj 14 895 doc_oo 0;
+#X obj 14 811 doc_ii 0;
+#X obj 14 833 doc_ii 1;
 #X obj 3 275 doc_c 1;
-#X obj 97 737 doc_m i0 grid;
-#X obj 97 759 doc_m i1 grid;
-#X obj 3 853 doc_also;
-#X obj 103 853 lop~;
+#X obj 97 811 doc_m i0 grid;
+#X obj 97 833 doc_m i1 grid;
+#X obj 3 927 doc_also;
+#X obj 103 927 lop~;
 #X obj 14 305 doc_cc 0;
 #X obj 97 305 doc_m c0 grid;
-#X obj 232 759 doc_same 0;
-#X obj 97 821 doc_m o0 grid;
-#X obj 0 873 doc_f;
-#X text 232 737 grids that are blended into each other over time.;
+#X obj 232 833 doc_same 0;
+#X obj 97 895 doc_m o0 grid;
+#X obj 0 947 doc_f;
 #X msg 228 97 load b001.jpg;
 #X msg 234 116 load r001.jpg;
 #X text 11 29 temporal low-pass filter;
 #X text 232 305 indicates the amount of one image being blended with
 the other. this is one divided by the fraction of the input that will
 be blended with the previous output.;
-#X text 232 353 for example \, an argument of 5 will output the sum
-of 1/5th of the input and 4/5ths of the previous output.;
-#X text 232 388 for values that are not powers of two \, the computation
+#X text 232 414 for values that are not powers of two \, the computation
 may be less precise.;
-#X text 232 423 because this uses feedback \, you can compute the influence
+#X text 232 449 because this uses feedback \, you can compute the influence
 of a certain input on a certain later output using a recursive reasoning
 : for example \, for a [#fade 4] \, 3/4 of the previous output was
 made from 3/4 of its own previous output \, which was in turn made
@@ -46,36 +43,72 @@
 #X text 337 114 change picture here;
 #X msg 240 135 load g001.jpg;
 #X obj 329 91 doc_accolade;
-#X obj 139 853 rpole~;
-#X text 232 523 [#fade 4] is similar to [*~ 0.25]-[rpole~ 0.75] : that
+#X obj 139 927 rpole~;
+#X text 232 549 [#fade 4] is similar to [*~ 0.25]-[rpole~ 0.75] : that
 is \, you do one divided by the #fade argument to make the *~ argument
 \, and then 1 minus the *~ argument to make the rpole~ argument. This
 in turn is equivalent to a certain [lop~] but that's depending on the
 sampling rate.;
-#X text 232 597 you can increase precision of [#fade] by using a certain
+#X text 232 623 you can increase precision of [#fade] by using a certain
 [# <<] and the opposite [# >>] \, around [#fade] \, to momentarily
 widen the range of possible values used by [#fade]. This will lower
 the amount of residue that may stay in the output for too long or not
 long enough (compared to the theory of the fractions because the fractions
 assume no rounding).;
-#X connect 1 0 30 0;
-#X connect 2 0 30 1;
-#X connect 3 0 31 1;
+#X obj 16 417 f;
+#X obj 40 417 + 1;
+#X obj 16 381 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X floatatom 16 455 5 0 0 0 - - -;
+#X floatatom 180 408 5 0 0 0 - - -;
+#X obj 16 398 metro 50;
+#X obj 16 492 # sq-;
+#X obj 16 549 display;
+#X obj 16 436 expr cos($f1*2*3.141593/$f2)*1000;
+#X obj 16 530 # sqrt;
+#X obj 16 511 #fade 64;
+#X obj 16 473 #fade 8;
+#X text 232 723 argument \$1 has a cutoff period of pi*\$1 frames \,
+for values of \$1 that are neither too big nor too small (guess what
+those are...).;
+#X text 232 811 grid that gradually change the output.;
+#X text 232 895 output being gradually changed by the input.;
+#X text 232 353 for example \, an argument of 5 will output the sum
+of 1/5th of the input and 4/5ths of the previous output. thus \, the
+rate of change of the output is 1/5th of the difference between the
+(previous) output and the input.;
+#X connect 1 0 28 0;
+#X connect 2 0 28 1;
+#X connect 3 0 29 1;
 #X connect 4 0 1 0;
 #X connect 5 0 4 0;
-#X connect 13 1 22 0;
+#X connect 13 1 50 0;
 #X connect 14 1 19 0;
 #X connect 15 1 16 0;
-#X connect 15 1 36 0;
+#X connect 15 1 34 0;
+#X connect 18 1 25 0;
+#X connect 18 1 52 0;
 #X connect 18 1 26 0;
 #X connect 18 1 27 0;
-#X connect 18 1 28 0;
-#X connect 18 1 29 0;
-#X connect 18 1 37 0;
-#X connect 18 1 38 0;
+#X connect 18 1 35 0;
+#X connect 18 1 36 0;
+#X connect 18 1 49 0;
+#X connect 20 1 51 0;
+#X connect 22 0 2 0;
 #X connect 23 0 2 0;
-#X connect 24 0 2 0;
-#X connect 30 0 31 0;
-#X connect 31 0 0 0;
-#X connect 32 0 23 0;
-#X connect 34 0 2 0;
+#X connect 28 0 29 0;
+#X connect 29 0 0 0;
+#X connect 30 0 22 0;
+#X connect 32 0 2 0;
+#X connect 37 0 38 0;
+#X connect 37 0 45 0;
+#X connect 38 0 37 1;
+#X connect 39 0 42 0;
+#X connect 40 0 48 0;
+#X connect 41 0 45 1;
+#X connect 42 0 37 0;
+#X connect 43 0 47 0;
+#X connect 45 0 40 0;
+#X connect 46 0 44 0;
+#X connect 47 0 46 0;
+#X connect 48 0 43 0;

Modified: trunk/doc/flow_classes/#lop_space-help.pd
==============================================================================
--- trunk/doc/flow_classes/#lop_space-help.pd (original)
+++ trunk/doc/flow_classes/#lop_space-help.pd Mon Aug  2 18:40:01 2010
@@ -1,92 +1,116 @@
-#N canvas 596 114 632 568 10;
+#N canvas 596 124 632 594 10;
 #X obj 0 0 doc_h;
-#X obj 0 534 doc_f;
-#X obj 3 101 doc_c 2;
-#X obj 3 452 doc_o 1;
-#X obj 14 482 doc_oo 0;
-#X obj 14 396 doc_ii 0;
-#X obj 14 133 doc_cc 0;
-#X obj 14 157 doc_cc 1;
-#X obj 97 482 doc_m o0 grid;
-#X obj 97 396 doc_m i0 grid;
-#X obj 3 364 doc_i 2;
-#X obj 14 420 doc_ii 1;
-#X obj 97 420 doc_m i1 grid;
-#X obj 97 157 doc_m c1 grid;
-#X obj 97 133 doc_m c0 float;
-#X text 232 133 number of the dimension to apply the low-pass filter
-on;
-#X obj 24 48 #lop_space 1 16;
-#X obj 232 420 doc_same 1;
-#X text 232 396 grid to be low-passed;
-#X text 232 482 result;
-#X text 232 157 coefficients of the filter. 0 means the output will
+#X obj 0 560 doc_f;
+#X obj 3 149 doc_c 2;
+#X obj 3 478 doc_o 1;
+#X obj 14 508 doc_oo 0;
+#X obj 14 424 doc_ii 0;
+#X obj 14 179 doc_cc 0;
+#X obj 14 214 doc_cc 1;
+#X obj 97 508 doc_m o0 grid;
+#X obj 97 424 doc_m i0 grid;
+#X obj 3 394 doc_i 2;
+#X obj 14 446 doc_ii 1;
+#X obj 97 446 doc_m i1 grid;
+#X obj 97 214 doc_m c1 grid;
+#X obj 97 179 doc_m c0 float;
+#X obj 232 446 doc_same 1;
+#X text 232 424 grid to be low-passed;
+#X text 232 508 result;
+#X text 232 214 coefficients of the filter. 0 means the output will
 be all zeroes. 256 leaves picture unchanged. values inside that range
 will give a blur (low pass). negative values gives unstable results.
 values between 256 and 512 will give a kind of sharpening effect. values
 beyond that are unstable.;
-#X obj 273 41 lop~;
-#X text 147 41 apply something like;
-#X text 148 59 from row to row or column to column in the same image.
+#X obj 395 41 lop~;
+#X text 269 41 apply something like;
+#X text 268 59 from row to row or column to column in the same image.
 ;
-#N canvas 495 187 663 316 test-cutoff 0;
-#X obj 16 91 # cos* 1000;
-#X obj 16 148 # sq-;
-#X obj 16 167 #fold +;
-#X obj 16 224 display;
-#X obj 16 53 #for 0 1024 1;
-#X obj 16 110 #redim (1 1024);
-#X obj 16 186 # / 1024;
-#X obj 16 205 # sqrt;
-#X obj 16 34 metro 100;
-#X obj 154 3 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1
-;
-#X floatatom 109 92 5 0 0 0 - - -;
-#X obj 116 168 display;
-#X obj 16 129 #lop_space 1 171;
-#X obj 16 72 # * 2250;
-#X obj 156 29 display;
-#X obj 155 55 display;
-#X obj 213 59 print;
-#X connect 0 0 5 0;
-#X connect 1 0 2 0;
-#X connect 2 0 6 0;
-#X connect 4 0 13 0;
-#X connect 5 0 12 0;
-#X connect 6 0 7 0;
-#X connect 7 0 3 0;
-#X connect 8 0 4 0;
-#X connect 8 0 15 0;
-#X connect 8 0 16 0;
-#X connect 9 0 8 0;
-#X connect 9 0 14 0;
-#X connect 10 0 12 1;
-#X connect 12 0 1 0;
-#X connect 12 0 11 0;
-#X connect 13 0 0 0;
+#N canvas 857 67 388 530 test-cutoff 1;
+#X obj 6 257 #fold +;
+#X obj 6 314 display;
+#X obj 6 43 #for 0 1024 1;
+#X obj 6 100 #redim (1 1024);
+#X obj 6 295 # sqrt;
+#X obj 6 24 metro 100;
+#X obj 6 7 tgl 15 0 empty empty empty 17 7 0 10 -204786 -1 -1 1 1;
+#X floatatom 108 119 5 0 0 0 - - -;
+#X obj 6 119 #lop_space 1 171;
+#X obj 110 276 #window;
+#X obj 110 143 spigot;
+#X obj 212 197 tgl 15 0 empty empty empty 17 7 0 10 -204800 -1 -1 1
+1;
+#X obj 110 257 # * 255;
+#X obj 110 181 t a a;
+#X obj 110 200 #finished;
+#X obj 110 238 #outer <;
+#X obj 110 162 #redim (1024 1);
+#X obj 6 219 # sq-;
+#X obj 6 238 # / 32;
+#X obj 6 276 # / 32;
+#X obj 110 219 #for -16384 16384 256;
+#X obj 6 81 # cos* 10000;
+#X text 3 332 rms @ 256 : 7070 = environ 10000/sqrt(2);
+#X text 3 345 rms @ cutoff : 3535;
+#X text 96 61 wavelength = 16 \, freq = 36000/16 = 2250 c⁰;
+#X obj 245 105 inv* 36000;
+#X floatatom 245 87 5 0 0 0 - - -;
+#X floatatom 245 124 5 0 0 0 - - -;
+#X obj 6 62 # * 1500;
+#X text 3 376 \$2=28... -> 32;
+#X text 3 361 \$2=50... -> cutoff wavelength 16;
+#X text 3 390 \$2=90... -> 8;
+#X text 3 404 \$2=134... -> 4;
+#X text 3 418 \$2=35... -> 24;
+#X connect 0 0 19 0;
+#X connect 2 0 28 0;
+#X connect 3 0 8 0;
+#X connect 4 0 1 0;
+#X connect 5 0 2 0;
+#X connect 6 0 5 0;
+#X connect 7 0 8 1;
+#X connect 8 0 10 0;
+#X connect 8 0 17 0;
+#X connect 10 0 16 0;
+#X connect 11 0 10 1;
+#X connect 11 0 9 1;
+#X connect 12 0 9 0;
+#X connect 13 0 14 0;
+#X connect 13 1 15 1;
+#X connect 14 0 20 0;
+#X connect 15 0 12 0;
+#X connect 16 0 13 0;
+#X connect 17 0 18 0;
+#X connect 18 0 0 0;
+#X connect 19 0 4 0;
+#X connect 20 0 15 0;
+#X connect 21 0 3 0;
+#X connect 25 0 27 0;
+#X connect 26 0 25 0;
+#X connect 28 0 21 0;
 #X restore 522 29 pd test-cutoff;
-#X text 232 231 Nyquist/2 has a cutoff at about 171;
-#X text 232 253 Nyquist/4 has a cutoff at about 188;
-#X text 232 275 Nyquist/8 has a cutoff at about 135;
-#X text 232 297 Nyquist/16 has a cutoff at about 83 \, etcætera;
-#X text 232 319 generally \, [#lop_space d n] is closely related to
+#X text 232 349 generally \, [#lop_space d n] is closely related to
 [rpole~ n/256]---[*~ 1-n/256];
-#X obj 3 514 doc_also;
-#X obj 103 514 #convolve;
-#X obj 169 514 #fade;
-#X obj 211 514 rpole~;
-#X obj 259 514 lop~;
-#X connect 8 1 19 0;
-#X connect 9 1 18 0;
-#X connect 12 1 17 0;
-#X connect 13 1 20 0;
-#X connect 13 1 25 0;
-#X connect 13 1 26 0;
-#X connect 13 1 27 0;
-#X connect 13 1 28 0;
-#X connect 13 1 29 0;
-#X connect 14 1 15 0;
-#X connect 30 1 31 0;
-#X connect 30 1 32 1;
-#X connect 30 1 33 0;
-#X connect 30 1 34 0;
+#X obj 3 540 doc_also;
+#X obj 103 540 #convolve;
+#X obj 169 540 #fade;
+#X obj 211 540 rpole~;
+#X obj 259 540 lop~;
+#X text 232 179 number of the dimension to apply the low-pass filter
+on (default: 0);
+#X obj 43 78 #lop_space;
+#X text 232 288 for a coefficient \$2 \, the cutoff wavelength is about
+804/\$2 pixels \, for small enough values of \$2. This means the cutoff
+frequency is about 804/\$2 antipixels. The value 804 is actually 256
+times pi.;
+#X connect 8 1 17 0;
+#X connect 9 1 16 0;
+#X connect 12 1 15 0;
+#X connect 13 1 18 0;
+#X connect 13 1 31 0;
+#X connect 13 1 23 0;
+#X connect 14 1 29 0;
+#X connect 24 1 25 0;
+#X connect 24 1 26 1;
+#X connect 24 1 27 0;
+#X connect 24 1 28 0;



More information about the Gridflow-cvs mailing list