[Gridflow-cvs] [svn] commit: r5760 - in /trunk/doc: moulinette.tcl numop.pd

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Thu Jul 22 23:33:30 EDT 2010


Author: matju
Date: Thu Jul 22 23:33:29 2010
New Revision: 5760

Log:
take deux

Modified:
    trunk/doc/moulinette.tcl
    trunk/doc/numop.pd

Modified: trunk/doc/moulinette.tcl
==============================================================================
--- trunk/doc/moulinette.tcl (original)
+++ trunk/doc/moulinette.tcl Thu Jul 22 23:33:29 2010
@@ -22,16 +22,16 @@
 set msgboxes {}
 set col1 96
 set col2 [expr $col1+350]
-set col3 [expr $col2+250]
-set col4 [expr $col3+250]
-set rowsize 28
+set col3 [expr $col2+230]
+set col4 [expr $col3+230]
+set rowsize 26
 
-obj 0 $y cnv 15 $col4 30 empty empty empty 20 12 0 14 20 -66577 0
+obj 0 $y cnv 15 $col4 22 empty empty empty 20 12 0 14 20 -66577 0
 text 10 $y op name
 text $col1 $y description
 text $col2 $y "effect on pixels"
 text $col3 $y "effect on coords"
-incr y $rowsize
+incr y 24
 
 # onpixels = meaning in pixel context (pictures, palettes)
 # oncoords = meaning in spatial context (indexmaps, polygons)
@@ -46,9 +46,9 @@
 	lappend ::msgboxes $::oid
 	set x 10
 	foreach op1 $op {msg $x $y op $op; incr 50}
-	text $::col1 [expr {$y-2}] $desc
-	if {$extra1 != ""} {text $::col2 $y $extra1}
-	if {$extra2 != ""} {text $::col3 $y $extra2}
+	text                     $::col1 [expr {$y-4}] $desc
+	if {$extra1 != ""} {text $::col2 [expr {$y-4}] $extra1}
+	if {$extra2 != ""} {text $::col3 [expr {$y-4}] $extra2}
 	incr ::row
 	incr ::y $::rowsize
 }
@@ -65,7 +65,7 @@
 set sections {}
 proc section {desc} {
 	lappend ::sections [list $::y $desc]
-	incr ::y 20
+	incr ::y 16
 }
 
 section {numops}
@@ -89,13 +89,13 @@
 op {|} { A or B, bitwise } {bright munchies} {bottomright munchies}
 op {^} { A xor B, bitwise } {symmetric munchies (fractal checkers)} {symmetric munchies (fractal checkers)}
 op {&} { A and B, bitwise } {dark munchies} {topleft munchies}
-op {<<} { A * (2**(B % 32)), which is left-shifting } {like *} {like *}
-op {>>} { A / (2**(B % 32)), which is right-shifting } {like /,div} {like /,div}
+op {<<} { A * pow(2,mod(B,32)), which is left-shifting } {like *} {like *}
+op {>>} { A / pow(2,mod(B,32)), which is right-shifting } {like /,div} {like /,div}
 op {||} { if A is zero then B else A }
 op {&&} { if A is zero then zero else B}
 op {min} { the lowest value in A,B } {clipping} {clipping (of individual points)}
 op {max} { the highest value in A,B } {clipping} {clipping (of individual points)}
-op {cmp} { -1 when A<B; 0 when A=B; 1 when A>B. }
+op {cmp} { -1 when A<B, 0 when A=B, 1 when A>B }
 op {==} { is A equal to B ? 1=true, 0=false }
 op {!=} { is A not equal to B ? }
 op {>} { is A greater than B ? }
@@ -104,8 +104,8 @@
 op {>=} {is A not less than B ? }
 op {sin*} { B * sin(A) in centidegrees } {--} {waves, rotations}
 op {cos*} { B * cos(A) in centidegrees } {--} {waves, rotations}
-op {atan} { arctan(A/B) in centidegrees } {--} {find angle to origin (part of polar transform)}
-op {tanh*} { B * tanh(A) in centidegrees } {smooth clipping} {smooth clipping (of individual points), neural sigmoid, fuzzy logic}
+op {atan} { arctan(A/B) in centidegrees } {--} {find angle to origin; (part of polar transform)}
+op {tanh*} { B * tanh(A) in centidegrees } {smooth clipping} {smooth clipping (of individual points); neural sigmoid, fuzzy logic}
 op {log*} { B * log(A) (in base e) }
 op {gamma} { floor(pow(a/256.0,256.0/b)*256.0) } {gamma correction}
 op {**} { A**B, that is, A raised to power B } {gamma correction}
@@ -115,8 +115,8 @@
 op {sq-} { (A-B) times (A-B) }
 op {avg} { (A+B)/2 }
 op {hypot} { distance function: square root of (A*A+B*B) }
-op {clip+} { like A+B but overflow causes clipping instead of wrapping around (coming soon) }
-op {clip-} { like A-B but overflow causes clipping instead of wrapping around (coming soon) }
+op {clip+} { like A+B but overflow causes clipping instead of wrapping around }
+op {clip-} { like A-B but overflow causes clipping instead of wrapping around }
 op {erf*} { integral of e^(-x*x) dx ... (coming soon; what ought to be the scaling factor?) }
 op {weight} { number of "1" bits in an integer}
 op {sin} {sin(A-B) in radians, float only}
@@ -150,13 +150,13 @@
 
 foreach msgbox $msgboxes {write [list #X connect $msgbox 0 $outletid 0]}
 
+draw_columns
+
 foreach section $sections {
 	mset {y1 desc} $section
-	obj 0 $y1 cnv 15 $::col4 18 empty empty empty 20 12 0 14 -248881 -66577 0
-	text 10 $y1 $desc
+	obj 0 $y1 cnv 15 $::col4 14 empty empty empty 20 12 0 14 -248881 -66577 0
+	text 10 [expr $y1-2] $desc
 }
-
-draw_columns
 
 p {
 	note: a centidegree is 0.01 degree. There are 36000 centidegrees in a circle.

Modified: trunk/doc/numop.pd
==============================================================================
--- trunk/doc/numop.pd (original)
+++ trunk/doc/numop.pd Thu Jul 22 23:33:29 2010
@@ -1,256 +1,256 @@
 #N canvas 0 0 1024 768 10;
 #X obj 0 0 doc_demo;
-#X obj 0 30 cnv 15 946 30 empty empty empty 20 12 0 14 20 -66577 0;
+#X obj 0 30 cnv 15 906 22 empty empty empty 20 12 0 14 20 -66577 0;
 #X text 10 30 op name;
 #X text 96 30 description;
 #X text 446 30 effect on pixels;
-#X text 696 30 effect on coords;
-#X obj 0 78 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 78 op ignore;
-#X text 96 76  A ;
-#X text 446 78 no effect;
-#X text 696 78 no effect;
-#X obj 0 106 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 106 op put;
-#X text 96 104  B ;
-#X text 446 106 replace by;
-#X text 696 106 replace by;
-#X obj 0 134 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 134 op +;
-#X text 96 132  A + B ;
-#X text 446 134 brightness \,  crossfade;
-#X text 696 134 move \,  morph;
-#X obj 0 162 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 162 op -;
-#X text 96 160  A - B ;
-#X text 446 162 brightness \,  motion detection;
-#X text 696 162 move \,  motion detection;
-#X obj 0 190 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 190 op inv+;
-#X text 96 188  B - A ;
-#X text 446 190 negate then contrast;
-#X text 696 190 180 degree rotate then move;
-#X obj 0 218 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 218 op *;
-#X text 96 216  A * B ;
-#X text 446 218 contrast;
-#X text 696 218 zoom out;
-#X obj 0 246 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 246 op *>>8;
-#X text 96 244  (A * B) >> 8 ;
-#X text 446 246 contrast;
-#X text 696 246 zoom out;
-#X obj 0 274 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 274 op /;
-#X text 96 272  A / B \,  rounded towards zero ;
+#X text 676 30 effect on coords;
+#X obj 0 70 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 70 op ignore;
+#X text 96 66  A ;
+#X text 446 66 no effect;
+#X text 676 66 no effect;
+#X obj 0 96 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 96 op put;
+#X text 96 92  B ;
+#X text 446 92 replace by;
+#X text 676 92 replace by;
+#X obj 0 122 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 122 op +;
+#X text 96 118  A + B ;
+#X text 446 118 brightness \,  crossfade;
+#X text 676 118 move \,  morph;
+#X obj 0 148 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 148 op -;
+#X text 96 144  A - B ;
+#X text 446 144 brightness \,  motion detection;
+#X text 676 144 move \,  motion detection;
+#X obj 0 174 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 174 op inv+;
+#X text 96 170  B - A ;
+#X text 446 170 negate then contrast;
+#X text 676 170 180 degree rotate then move;
+#X obj 0 200 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 200 op *;
+#X text 96 196  A * B ;
+#X text 446 196 contrast;
+#X text 676 196 zoom out;
+#X obj 0 226 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 226 op *>>8;
+#X text 96 222  (A * B) >> 8 ;
+#X text 446 222 contrast;
+#X text 676 222 zoom out;
+#X obj 0 252 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 252 op /;
+#X text 96 248  A / B \,  rounded towards zero ;
+#X text 446 248 contrast;
+#X text 676 248 zoom in;
+#X obj 0 278 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 278 op div;
+#X text 96 274  A / B \,  rounded downwards ;
 #X text 446 274 contrast;
-#X text 696 274 zoom in;
-#X obj 0 302 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 302 op div;
-#X text 96 300  A / B \,  rounded downwards ;
-#X text 446 302 contrast;
-#X text 696 302 zoom in;
-#X obj 0 330 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 330 op inv*;
-#X text 96 328  B / A \,  rounded towards zero ;
-#X obj 0 358 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 358 op swapdiv;
-#X text 96 356  B / A \,  rounded downwards ;
-#X obj 0 386 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 386 op %;
-#X text 96 384  A % B \,  modulo (goes with div) ;
-#X text 446 386 --;
-#X text 696 386 tile;
-#X obj 0 414 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 414 op swap%;
-#X text 96 412  B % A \,  modulo (goes with div) ;
-#X obj 0 442 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 442 op rem;
-#X text 96 440  A % B \,  remainder (goes with /) ;
-#X obj 0 470 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 470 op swaprem;
-#X text 96 468  B % A \,  remainder (goes with /) ;
-#X obj 0 498 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 498 op gcd;
-#X text 96 496 greatest common divisor;
-#X obj 0 526 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 526 op lcm;
-#X text 96 524 least common multiple;
-#X obj 0 554 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 554 op |;
-#X text 96 552  A or B \,  bitwise ;
-#X text 446 554 bright munchies;
-#X text 696 554 bottomright munchies;
-#X obj 0 582 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 582 op ^;
-#X text 96 580  A xor B \,  bitwise ;
-#X text 446 582 symmetric munchies (fractal checkers);
-#X text 696 582 symmetric munchies (fractal checkers);
-#X obj 0 610 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 610 op &;
-#X text 96 608  A and B \,  bitwise ;
-#X text 446 610 dark munchies;
-#X text 696 610 topleft munchies;
-#X obj 0 638 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 638 op <<;
-#X text 96 636  A * (2**(B % 32)) \,  which is left-shifting ;
-#X text 446 638 like *;
-#X text 696 638 like *;
-#X obj 0 666 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 666 op >>;
-#X text 96 664  A / (2**(B % 32)) \,  which is right-shifting ;
-#X text 446 666 like / \, div;
-#X text 696 666 like / \, div;
-#X obj 0 694 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 694 op ||;
-#X text 96 692  if A is zero then B else A ;
-#X obj 0 722 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 722 op &&;
-#X text 96 720  if A is zero then zero else B;
-#X obj 0 750 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 750 op min;
-#X text 96 748  the lowest value in A \, B ;
-#X text 446 750 clipping;
-#X text 696 750 clipping (of individual points);
-#X obj 0 778 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 778 op max;
-#X text 96 776  the highest value in A \, B ;
-#X text 446 778 clipping;
-#X text 696 778 clipping (of individual points);
-#X obj 0 806 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 806 op cmp;
-#X text 96 804  -1 when A<B \;  0 when A=B \;  1 when A>B. ;
-#X obj 0 834 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 834 op ==;
-#X text 96 832  is A equal to B ? 1=true \,  0=false ;
-#X obj 0 862 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 862 op !=;
-#X text 96 860  is A not equal to B ? ;
-#X obj 0 890 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 890 op >;
-#X text 96 888  is A greater than B ? ;
-#X obj 0 918 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 918 op <=;
-#X text 96 916  is A not greater than B ? ;
-#X obj 0 946 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 946 op <;
-#X text 96 944  is A less than B ? ;
-#X obj 0 974 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 974 op >=;
-#X text 96 972 is A not less than B ? ;
-#X obj 0 1002 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 1002 op sin*;
-#X text 96 1000  B * sin(A) in centidegrees ;
-#X text 446 1002 --;
-#X text 696 1002 waves \,  rotations;
-#X obj 0 1030 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 1030 op cos*;
-#X text 96 1028  B * cos(A) in centidegrees ;
-#X text 446 1030 --;
-#X text 696 1030 waves \,  rotations;
-#X obj 0 1058 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 1058 op atan;
-#X text 96 1056  arctan(A/B) in centidegrees ;
-#X text 446 1058 --;
-#X text 696 1058 find angle to origin (part of polar transform);
-#X obj 0 1086 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 1086 op tanh*;
-#X text 96 1084  B * tanh(A) in centidegrees ;
-#X text 446 1086 smooth clipping;
-#X text 696 1086 smooth clipping (of individual points) \,  neural sigmoid \,  fuzzy logic;
-#X obj 0 1114 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 1114 op log*;
-#X text 96 1112  B * log(A) (in base e) ;
-#X obj 0 1142 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 1142 op gamma;
-#X text 96 1140  floor(pow(a/256.0 \, 256.0/b)*256.0) ;
-#X text 446 1142 gamma correction;
-#X obj 0 1170 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 1170 op **;
-#X text 96 1168  A**B \,  that is \,  A raised to power B ;
-#X text 446 1170 gamma correction;
-#X obj 0 1198 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 1198 op abs-;
-#X text 96 1196  absolute value of (A-B) ;
-#X obj 0 1226 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 1226 op rand;
-#X text 96 1224  randomly produces a non-negative number below A ;
-#X obj 0 1254 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 1254 op sqrt;
-#X text 96 1252  square root of A \,  rounded downwards ;
-#X obj 0 1282 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 1282 op sq-;
-#X text 96 1280  (A-B) times (A-B) ;
-#X obj 0 1310 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 1310 op avg;
-#X text 96 1308  (A+B)/2 ;
-#X obj 0 1338 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 1338 op hypot;
-#X text 96 1336  distance function: square root of (A*A+B*B) ;
-#X obj 0 1366 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 1366 op clip+;
-#X text 96 1364  like A+B but overflow causes clipping instead of wrapping around (coming soon) ;
-#X obj 0 1394 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 1394 op clip-;
-#X text 96 1392  like A-B but overflow causes clipping instead of wrapping around (coming soon) ;
-#X obj 0 1422 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 1422 op erf*;
-#X text 96 1420  integral of e^(-x*x) dx ... (coming soon \;  what ought to be the scaling factor?) ;
-#X obj 0 1450 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 1450 op weight;
-#X text 96 1448  number of "1" bits in an integer;
-#X obj 0 1478 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 1478 op sin;
-#X text 96 1476 sin(A-B) in radians \,  float only;
-#X obj 0 1506 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 1506 op cos;
-#X text 96 1504 cos(A-B) in radians \,  float only;
-#X obj 0 1534 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 1534 op atan2;
-#X text 96 1532 atan2(A \, B) in radians \,  float only;
-#X obj 0 1562 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 1562 op tanh;
-#X text 96 1560 tanh(A-B) in radians \,  float only;
-#X obj 0 1590 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 1590 op exp;
-#X text 96 1588 exp(A-B) in radians \,  float only;
-#X obj 0 1618 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 1618 op log;
-#X text 96 1616 log(A-B) in radians \,  float only;
-#X obj 0 1666 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 1666 op C.*    ;
-#X text 96 1664 A*B;
-#X obj 0 1694 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 1694 op C.*conj;
-#X text 96 1692 A*conj(B);
-#X obj 0 1722 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 1722 op C./    ;
-#X text 96 1720 A/B;
-#X obj 0 1750 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 1750 op C./conj;
-#X text 96 1748 A/conj(B);
-#X obj 0 1778 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 1778 op C.sq-  ;
-#X text 96 1776 (A-B)*(A-B);
-#X obj 0 1806 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 1806 op C.abs- ;
-#X text 96 1804 abs(A-B);
-#X obj 0 1834 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 1834 op C.sin  ;
-#X text 96 1832 sin(A-B);
-#X obj 0 1862 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 1862 op C.cos  ;
-#X text 96 1860 cos(A-B);
-#X obj 0 1890 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 1890 op C.tanh ;
-#X text 96 1888 tanh(A-B);
-#X obj 0 1918 cnv 15 946 26 empty empty empty 20 12 0 14 -233280 -66577 0;
-#X msg 10 1918 op C.exp  ;
-#X text 96 1916 exp(A-B);
-#X obj 0 1946 cnv 15 946 26 empty empty empty 20 12 0 14 -249792 -66577 0;
-#X msg 10 1946 op C.log  ;
-#X text 96 1944 log(A-B);
-#X obj 10 1984 outlet;
+#X text 676 274 zoom in;
+#X obj 0 304 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 304 op inv*;
+#X text 96 300  B / A \,  rounded towards zero ;
+#X obj 0 330 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 330 op swapdiv;
+#X text 96 326  B / A \,  rounded downwards ;
+#X obj 0 356 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 356 op %;
+#X text 96 352  A % B \,  modulo (goes with div) ;
+#X text 446 352 --;
+#X text 676 352 tile;
+#X obj 0 382 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 382 op swap%;
+#X text 96 378  B % A \,  modulo (goes with div) ;
+#X obj 0 408 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 408 op rem;
+#X text 96 404  A % B \,  remainder (goes with /) ;
+#X obj 0 434 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 434 op swaprem;
+#X text 96 430  B % A \,  remainder (goes with /) ;
+#X obj 0 460 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 460 op gcd;
+#X text 96 456 greatest common divisor;
+#X obj 0 486 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 486 op lcm;
+#X text 96 482 least common multiple;
+#X obj 0 512 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 512 op |;
+#X text 96 508  A or B \,  bitwise ;
+#X text 446 508 bright munchies;
+#X text 676 508 bottomright munchies;
+#X obj 0 538 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 538 op ^;
+#X text 96 534  A xor B \,  bitwise ;
+#X text 446 534 symmetric munchies (fractal checkers);
+#X text 676 534 symmetric munchies (fractal checkers);
+#X obj 0 564 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 564 op &;
+#X text 96 560  A and B \,  bitwise ;
+#X text 446 560 dark munchies;
+#X text 676 560 topleft munchies;
+#X obj 0 590 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 590 op <<;
+#X text 96 586  A * pow(2 \, mod(B \, 32)) \,  which is left-shifting ;
+#X text 446 586 like *;
+#X text 676 586 like *;
+#X obj 0 616 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 616 op >>;
+#X text 96 612  A / pow(2 \, mod(B \, 32)) \,  which is right-shifting ;
+#X text 446 612 like / \, div;
+#X text 676 612 like / \, div;
+#X obj 0 642 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 642 op ||;
+#X text 96 638  if A is zero then B else A ;
+#X obj 0 668 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 668 op &&;
+#X text 96 664  if A is zero then zero else B;
+#X obj 0 694 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 694 op min;
+#X text 96 690  the lowest value in A \, B ;
+#X text 446 690 clipping;
+#X text 676 690 clipping (of individual points);
+#X obj 0 720 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 720 op max;
+#X text 96 716  the highest value in A \, B ;
+#X text 446 716 clipping;
+#X text 676 716 clipping (of individual points);
+#X obj 0 746 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 746 op cmp;
+#X text 96 742  -1 when A<B \,  0 when A=B \,  1 when A>B ;
+#X obj 0 772 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 772 op ==;
+#X text 96 768  is A equal to B ? 1=true \,  0=false ;
+#X obj 0 798 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 798 op !=;
+#X text 96 794  is A not equal to B ? ;
+#X obj 0 824 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 824 op >;
+#X text 96 820  is A greater than B ? ;
+#X obj 0 850 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 850 op <=;
+#X text 96 846  is A not greater than B ? ;
+#X obj 0 876 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 876 op <;
+#X text 96 872  is A less than B ? ;
+#X obj 0 902 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 902 op >=;
+#X text 96 898 is A not less than B ? ;
+#X obj 0 928 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 928 op sin*;
+#X text 96 924  B * sin(A) in centidegrees ;
+#X text 446 924 --;
+#X text 676 924 waves \,  rotations;
+#X obj 0 954 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 954 op cos*;
+#X text 96 950  B * cos(A) in centidegrees ;
+#X text 446 950 --;
+#X text 676 950 waves \,  rotations;
+#X obj 0 980 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 980 op atan;
+#X text 96 976  arctan(A/B) in centidegrees ;
+#X text 446 976 --;
+#X text 676 976 find angle to origin \;  (part of polar transform);
+#X obj 0 1006 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 1006 op tanh*;
+#X text 96 1002  B * tanh(A) in centidegrees ;
+#X text 446 1002 smooth clipping;
+#X text 676 1002 smooth clipping (of individual points) \;  neural sigmoid \,  fuzzy logic;
+#X obj 0 1032 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 1032 op log*;
+#X text 96 1028  B * log(A) (in base e) ;
+#X obj 0 1058 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 1058 op gamma;
+#X text 96 1054  floor(pow(a/256.0 \, 256.0/b)*256.0) ;
+#X text 446 1054 gamma correction;
+#X obj 0 1084 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 1084 op **;
+#X text 96 1080  A**B \,  that is \,  A raised to power B ;
+#X text 446 1080 gamma correction;
+#X obj 0 1110 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 1110 op abs-;
+#X text 96 1106  absolute value of (A-B) ;
+#X obj 0 1136 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 1136 op rand;
+#X text 96 1132  randomly produces a non-negative number below A ;
+#X obj 0 1162 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 1162 op sqrt;
+#X text 96 1158  square root of A \,  rounded downwards ;
+#X obj 0 1188 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 1188 op sq-;
+#X text 96 1184  (A-B) times (A-B) ;
+#X obj 0 1214 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 1214 op avg;
+#X text 96 1210  (A+B)/2 ;
+#X obj 0 1240 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 1240 op hypot;
+#X text 96 1236  distance function: square root of (A*A+B*B) ;
+#X obj 0 1266 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 1266 op clip+;
+#X text 96 1262  like A+B but overflow causes clipping instead of wrapping around ;
+#X obj 0 1292 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 1292 op clip-;
+#X text 96 1288  like A-B but overflow causes clipping instead of wrapping around ;
+#X obj 0 1318 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 1318 op erf*;
+#X text 96 1314  integral of e^(-x*x) dx ... (coming soon \;  what ought to be the scaling factor?) ;
+#X obj 0 1344 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 1344 op weight;
+#X text 96 1340  number of "1" bits in an integer;
+#X obj 0 1370 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 1370 op sin;
+#X text 96 1366 sin(A-B) in radians \,  float only;
+#X obj 0 1396 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 1396 op cos;
+#X text 96 1392 cos(A-B) in radians \,  float only;
+#X obj 0 1422 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 1422 op atan2;
+#X text 96 1418 atan2(A \, B) in radians \,  float only;
+#X obj 0 1448 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 1448 op tanh;
+#X text 96 1444 tanh(A-B) in radians \,  float only;
+#X obj 0 1474 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 1474 op exp;
+#X text 96 1470 exp(A-B) in radians \,  float only;
+#X obj 0 1500 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 1500 op log;
+#X text 96 1496 log(A-B) in radians \,  float only;
+#X obj 0 1542 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 1542 op C.*    ;
+#X text 96 1538 A*B;
+#X obj 0 1568 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 1568 op C.*conj;
+#X text 96 1564 A*conj(B);
+#X obj 0 1594 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 1594 op C./    ;
+#X text 96 1590 A/B;
+#X obj 0 1620 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 1620 op C./conj;
+#X text 96 1616 A/conj(B);
+#X obj 0 1646 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 1646 op C.sq-  ;
+#X text 96 1642 (A-B)*(A-B);
+#X obj 0 1672 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 1672 op C.abs- ;
+#X text 96 1668 abs(A-B);
+#X obj 0 1698 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 1698 op C.sin  ;
+#X text 96 1694 sin(A-B);
+#X obj 0 1724 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 1724 op C.cos  ;
+#X text 96 1720 cos(A-B);
+#X obj 0 1750 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 1750 op C.tanh ;
+#X text 96 1746 tanh(A-B);
+#X obj 0 1776 cnv 15 906 24 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 1776 op C.exp  ;
+#X text 96 1772 exp(A-B);
+#X obj 0 1802 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 1802 op C.log  ;
+#X text 96 1798 log(A-B);
+#X obj 10 1838 outlet;
 #X connect 7 0 251 0;
 #X connect 12 0 251 0;
 #X connect 17 0 251 0;
@@ -318,14 +318,14 @@
 #X connect 243 0 251 0;
 #X connect 246 0 251 0;
 #X connect 249 0 251 0;
-#X obj 0 58 cnv 15 946 18 empty empty empty 20 12 0 14 -248881 -66577 0;
-#X text 10 58 numops;
-#X obj 0 1646 cnv 15 946 18 empty empty empty 20 12 0 14 -248881 -66577 0;
-#X text 10 1646 vecops for complex numbers;
-#X obj 95 30 cnv 0 0 2004 empty empty empty -1 12 0 14 0 -66577 0;
-#X obj 445 30 cnv 0 0 2004 empty empty empty -1 12 0 14 0 -66577 0;
-#X obj 695 30 cnv 0 0 2004 empty empty empty -1 12 0 14 0 -66577 0;
-#X text 10 2004 
+#X obj 95 30 cnv 0 0 1858 empty empty empty -1 12 0 14 0 -66577 0;
+#X obj 445 30 cnv 0 0 1858 empty empty empty -1 12 0 14 0 -66577 0;
+#X obj 675 30 cnv 0 0 1858 empty empty empty -1 12 0 14 0 -66577 0;
+#X obj 0 54 cnv 15 906 14 empty empty empty 20 12 0 14 -248881 -66577 0;
+#X text 10 52 numops;
+#X obj 0 1526 cnv 15 906 14 empty empty empty 20 12 0 14 -248881 -66577 0;
+#X text 10 1524 vecops for complex numbers;
+#X text 10 1858 
 	note: a centidegree is 0.01 degree. There are 36000 centidegrees in a circle.
         Some angle operators use centidegrees \,  while some others use radians. To
         convert degrees into centidegrees \,  multiply by 100.



More information about the Gridflow-cvs mailing list