[Gridflow-cvs] [svn] commit: r4748 - in /trunk/doc/flow_classes: #saturation-help.pd #scale_by-help.pd #scale_to-help.pd #scan-help.pd #seq_fold-help.pd #slice-help.pd #solarize-help.pd #sort-help.pd #spread-help.pd #store-help.pd #swap-help.pd

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Wed Nov 4 21:52:48 EST 2009


Author: matju
Date: Wed Nov  4 21:52:48 2009
New Revision: 4748

Log:
0.9.6

Modified:
    trunk/doc/flow_classes/#saturation-help.pd
    trunk/doc/flow_classes/#scale_by-help.pd
    trunk/doc/flow_classes/#scale_to-help.pd
    trunk/doc/flow_classes/#scan-help.pd
    trunk/doc/flow_classes/#seq_fold-help.pd
    trunk/doc/flow_classes/#slice-help.pd
    trunk/doc/flow_classes/#solarize-help.pd
    trunk/doc/flow_classes/#sort-help.pd
    trunk/doc/flow_classes/#spread-help.pd
    trunk/doc/flow_classes/#store-help.pd
    trunk/doc/flow_classes/#swap-help.pd

Modified: trunk/doc/flow_classes/#saturation-help.pd
==============================================================================
--- trunk/doc/flow_classes/#saturation-help.pd (original)
+++ trunk/doc/flow_classes/#saturation-help.pd Wed Nov  4 21:52:48 2009
@@ -1,4 +1,4 @@
-#N canvas 115 0 568 536 10;
+#N canvas 115 0 632 551 10;
 #X obj 47 267 print;
 #X obj 47 227 #out window;
 #X text 313 178 OR;
@@ -16,22 +16,24 @@
 #X obj 47 134 #in babbage.jpg;
 #X obj 204 224 #color -256 512 1;
 #X obj 47 203 #saturation -128;
-#X text 200 331 Saturation value \, can be negative.;
 #X obj 0 0 doc_h;
-#X obj 3 363 doc_i 2;
+#X obj 3 376 doc_i 2;
 #X obj 3 301 doc_c 1;
-#X obj 3 447 doc_o 1;
-#X obj 14 393 doc_ii 0;
-#X obj 14 415 doc_ii 1;
-#X obj 14 477 doc_oo 0;
+#X obj 3 460 doc_o 1;
+#X obj 14 406 doc_ii 0;
+#X obj 14 428 doc_ii 1;
+#X obj 14 490 doc_oo 0;
 #X obj 14 331 doc_cc 0;
-#X text 200 415 same as arg 0;
+#X text 232 428 same as arg 0;
 #X obj 97 331 doc_m c0 float/int;
-#X obj 97 393 doc_m i0 grid;
-#X obj 97 415 doc_m i1 grid;
-#X obj 97 477 doc_m o0 grid;
-#X obj 0 507 doc_f;
-#X text 200 393 image to be modified;
+#X obj 97 406 doc_m i0 grid;
+#X obj 97 428 doc_m i1 grid;
+#X obj 97 490 doc_m o0 grid;
+#X obj 0 522 doc_f;
+#X text 232 406 image to be modified;
+#X text 232 331 Saturation multiplier. 256 does nothing. 0 turns to
+greyscale. -256 does like [#hueshift 18000].;
+#X text 232 490 modified image;
 #X connect 1 0 4 0;
 #X connect 4 0 0 0;
 #X connect 6 0 8 0;
@@ -44,6 +46,7 @@
 #X connect 13 0 15 0;
 #X connect 14 0 15 1;
 #X connect 15 0 1 0;
-#X connect 26 1 16 0;
-#X connect 27 1 31 0;
-#X connect 28 1 25 0;
+#X connect 25 1 31 0;
+#X connect 26 1 30 0;
+#X connect 27 1 24 0;
+#X connect 28 1 32 0;

Modified: trunk/doc/flow_classes/#scale_by-help.pd
==============================================================================
--- trunk/doc/flow_classes/#scale_by-help.pd (original)
+++ trunk/doc/flow_classes/#scale_by-help.pd Wed Nov  4 21:52:48 2009
@@ -1,10 +1,10 @@
-#N canvas 690 0 568 671 10;
+#N canvas 690 0 632 610 10;
 #X obj 11 82 tgl 15 0 empty empty empty 0 -6 0 8 -24198 -1 -1 0 1;
 #X obj 11 102 metro 100;
 #X obj 89 149 #in;
 #X obj 103 561 #scale_to;
-#X obj 173 561 #downscale_by;
-#X text 200 507 Outputs the resulting scaled image.;
+#X obj 169 561 #downscale_by;
+#X text 232 507 Outputs the resulting scaled image.;
 #X obj 89 207 #out window \, title #scale_by;
 #X msg 89 85 open bluemarble.jpg \, bang;
 #X obj 89 183 #scale_by 2;
@@ -14,11 +14,11 @@
 #X msg 227 129 2 # 2 1;
 #X msg 230 152 2 # 2 3;
 #X floatatom 181 131 5 0 0 0 - - -;
-#X text 200 362 The Grid on which the scale_to will be performed.;
+#X text 232 362 The Grid on which the scale_to will be performed.;
 #X obj 0 0 doc_h;
 #X obj 3 332 doc_i 2;
 #X obj 3 477 doc_o 1;
-#X text 200 265 The scaling factor (defaults to 2).;
+#X text 232 265 The scaling factor (defaults to 2).;
 #X obj 3 561 doc_also;
 #X obj 14 507 doc_oo 0;
 #X obj 14 362 doc_ii 0;
@@ -28,14 +28,14 @@
 #X obj 97 265 doc_m c0 grid;
 #X obj 97 445 doc_m i1 grid;
 #X obj 3 235 doc_c 0..1;
-#X text 200 445 same as arg 0;
-#X text 200 287 if it's a single value \, then that factor is to be
+#X text 232 445 same as arg 0;
+#X text 232 287 if it's a single value \, then that factor is to be
 used for both rows and columns.;
-#X text 200 384 duplicates each pixel several times in width and several
+#X text 232 384 duplicates each pixel several times in width and several
 times in height \, where the number of times is determined by the factor
 described above. twice those of the incoming grid. It is several times
 faster.;
-#X text 200 529 grid((factor*y) (factor*x) channels);
+#X text 232 529 grid((factor*y) (factor*x) channels);
 #X obj 97 507 doc_m o0 grid;
 #X obj 0 581 doc_f;
 #X connect 0 0 1 0;

Modified: trunk/doc/flow_classes/#scale_to-help.pd
==============================================================================
--- trunk/doc/flow_classes/#scale_to-help.pd (original)
+++ trunk/doc/flow_classes/#scale_to-help.pd Wed Nov  4 21:52:48 2009
@@ -1,4 +1,4 @@
-#N canvas 674 0 568 523 10;
+#N canvas 674 0 632 523 10;
 #X obj 11 75 tgl 15 0 empty empty empty 0 -6 0 8 -24198 -1 -1 0 1;
 #X obj 11 94 metro 100;
 #X obj 89 171 #scale_to (133 133);
@@ -9,7 +9,7 @@
 #X obj 325 158 hsl 128 15 0 640 0 0 empty empty empty 0 -8 0 8 -260818
 -1 -1 0 1;
 #X obj 89 208 #out window \, title #scale_to;
-#X obj 176 474 #downscale_by;
+#X obj 169 474 #downscale_by;
 #X msg 89 73 open scissors.jpg \, bang;
 #X obj 300 183 #print;
 #X msg 284 75 2 # 500 500;
@@ -18,10 +18,10 @@
 #X msg 285 115 2 # 500 100;
 #X text 460 133 height;
 #X text 460 155 width;
-#X text 200 442 Outputs the resulting scaled image.;
-#X text 200 270 A (height width) pair of integers indicating the size
+#X text 232 442 Outputs the resulting scaled image.;
+#X text 232 270 A (height width) pair of integers indicating the size
 to scale to image to. This initial argument is required.;
-#X text 200 345 The Grid passed at inlet 0 will be the image on which
+#X text 232 345 The Grid passed at inlet 0 will be the image on which
 the scale_to will be performed.;
 #X text 284 58 2 grid size values y=500 x=500;
 #X obj 103 474 #scale_by;
@@ -39,7 +39,7 @@
 #X obj 14 270 doc_cc 0;
 #X obj 97 270 doc_m c0 (int int);
 #X obj 97 345 doc_m i0 grid;
-#X text 200 380 same as arg 0;
+#X text 232 380 same as arg 0;
 #X obj 97 380 doc_m i1 (int int);
 #X obj 97 442 doc_m o0 grid;
 #X obj 0 494 doc_f;

Modified: trunk/doc/flow_classes/#scan-help.pd
==============================================================================
--- trunk/doc/flow_classes/#scan-help.pd (original)
+++ trunk/doc/flow_classes/#scan-help.pd Wed Nov  4 21:52:48 2009
@@ -1,4 +1,4 @@
-#N canvas 664 0 568 543 10;
+#N canvas 664 0 632 547 10;
 #X floatatom 17 76 5 0 0 0 - - -;
 #X floatatom 62 76 5 0 0 0 - - -;
 #X floatatom 109 76 5 0 0 0 - - -;
@@ -8,13 +8,13 @@
 #X obj 17 116 #pack 3;
 #X obj 17 147 #scan +;
 #X obj 17 206 #unpack 3;
-#X obj 98 494 #fold +;
+#X obj 103 498 #fold +;
 #X obj 0 0 doc_h;
-#X obj 3 494 doc_also;
+#X obj 3 498 doc_also;
 #X obj 3 274 doc_c 1;
-#X obj 3 334 doc_i 1;
-#X obj 3 434 doc_o 1;
-#X obj 14 464 doc_oo 0;
+#X obj 3 336 doc_i 1;
+#X obj 3 438 doc_o 1;
+#X obj 14 468 doc_oo 0;
 #X obj 14 304 doc_cc 0;
 #X text 69 35 computes subtotals and stuff;
 #X text 165 74 replaces every Dim(last) subgrid by all the results
@@ -23,16 +23,18 @@
 #X text 165 127 For example \, with base value 0 and operation + on
 grid "2 3 5 7" will compute 0+2=2 \, 2+3=5 \, 5+5=10 \, 10+7=17 \,
 and give the subtotals "2 5 10 17".;
-#X obj 97 304 doc_m c0 numop;
-#X obj 14 364 doc_ii 0;
-#X obj 97 364 doc_m i0 grid;
-#X obj 97 384 doc_m i0 op;
-#X obj 97 404 doc_m i0 seed;
+#X obj 14 366 doc_ii 0;
+#X obj 97 366 doc_m i0 grid;
+#X obj 97 386 doc_m i0 op;
+#X obj 97 408 doc_m i0 seed;
 #X text 165 191 [#scan +] computes subtotals \; this can be used \,
 for example \, to convert a regular probability distribution into a
 cumulative one. (or in general \, discrete integration);
-#X obj 0 514 doc_f;
-#X obj 97 464 doc_m o0 grid;
+#X obj 0 518 doc_f;
+#X obj 97 468 doc_m o0 grid;
+#X obj 97 304 doc_m c0 symbol;
+#X text 232 304 numop;
+#X text 232 386 same as arg 0;
 #X connect 0 0 6 0;
 #X connect 1 0 6 1;
 #X connect 2 0 6 2;
@@ -42,3 +44,5 @@
 #X connect 8 1 4 0;
 #X connect 8 2 5 0;
 #X connect 11 1 9 0;
+#X connect 22 1 29 0;
+#X connect 27 1 28 0;

Modified: trunk/doc/flow_classes/#seq_fold-help.pd
==============================================================================
--- trunk/doc/flow_classes/#seq_fold-help.pd (original)
+++ trunk/doc/flow_classes/#seq_fold-help.pd Wed Nov  4 21:52:48 2009
@@ -1,4 +1,4 @@
-#N canvas 677 0 568 514 10;
+#N canvas 677 0 632 548 10;
 #X obj 125 63 route end;
 #X obj 126 162 display;
 #X obj 125 106 #seq_fold;
@@ -10,22 +10,31 @@
 #X obj 0 0 doc_h;
 #X obj 3 225 doc_c;
 #X obj 3 265 doc_i 4;
-#X obj 14 415 doc_oo 0;
-#X obj 14 435 doc_oo 1;
-#X obj 14 455 doc_oo 2;
-#X obj 3 385 doc_o 3;
+#X obj 14 423 doc_oo 0;
+#X obj 14 445 doc_oo 1;
+#X obj 14 467 doc_oo 2;
+#X obj 3 393 doc_o 3;
 #X obj 14 295 doc_ii 0;
-#X obj 14 315 doc_ii 1;
-#X obj 14 335 doc_ii 2;
-#X obj 14 355 doc_ii 3;
-#X obj 0 485 doc_f;
+#X obj 14 317 doc_ii 1;
+#X obj 14 339 doc_ii 2;
+#X obj 14 361 doc_ii 3;
+#X obj 0 519 doc_f;
 #X obj 97 295 doc_m i0 bang;
-#X obj 97 315 doc_m i1 grid;
-#X obj 97 335 doc_m i2 grid;
-#X obj 97 355 doc_m i3 grid;
-#X obj 97 415 doc_m o0 grid;
-#X obj 97 435 doc_m o1 grid;
-#X obj 97 455 doc_m o2 grid;
+#X obj 97 317 doc_m i1 grid;
+#X obj 97 339 doc_m i2 grid;
+#X obj 97 361 doc_m i3 grid;
+#X obj 97 423 doc_m o0 grid;
+#X obj 97 445 doc_m o1 grid;
+#X obj 97 467 doc_m o2 grid;
+#X obj 3 499 doc_also;
+#X obj 103 499 seq_fold;
+#X text 232 445 to outside left inlet;
+#X text 232 467 to outside right inlet;
+#X text 232 423 final result;
+#X text 232 361 from outside outlet;
+#X text 232 339 seed;
+#X text 232 295 output the final result;
+#X text 232 317 sequence of values to be folded;
 #X connect 0 0 2 0;
 #X connect 0 1 2 1;
 #X connect 2 0 1 0;
@@ -36,3 +45,11 @@
 #X connect 4 0 0 0;
 #X connect 5 0 2 2;
 #X connect 6 0 5 0;
+#X connect 20 1 34 0;
+#X connect 21 1 35 0;
+#X connect 22 1 33 0;
+#X connect 23 1 32 0;
+#X connect 24 1 31 0;
+#X connect 25 1 29 0;
+#X connect 26 1 30 0;
+#X connect 27 1 28 1;

Modified: trunk/doc/flow_classes/#slice-help.pd
==============================================================================
--- trunk/doc/flow_classes/#slice-help.pd (original)
+++ trunk/doc/flow_classes/#slice-help.pd Wed Nov  4 21:52:48 2009
@@ -1,4 +1,4 @@
-#N canvas 206 135 568 513 10;
+#N canvas 206 135 632 525 10;
 #X obj 38 190 display;
 #X text 36 213 should print subgrid: 3 5 8 13 21;
 #X msg 37 145 0 1 1 2 3 5 8 13 21 34 55 89;
@@ -12,24 +12,36 @@
 #X text 259 177 should print subgrid: 2 2 # 5 6 9 10;
 #X obj 0 0 doc_h;
 #X obj 3 244 doc_c 2;
-#X obj 3 324 doc_i 3;
-#X obj 3 424 doc_o 1;
-#X obj 14 454 doc_oo 0;
-#X obj 14 374 doc_ii 1;
-#X obj 14 354 doc_ii 0;
-#X obj 14 394 doc_ii 2;
+#X obj 3 328 doc_i 3;
+#X obj 3 434 doc_o 1;
+#X obj 14 464 doc_oo 0;
+#X obj 14 380 doc_ii 1;
+#X obj 14 358 doc_ii 0;
+#X obj 14 402 doc_ii 2;
 #X obj 14 274 doc_cc 0;
-#X obj 14 294 doc_cc 1;
-#X obj 0 484 doc_f;
+#X obj 14 296 doc_cc 1;
+#X obj 0 496 doc_f;
 #X obj 97 274 doc_m c0 grid;
-#X obj 97 294 doc_m c1 grid;
-#X obj 97 354 doc_m i0 grid;
-#X obj 97 374 doc_m i1 grid;
-#X obj 97 394 doc_m i2 grid;
-#X obj 97 454 doc_m o0 grid;
+#X obj 97 296 doc_m c1 grid;
+#X obj 97 358 doc_m i0 grid;
+#X obj 97 380 doc_m i1 grid;
+#X obj 97 402 doc_m i2 grid;
+#X obj 97 464 doc_m o0 grid;
+#X text 232 380 same as arg 0;
+#X text 232 402 same as arg 1;
+#X text 232 464 slice;
+#X text 232 358 grid to be sliced;
+#X text 232 296 end positions (as in #for);
+#X text 232 274 start positions as in #for);
 #X connect 2 0 3 0;
 #X connect 3 0 0 0;
 #X connect 4 0 5 0;
 #X connect 6 0 4 0;
 #X connect 7 0 6 0;
 #X connect 8 0 7 0;
+#X connect 21 1 32 0;
+#X connect 22 1 31 0;
+#X connect 23 1 30 0;
+#X connect 24 1 27 0;
+#X connect 25 1 28 0;
+#X connect 26 1 29 0;

Modified: trunk/doc/flow_classes/#solarize-help.pd
==============================================================================
--- trunk/doc/flow_classes/#solarize-help.pd (original)
+++ trunk/doc/flow_classes/#solarize-help.pd Wed Nov  4 21:52:48 2009
@@ -1,35 +1,39 @@
-#N canvas 690 0 568 487 10;
-#X obj 170 104 bng 15 250 50 0 empty empty empty 0 -6 0 8 -4034 -1
+#N canvas 690 0 632 491 10;
+#X obj 170 140 bng 15 250 50 0 empty empty empty 0 -6 0 8 -4034 -1
 -1;
 #X obj 170 219 #solarize;
 #X obj 170 183 #in;
-#X obj 103 438 #convolve;
-#X obj 172 438 #contrast;
-#X obj 241 438 #posterize;
-#X obj 317 438 #layer;
+#X obj 103 442 #convolve;
+#X obj 169 442 #contrast;
+#X obj 235 442 #posterize;
+#X obj 307 442 #layer;
 #X obj 0 0 doc_h;
-#X obj 3 438 doc_also;
+#X obj 3 442 doc_also;
 #X obj 3 278 doc_c;
-#X obj 3 378 doc_o 1;
+#X obj 3 380 doc_o 1;
 #X obj 3 318 doc_i 1;
-#X obj 14 408 doc_oo 0;
+#X obj 14 410 doc_oo 0;
 #X obj 14 348 doc_ii 0;
+#X obj 247 215 #out window \, title original;
+#X obj 170 240 #out window \, title modified;
+#X obj 97 410 doc_m o0 grid;
+#X obj 97 348 doc_m i0 grid;
+#X obj 0 462 doc_f;
+#X msg 170 157 load bluemarble.jpg;
 #X text 12 36 Makes medium intensities brightest. Formerly brightest
 colors become darkest \, formerly darkest stays darkest. This filter
-is linear. It's like a 200% contrast \, except that overflows are mirrored
-instead of clipped or wrapped.;
-#X obj 247 215 #out window \, title original;
-#X obj 170 240 #out window \, title modified;
-#X obj 97 408 doc_m o0 grid;
-#X obj 97 348 doc_m i0 grid;
-#X obj 0 458 doc_f;
-#X msg 170 157 load bluemarble.jpg;
-#X connect 0 0 20 0;
-#X connect 1 0 16 0;
+is non-linear (but piecewise-linear). It's like a 200% contrast \,
+except that overflows are mirrored instead of clipped or wrapped.;
+#X text 232 348 pixels;
+#X text 232 410 pixels;
+#X connect 0 0 19 0;
+#X connect 1 0 15 0;
 #X connect 2 0 1 0;
-#X connect 2 0 15 0;
+#X connect 2 0 14 0;
 #X connect 8 1 3 0;
 #X connect 8 1 4 0;
 #X connect 8 1 5 0;
 #X connect 8 1 6 0;
-#X connect 20 0 2 0;
+#X connect 16 1 22 0;
+#X connect 17 1 21 0;
+#X connect 19 0 2 0;

Modified: trunk/doc/flow_classes/#sort-help.pd
==============================================================================
--- trunk/doc/flow_classes/#sort-help.pd (original)
+++ trunk/doc/flow_classes/#sort-help.pd Wed Nov  4 21:52:48 2009
@@ -1,4 +1,4 @@
-#N canvas 484 136 568 530 10;
+#N canvas 484 136 632 572 10;
 #X obj 28 250 #sort;
 #X msg 28 45 0 1 1 2 3 5 8 13 21 34 55 89;
 #X msg 28 102 12 # 666;
@@ -15,14 +15,19 @@
 #X obj 0 0 doc_h;
 #X obj 3 311 doc_c 0;
 #X obj 3 351 doc_i 1;
-#X obj 3 411 doc_o 1;
-#X obj 3 471 doc_also;
-#X obj 103 471 #grade;
-#X obj 14 441 doc_oo 0;
+#X obj 3 461 doc_o 1;
+#X obj 3 523 doc_also;
+#X obj 103 523 #grade;
+#X obj 14 491 doc_oo 0;
 #X obj 14 381 doc_ii 0;
-#X obj 0 491 doc_f;
+#X obj 0 543 doc_f;
 #X obj 97 381 doc_m i0 grid;
-#X obj 97 441 doc_m o0 grid;
+#X obj 97 491 doc_m o0 grid;
+#X text 232 491 sorted data;
+#X text 232 381 1-D grid to be sorted;
+#X text 232 403 this takes an average time proportional to N log N
+(a pass on the data takes N time \, and sorting something twice bigger
+takes an extra pass);
 #X connect 0 0 11 0;
 #X connect 1 0 6 0;
 #X connect 2 0 3 0;
@@ -35,3 +40,6 @@
 #X connect 7 0 2 0;
 #X connect 9 0 4 0;
 #X connect 17 1 18 0;
+#X connect 22 1 25 0;
+#X connect 22 1 26 0;
+#X connect 23 1 24 0;

Modified: trunk/doc/flow_classes/#spread-help.pd
==============================================================================
--- trunk/doc/flow_classes/#spread-help.pd (original)
+++ trunk/doc/flow_classes/#spread-help.pd Wed Nov  4 21:52:48 2009
@@ -1,4 +1,4 @@
-#N canvas 673 0 568 722 10;
+#N canvas 673 0 632 642 10;
 #X text 1 25 makes noise;
 #X obj 207 42 bng 15 250 50 0 empty empty empty 0 -6 0 8 -233017 -1
 -1;
@@ -51,7 +51,7 @@
 #X obj 0 693 doc_f;
 #X obj 97 601 doc_m i1 grid;
 #X obj 97 521 doc_m c0 grid;
-#X text 200 601 same as arg 0;
+#X text 232 601 same as arg 0;
 #X obj 20 197 #spread 1;
 #X obj 310 270 #spread 1;
 #X msg 207 89 load r001.jpg;

Modified: trunk/doc/flow_classes/#store-help.pd
==============================================================================
--- trunk/doc/flow_classes/#store-help.pd (original)
+++ trunk/doc/flow_classes/#store-help.pd Wed Nov  4 21:52:48 2009
@@ -27,28 +27,28 @@
 -1;
 #X obj 296 161 display;
 #X obj 296 96 loadbang;
-#X obj 3 354 doc_i 2;
+#X obj 3 341 doc_i 2;
 #X obj 0 0 doc_h;
 #X obj 3 279 doc_c 1;
-#X obj 14 384 doc_ii 0;
-#X obj 14 584 doc_ii 1;
-#X obj 3 860 doc_o 1;
-#X obj 14 890 doc_oo 0;
+#X obj 14 371 doc_ii 0;
+#X obj 14 571 doc_ii 1;
+#X obj 3 882 doc_o 1;
+#X obj 14 912 doc_oo 0;
 #X obj 14 309 doc_cc 0;
 #X obj 97 309 doc_m c0 grid;
-#X obj 97 419 doc_m i0 grid;
-#X obj 97 384 doc_m i0 bang;
-#X text 232 384 A bang at the left inlet will cause [#store] to send
+#X obj 97 406 doc_m i0 grid;
+#X obj 97 371 doc_m i0 bang;
+#X text 232 371 A bang at the left inlet will cause [#store] to send
 its value to the outlet.;
-#X obj 97 584 doc_m i1 grid;
-#X text 232 584 when in reassign mode \, this is same as arg 0;
-#X text 232 606 when it put_at mode \, it basically keeps the previous
+#X obj 97 571 doc_m i1 grid;
+#X text 232 571 when in reassign mode \, this is same as arg 0;
+#X text 232 593 when it put_at mode \, it basically keeps the previous
 arg 0 or reassignment \, but replaces a selected part inside of it.
 ;
-#X obj 97 802 doc_m i1 reassign;
-#X obj 97 641 doc_m i1 put_at;
-#X obj 97 890 doc_m o0 grid;
-#X text 232 419 in this grid \, the last dimension refers to subparts
+#X obj 97 824 doc_m i1 reassign;
+#X obj 97 663 doc_m i1 put_at;
+#X obj 97 912 doc_m o0 grid;
+#X text 232 406 in this grid \, the last dimension refers to subparts
 of the stored grid. sending a Dim(200 \, 200 \, 2) on a [#store] that
 holds a Dim(240 \, 320 \, 3) will cause the [#store] to handle the
 incoming grid as a Dim(200 \, 200) of Dim(2)'s \, where each Dim(2)
@@ -59,12 +59,12 @@
 this object can be logically used in the same way for many purposes
 including color palettes \, tables of probabilities \, tables of statistics
 \, whole animations \, etc.;
-#X text 232 802 makes it so that sending a grid to inlet 1 detaches
+#X text 232 824 makes it so that sending a grid to inlet 1 detaches
 the old buffer from [#store] and attaches a new one instead. This is
 the default.;
-#X text 232 641 makes it so that sending a grid to inlet 1 writes into
+#X text 232 663 makes it so that sending a grid to inlet 1 writes into
 the existing buffer of [#store].;
-#X text 232 676 example: suppose you have [#store 10 240 320 3]. then
+#X text 232 698 example: suppose you have [#store 10 240 320 3]. then
 "put_at 3" will allow to write a Dim[240 \, 320 \, 3] grid in indices
 (3 \, y \, x \, c) where y \, x \, c are indices of the incoming grid.
 in other words \, if that's a buffer of 10 RGB frames \, you'd be replacing
@@ -76,10 +76,13 @@
 #X text 194 227 that way of working extends to other kinds of data
 you'd put in Grids \, in any numbers of dimensions. because \, as usual
 \, [#store] wouldn't know the difference.;
-#X text 232 890 grids as stored \, as indexed \, or as assembled from
+#X text 232 912 grids as stored \, as indexed \, or as assembled from
 multiple indexings.;
-#X obj 0 935 doc_f;
+#X obj 0 957 doc_f;
 #X text 232 309 initial value to be stored;
+#X obj 97 628 doc_m i1 op;
+#X text 232 628 recombination operator used by put_at \, just like
+arg 0 of [#draw_image];
 #X connect 0 0 12 0;
 #X connect 1 0 12 1;
 #X connect 12 0 15 0;
@@ -105,3 +108,4 @@
 #X connect 40 1 44 0;
 #X connect 40 1 45 0;
 #X connect 41 1 47 0;
+#X connect 50 1 51 0;

Modified: trunk/doc/flow_classes/#swap-help.pd
==============================================================================
--- trunk/doc/flow_classes/#swap-help.pd (original)
+++ trunk/doc/flow_classes/#swap-help.pd Wed Nov  4 21:52:48 2009
@@ -1,4 +1,4 @@
-#N canvas 335 118 568 379 10;
+#N canvas 335 118 632 379 10;
 #X obj 0 0 doc_h;
 #X obj 0 350 doc_f;
 #X obj 60 55 #swap;
@@ -17,8 +17,8 @@
 #X obj 103 330 swap;
 #X obj 14 136 doc_cc 0;
 #X obj 3 106 doc_c 0..1;
-#X text 200 136 same as [#store];
-#X text 200 218 same as arg 0;
+#X text 232 136 same as [#store];
+#X text 232 218 same as arg 0;
 #X obj 97 136 doc_m c0 grid;
 #X connect 11 1 19 0;
 #X connect 14 1 15 0;



More information about the Gridflow-cvs mailing list