[Gridflow-cvs] [svn] commit: r4346 - in /trunk/doc: flow_classes/#fade-help.pd flow_classes/#perspective-help.pd flow_classes/#redim-help.pd flow_classes/#reverse-help.pd reference.xml

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Sat Oct 24 15:25:03 EDT 2009


Author: matju
Date: Sat Oct 24 15:25:03 2009
New Revision: 4346

Log:
déixèmélisation

Modified:
    trunk/doc/flow_classes/#fade-help.pd
    trunk/doc/flow_classes/#perspective-help.pd
    trunk/doc/flow_classes/#redim-help.pd
    trunk/doc/flow_classes/#reverse-help.pd
    trunk/doc/reference.xml

Modified: trunk/doc/flow_classes/#fade-help.pd
==============================================================================
--- trunk/doc/flow_classes/#fade-help.pd (original)
+++ trunk/doc/flow_classes/#fade-help.pd Sat Oct 24 15:25:03 2009
@@ -1,4 +1,4 @@
-#N canvas 68 0 558 644 10;
+#N canvas 676 0 558 644 10;
 #X obj 253 276 #out window;
 #X msg 140 155 open b001.jpg;
 #X obj 131 111 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1
@@ -21,16 +21,8 @@
 ;
 #X text 9 25 Crossfade between two images.;
 #X obj 253 250 #fade;
-#X text 11 425 GRID;
-#X text 69 423 Accepts two grids that are blended into each other over
-time.;
-#X text 8 497 INTEGER;
-#X text 73 496 An integer in the rightmost inlet will indicate the
-amount of one image being blended with the other. (ex: Integer 5 will
-take 20% (one fifth) of the first image and blend it with 80% of the
-next image.;
-#X text 76 627 Outputs the fading images.;
-#X text 13 624 GRID;
+#X text 196 389 Accepts two grids that are blended into each other
+over time.;
 #X obj 0 0 doc_h;
 #X obj 3 365 doc_i 2;
 #X obj 3 564 doc_o 1;
@@ -38,6 +30,18 @@
 #X obj 14 389 doc_ii 0;
 #X obj 14 473 doc_ii 1;
 #X obj 3 302 doc_c 1;
+#X obj 100 388 doc_m i0 grid;
+#X obj 100 473 doc_m i1 grid;
+#X text 192 319 indicates the amount of one image being blended with
+the other. (ex: Integer 5 will take 20% (one fifth) of the first image
+and blend it with 80% of the next image.;
+#X obj 3 623 doc_also;
+#X obj 104 622 lop~;
+#X obj 139 622 rzero~;
+#X obj 14 326 doc_cc 0;
+#X obj 100 326 doc_m c0 grid;
+#X text 196 472 same as arg 0;
+#X obj 100 588 doc_m o0 grid;
 #X connect 1 0 3 0;
 #X connect 2 0 4 0;
 #X connect 3 0 16 0;

Modified: trunk/doc/flow_classes/#perspective-help.pd
==============================================================================
--- trunk/doc/flow_classes/#perspective-help.pd (original)
+++ trunk/doc/flow_classes/#perspective-help.pd Sat Oct 24 15:25:03 2009
@@ -1,4 +1,4 @@
-#N canvas 280 56 559 411 10;
+#N canvas 675 0 572 514 10;
 #X text 153 55 transforms a dim[a... \, b] grid into a dim[a... \,
 b-1] grid. there is a projection plane perpendicular to the last axis
 and whose position is given by the creation argument. each vector's
@@ -12,16 +12,28 @@
 #X obj 30 190 #print;
 #X obj 79 182 #print;
 #X obj 79 163 #perspective;
-#X obj 102 369 #redim;
-#X obj 150 369 #ravel;
+#X obj 102 469 #redim;
+#X obj 150 469 #ravel;
 #X obj 0 0 doc_h;
-#X obj 3 369 doc_also;
+#X obj 3 469 doc_also;
 #X obj 3 217 doc_c 1;
 #X obj 3 268 doc_i 1;
-#X obj 3 313 doc_o 1;
-#X obj 14 337 doc_oo 0;
+#X obj 3 413 doc_o 1;
+#X obj 14 437 doc_oo 0;
 #X obj 14 292 doc_ii 0;
 #X obj 14 241 doc_cc 0;
+#X obj 100 292 doc_m i0 grid;
+#X obj 100 437 doc_m o0 grid;
+#X text 191 286 transforms a Dim[A... \, B] grid into a Dim[A... \,
+B-1] grid. There is a projection plane perpendicular to the last axis
+and whose position is given by the "depth" parameter. Each vector's
+length is adjusted so that it lies onto that plane. Then the last dimension
+of each vector is dropped.;
+#X text 187 357 useful for converting from 3-D geometry to 2-D geometry.
+Also useful for converting homogeneous 3-D into regular 3-D \, as homogeneous
+3-D is really just regular 4-D...(!);
+#X obj 100 241 doc_m c0 float;
+#X text 194 239 depth;
 #X connect 1 0 6 0;
 #X connect 1 0 8 0;
 #X connect 2 0 3 0;

Modified: trunk/doc/flow_classes/#redim-help.pd
==============================================================================
--- trunk/doc/flow_classes/#redim-help.pd (original)
+++ trunk/doc/flow_classes/#redim-help.pd Sat Oct 24 15:25:03 2009
@@ -1,7 +1,4 @@
-#N canvas 271 30 554 573 10;
-#X text 7 319 GRID;
-#X text 7 417 GRID;
-#X text 11 503 GRID;
+#N canvas 680 0 554 573 10;
 #X text 86 37 rearrange a grid's values according to new dimensions
 ;
 #X obj 21 36 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1 -1
@@ -10,37 +7,47 @@
 #X obj 21 103 #in;
 #X obj 111 183 #out window;
 #X msg 44 81 open working.jpg;
-#X obj 103 535 #ravel;
-#X obj 153 535 #perspective;
+#X obj 103 595 #ravel;
+#X obj 153 595 #perspective;
 #X obj 21 184 #out window;
 #X obj 21 127 t a a;
 #X obj 111 124 #redim (120 160 3);
-#X text 72 504 Outputs the redimensioned data as a grid.;
-#X text 106 241 Accepts a grid as a creation argument \, here (120
-160 3).;
+#X text 196 434 Outputs the redimensioned data as a grid.;
 #X msg 232 131 240 320 3;
-#X text 65 317 Accepts a grid which elements are serialized. If the
-resulting grid must be larger \, the sequence is repeated as much as
-necessary. It is truncated if it must be smaller. The elements are
-then deserialized to form the resulting grid.;
-#X text 71 417 Accepts grids that is a dimension list.;
 #X msg 226 95 400 400 3;
 #X obj 0 0 doc_h;
 #X obj 3 270 doc_i 2;
 #X obj 3 216 doc_c 1;
-#X obj 3 535 doc_also;
-#X obj 3 447 doc_o 1;
+#X obj 3 595 doc_also;
+#X obj 3 407 doc_o 1;
 #X obj 14 297 doc_ii 0;
-#X obj 14 393 doc_ii 1;
-#X obj 14 471 doc_oo 0;
+#X obj 14 366 doc_ii 1;
+#X obj 14 431 doc_oo 0;
 #X obj 14 240 doc_cc 0;
-#X connect 4 0 5 0;
-#X connect 5 0 6 0;
-#X connect 5 1 8 0;
-#X connect 6 0 12 0;
-#X connect 8 0 6 0;
-#X connect 12 0 11 0;
-#X connect 12 1 13 0;
-#X connect 13 0 7 0;
-#X connect 16 0 13 1;
-#X connect 19 0 13 1;
+#X obj 100 240 doc_m c0 grid;
+#X text 198 238 dimension list \, (120 160 3) in this example.;
+#X obj 100 297 doc_m i0 grid;
+#X text 200 252 same as the dimension list of #import;
+#X text 196 295 the elements of this grid are serialized. if the resulting
+grid must be larger \, the sequence is repeated as much as necessary.
+if the resulting grid must be smaller \, the sequence is truncated.
+then the elements are deserialized to form the resulting grid.;
+#X obj 100 366 doc_m i1 grid;
+#X text 195 366 same as arg 0;
+#X obj 100 436 doc_m o0 grid;
+#X text 196 455 example: with a 240 320 RGB image \, [#redim 120 640
+3] will visually separate the even lines (left) from the odd lines
+(right). contrary to this \, [#redim 640 120 3] will split every line
+and put its left half on a even line and the right half on the following
+odd line. [#redim] 480 320 3 will repeat the input image twice in the
+output image. [#redim] 240 50 3 will only keep the 50 top lines.;
+#X connect 1 0 2 0;
+#X connect 2 0 3 0;
+#X connect 2 1 5 0;
+#X connect 3 0 9 0;
+#X connect 5 0 3 0;
+#X connect 9 0 8 0;
+#X connect 9 1 10 0;
+#X connect 10 0 4 0;
+#X connect 12 0 10 1;
+#X connect 13 0 10 1;

Modified: trunk/doc/flow_classes/#reverse-help.pd
==============================================================================
--- trunk/doc/flow_classes/#reverse-help.pd (original)
+++ trunk/doc/flow_classes/#reverse-help.pd Sat Oct 24 15:25:03 2009
@@ -1,4 +1,4 @@
-#N canvas 615 26 566 676 10;
+#N canvas 668 0 566 676 10;
 #X obj 258 177 #color;
 #X obj 288 361 #color;
 #X obj 259 426 display;
@@ -28,12 +28,21 @@
 #X floatatom 323 283 5 0 0 0 - - -;
 #X obj 0 0 doc_h;
 #X obj 3 466 doc_c 1;
-#X obj 3 518 doc_i 2;
-#X obj 3 599 doc_o 1;
-#X obj 14 623 doc_oo 0;
-#X obj 14 542 doc_ii 0;
-#X obj 14 566 doc_ii 1;
+#X obj 3 568 doc_i 2;
+#X obj 3 649 doc_o 1;
+#X obj 14 673 doc_oo 0;
+#X obj 14 592 doc_ii 0;
+#X obj 14 616 doc_ii 1;
 #X obj 14 490 doc_cc 0;
+#X obj 100 673 doc_m o0 grid;
+#X obj 100 592 doc_m i0 grid;
+#X obj 100 490 doc_m c0 float;
+#X obj 100 616 doc_m i1 float;
+#X text 200 614 same as arg 0;
+#X text 198 487 dimension number of the dimension by which the reverse
+will occur. For N-dimensional grids \, the dimensions are numbered
+from 0 to N-1. In addition \, negative numbers from -N to -1 may be
+used \, to which N will be added.;
 #X connect 0 0 19 0;
 #X connect 3 0 2 0;
 #X connect 3 1 1 0;

Modified: trunk/doc/reference.xml
==============================================================================
--- trunk/doc/reference.xml (original)
+++ trunk/doc/reference.xml Sat Oct 24 15:25:03 2009
@@ -1,100 +1,3 @@
-	<class name="#perspective">
-		<method name="init">
-			<arg name="depth" type="integer"/>
-		</method>
-		<inlet id="0"><method name="grid"><arg name="grid" type="grid"/>any grid</method></inlet>
-		<outlet id="0"><method name="grid"><arg name="grid" type="grid"/>
-			transforms a Dim[A...,B] grid into a Dim[A...,B-1] grid.
-			There is a projection plane perpendicular to the last axis and
-			whose position is given by the "depth" parameter. Each vector's
-			length is adjusted so that it lies onto that plane. Then the
-			last dimension of each vector is dropped.
-			
-			useful for converting from 3-D geometry to 2-D geometry. Also
-			useful for converting homogeneous 3-D into regular 3-D, as
-			homogeneous 3-D is really just regular 4-D...(!)
-		</method></outlet>
-	</class>			
-
-	<class name="#transpose">
-		<method name="init">
-			<arg name="dim1" type="integer"/>
-			<arg name="dim2" type="integer"/>
-		</method>
-		<inlet id="0"><method name="grid"><arg name="grid" type="grid"/>
-			swaps the two specified dimensions; dimension numbers are as in [#join].
-		</method></inlet>
-	</class>
-	
-	<class name="#fade">
-		<method name="init">
-			<arg name="rate" type="integer"/>
-		</method>
-		<inlet id="0"><method name="grid"><arg name="grid" type="grid"/>
-			produces on outlet 0 a linear recurrent fading according to the flow of
-			incoming messages. For example, if rate=5, then 20% (one fifth)
-			of each new message will be blended with 80% of the previous output.
-		</method></inlet>
-	</class>
-
-	<class name="#fade_lin">
-		<method name="init">
-			<arg name="maxraise" type="integer"/>
-			<arg name="maxdrop"  type="integer"/>
-		</method>
-		<inlet id="0"><method name="grid"><arg name="grid" type="grid"/>
-			produces on outlet 0 a piecewise-linear nonrecurrent fading according to the flow of
-			incoming messages. For example, if maxraise=2 and maxdrop=4, then with each
-			new message an output is produced that is at most 2 more or 4 less than the
-			previous output.
-		</method></inlet>
-	</class>
-
-	<class name="#reverse">
-		<method name="init">
-			<arg name="whichdim"/>
-			Whichdim is the number of the dimension by which the reverse will
-			occur. For N-dimensional grids, the dimensions are numbered from 0
-			to N-1. In addition, negative numbers from -N to -1 may be used, to
-			which N will be added.
-		</method>
-	</class>
-	<class name="#redim">
-		<method name="init">
-			<arg name="dims" type="dim_list"/>
-			a list specifying a grid shape that the numbers
-			will fit into.
-			(same as with [#import])
-		</method>
-		<inlet id="0">
-			<method name="grid"><arg name="grid" type="grid(dims...)"/>
-			the elements of this grid are serialized. if the resulting grid
-			must be larger, the sequence is repeated as much as necessary.
-			if the resulting grid must be smaller, the sequence is truncated.
-			then the elements are deserialized to form the resulting grid.
-			</method>
-		</inlet>
-		<inlet id="1">
-			<method name="grid"><arg name="grid" type="grid(rank)"/>
-				this grid is a dimension list that replaces the one
-				specified in the constructor.
-				(same as with [#import])
-			</method>
-		</inlet>
-		<outlet id="0">
-			<method name="grid"><arg name="grid" type="grid"/>
-				redimensioned grid potentially containing repeating data.
-			</method>
-		</outlet>
-
-		example: with a 240 320 RGB image, [#redim 120 640 3] will visually
-		separate the even lines (left) from the odd lines (right). contrary
-		to this, [#redim 640 120 3] will split every line and put its left half
-		on a even line and the right half on the following odd line. [#redim]
-		480 320 3 will repeat the input image twice in the output image.
-		[#redim] 240 50 3 will only keep the 50 top lines.
-
-	</class>
 	<class name="#store">
 		A [#store] object can store exactly one grid, using the right
 		inlet. You fetch it back, or selected subparts thereof, using the left



More information about the Gridflow-cvs mailing list