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

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Thu Jul 22 23:45:13 EDT 2010


Author: matju
Date: Thu Jul 22 23:45:12 2010
New Revision: 5761

Log:
take trois

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:45:12 2010
@@ -14,8 +14,6 @@
 proc text {args} {write [concat [list #X text] $args]; incr ::oid}
 
 set fh [open numop.pd w]
-write [list #N canvas 0 0 1024 768 10]
-write [list #X obj 0 0 doc_demo]
 set oid 1
 set y 30
 set row 0
@@ -24,7 +22,9 @@
 set col2 [expr $col1+350]
 set col3 [expr $col2+230]
 set col4 [expr $col3+230]
-set rowsize 26
+set rowsize 19
+write [list #N canvas 0 0 [expr $col4+10] 640 10]
+write [list #X obj 0 0 doc_demo]
 
 obj 0 $y cnv 15 $col4 22 empty empty empty 20 12 0 14 20 -66577 0
 text 10 $y op name
@@ -39,10 +39,10 @@
 # for vecops, the two analogy-columns were labelled:
 #   meaning in geometric context (indexmaps, polygons, in which each complex number is a point)
 #   meaning in spectrum context (FFT) in which each number is a (cosine,sine) pair
-proc op {op desc {extra1 ""} {extra2 ""}} {
+proc op {op desc {extra1 ""} {extra2 ""} {size 19}} {
 	global y
 	if {$::row&1} {set bg -233280} {set bg -249792}
-	obj 0 $y cnv 15 $::col4 [expr $::rowsize-2] empty empty empty 20 12 0 14 $bg -66577 0
+	obj 0 $y cnv 15 $::col4 [expr $size-2] empty empty empty 20 12 0 14 $bg -66577 0
 	lappend ::msgboxes $::oid
 	set x 10
 	foreach op1 $op {msg $x $y op $op; incr 50}
@@ -50,7 +50,7 @@
 	if {$extra1 != ""} {text $::col2 [expr {$y-4}] $extra1}
 	if {$extra2 != ""} {text $::col3 [expr {$y-4}] $extra2}
 	incr ::row
-	incr ::y $::rowsize
+	incr ::y $size
 }
 
 proc draw_columns {} {
@@ -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)} 28
+op {tanh*} { B * tanh(A) in centidegrees } {smooth clipping} {smooth clipping (of individual points); neural sigmoid, fuzzy logic} 28
 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,9 +115,9 @@
 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 }
-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 {clip+} { like A+B but overflow causes clipping instead of wrapping around } {} {} 28
+op {clip-} { like A-B but overflow causes clipping instead of wrapping around } {} {} 28
+op {erf*} { integral of e^(-x*x) dx ... (coming soon; what ought to be the scaling factor?) } {} {} 28
 op {weight} { number of "1" bits in an integer}
 op {sin} {sin(A-B) in radians, float only}
 op {cos} {cos(A-B) in radians, float only}

Modified: trunk/doc/numop.pd
==============================================================================
--- trunk/doc/numop.pd (original)
+++ trunk/doc/numop.pd Thu Jul 22 23:45:12 2010
@@ -1,256 +1,256 @@
-#N canvas 0 0 1024 768 10;
+#N canvas 0 0 916 640 10;
 #X obj 0 0 doc_demo;
 #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 676 30 effect on coords;
-#X obj 0 70 cnv 15 906 24 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X obj 0 70 cnv 15 906 17 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 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 obj 0 89 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 89 op put;
+#X text 96 85  B ;
+#X text 446 85 replace by;
+#X text 676 85 replace by;
+#X obj 0 108 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 108 op +;
+#X text 96 104  A + B ;
+#X text 446 104 brightness \,  crossfade;
+#X text 676 104 move \,  morph;
+#X obj 0 127 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 127 op -;
+#X text 96 123  A - B ;
+#X text 446 123 brightness \,  motion detection;
+#X text 676 123 move \,  motion detection;
+#X obj 0 146 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 146 op inv+;
+#X text 96 142  B - A ;
+#X text 446 142 negate then contrast;
+#X text 676 142 180 degree rotate then move;
+#X obj 0 165 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 165 op *;
+#X text 96 161  A * B ;
+#X text 446 161 contrast;
+#X text 676 161 zoom out;
+#X obj 0 184 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 184 op *>>8;
+#X text 96 180  (A * B) >> 8 ;
+#X text 446 180 contrast;
+#X text 676 180 zoom out;
+#X obj 0 203 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 203 op /;
+#X text 96 199  A / B \,  rounded towards zero ;
+#X text 446 199 contrast;
+#X text 676 199 zoom in;
+#X obj 0 222 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 222 op div;
+#X text 96 218  A / B \,  rounded downwards ;
+#X text 446 218 contrast;
+#X text 676 218 zoom in;
+#X obj 0 241 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 241 op inv*;
+#X text 96 237  B / A \,  rounded towards zero ;
+#X obj 0 260 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 260 op swapdiv;
+#X text 96 256  B / A \,  rounded downwards ;
+#X obj 0 279 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 279 op %;
+#X text 96 275  A % B \,  modulo (goes with div) ;
+#X text 446 275 --;
+#X text 676 275 tile;
+#X obj 0 298 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 298 op swap%;
+#X text 96 294  B % A \,  modulo (goes with div) ;
+#X obj 0 317 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 317 op rem;
+#X text 96 313  A % B \,  remainder (goes with /) ;
+#X obj 0 336 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 336 op swaprem;
+#X text 96 332  B % A \,  remainder (goes with /) ;
+#X obj 0 355 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 355 op gcd;
+#X text 96 351 greatest common divisor;
+#X obj 0 374 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 374 op lcm;
+#X text 96 370 least common multiple;
+#X obj 0 393 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 393 op |;
+#X text 96 389  A or B \,  bitwise ;
+#X text 446 389 bright munchies;
+#X text 676 389 bottomright munchies;
+#X obj 0 412 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 412 op ^;
+#X text 96 408  A xor B \,  bitwise ;
+#X text 446 408 symmetric munchies (fractal checkers);
+#X text 676 408 symmetric munchies (fractal checkers);
+#X obj 0 431 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 431 op &;
+#X text 96 427  A and B \,  bitwise ;
+#X text 446 427 dark munchies;
+#X text 676 427 topleft munchies;
+#X obj 0 450 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 450 op <<;
+#X text 96 446  A * pow(2 \, mod(B \, 32)) \,  which is left-shifting ;
+#X text 446 446 like *;
+#X text 676 446 like *;
+#X obj 0 469 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 469 op >>;
+#X text 96 465  A / pow(2 \, mod(B \, 32)) \,  which is right-shifting ;
+#X text 446 465 like / \, div;
+#X text 676 465 like / \, div;
+#X obj 0 488 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 488 op ||;
+#X text 96 484  if A is zero then B else A ;
+#X obj 0 507 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 507 op &&;
+#X text 96 503  if A is zero then zero else B;
+#X obj 0 526 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 526 op min;
+#X text 96 522  the lowest value in A \, B ;
+#X text 446 522 clipping;
+#X text 676 522 clipping (of individual points);
+#X obj 0 545 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 545 op max;
+#X text 96 541  the highest value in A \, B ;
+#X text 446 541 clipping;
+#X text 676 541 clipping (of individual points);
+#X obj 0 564 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 564 op cmp;
+#X text 96 560  -1 when A<B \,  0 when A=B \,  1 when A>B ;
+#X obj 0 583 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 583 op ==;
+#X text 96 579  is A equal to B ? 1=true \,  0=false ;
+#X obj 0 602 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 602 op !=;
+#X text 96 598  is A not equal to B ? ;
+#X obj 0 621 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 621 op >;
+#X text 96 617  is A greater than B ? ;
+#X obj 0 640 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 640 op <=;
+#X text 96 636  is A not greater than B ? ;
+#X obj 0 659 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 659 op <;
+#X text 96 655  is A less than B ? ;
+#X obj 0 678 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 678 op >=;
+#X text 96 674 is A not less than B ? ;
+#X obj 0 697 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 697 op sin*;
+#X text 96 693  B * sin(A) in centidegrees ;
+#X text 446 693 --;
+#X text 676 693 waves \,  rotations;
+#X obj 0 716 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 716 op cos*;
+#X text 96 712  B * cos(A) in centidegrees ;
+#X text 446 712 --;
+#X text 676 712 waves \,  rotations;
+#X obj 0 735 cnv 15 906 26 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 735 op atan;
+#X text 96 731  arctan(A/B) in centidegrees ;
+#X text 446 731 --;
+#X text 676 731 find angle to origin \;  (part of polar transform);
+#X obj 0 763 cnv 15 906 26 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 763 op tanh*;
+#X text 96 759  B * tanh(A) in centidegrees ;
+#X text 446 759 smooth clipping;
+#X text 676 759 smooth clipping (of individual points) \;  neural sigmoid \,  fuzzy logic;
+#X obj 0 791 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 791 op log*;
+#X text 96 787  B * log(A) (in base e) ;
+#X obj 0 810 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 810 op gamma;
+#X text 96 806  floor(pow(a/256.0 \, 256.0/b)*256.0) ;
+#X text 446 806 gamma correction;
+#X obj 0 829 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 829 op **;
+#X text 96 825  A**B \,  that is \,  A raised to power B ;
+#X text 446 825 gamma correction;
+#X obj 0 848 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 848 op abs-;
+#X text 96 844  absolute value of (A-B) ;
+#X obj 0 867 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 867 op rand;
+#X text 96 863  randomly produces a non-negative number below A ;
+#X obj 0 886 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 886 op sqrt;
+#X text 96 882  square root of A \,  rounded downwards ;
+#X obj 0 905 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 905 op sq-;
+#X text 96 901  (A-B) times (A-B) ;
+#X obj 0 924 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 924 op avg;
+#X text 96 920  (A+B)/2 ;
+#X obj 0 943 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 943 op hypot;
+#X text 96 939  distance function: square root of (A*A+B*B) ;
+#X obj 0 962 cnv 15 906 26 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 962 op clip+;
+#X text 96 958  like A+B but overflow causes clipping instead of wrapping around ;
+#X obj 0 990 cnv 15 906 26 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 990 op clip-;
+#X text 96 986  like A-B but overflow causes clipping instead of wrapping around ;
+#X obj 0 1018 cnv 15 906 26 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 1018 op erf*;
+#X text 96 1014  integral of e^(-x*x) dx ... (coming soon \;  what ought to be the scaling factor?) ;
+#X obj 0 1046 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 1046 op weight;
+#X text 96 1042  number of "1" bits in an integer;
+#X obj 0 1065 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 1065 op sin;
+#X text 96 1061 sin(A-B) in radians \,  float only;
+#X obj 0 1084 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 1084 op cos;
+#X text 96 1080 cos(A-B) in radians \,  float only;
+#X obj 0 1103 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 1103 op atan2;
+#X text 96 1099 atan2(A \, B) in radians \,  float only;
+#X obj 0 1122 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 1122 op tanh;
+#X text 96 1118 tanh(A-B) in radians \,  float only;
+#X obj 0 1141 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 1141 op exp;
+#X text 96 1137 exp(A-B) in radians \,  float only;
+#X obj 0 1160 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 1160 op log;
+#X text 96 1156 log(A-B) in radians \,  float only;
+#X obj 0 1195 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 1195 op C.*    ;
+#X text 96 1191 A*B;
+#X obj 0 1214 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 1214 op C.*conj;
+#X text 96 1210 A*conj(B);
+#X obj 0 1233 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 1233 op C./    ;
+#X text 96 1229 A/B;
+#X obj 0 1252 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 1252 op C./conj;
+#X text 96 1248 A/conj(B);
+#X obj 0 1271 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 1271 op C.sq-  ;
+#X text 96 1267 (A-B)*(A-B);
+#X obj 0 1290 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 1290 op C.abs- ;
+#X text 96 1286 abs(A-B);
+#X obj 0 1309 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 1309 op C.sin  ;
+#X text 96 1305 sin(A-B);
+#X obj 0 1328 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 1328 op C.cos  ;
+#X text 96 1324 cos(A-B);
+#X obj 0 1347 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 1347 op C.tanh ;
+#X text 96 1343 tanh(A-B);
+#X obj 0 1366 cnv 15 906 17 empty empty empty 20 12 0 14 -233280 -66577 0;
+#X msg 10 1366 op C.exp  ;
+#X text 96 1362 exp(A-B);
+#X obj 0 1385 cnv 15 906 17 empty empty empty 20 12 0 14 -249792 -66577 0;
+#X msg 10 1385 op C.log  ;
+#X text 96 1381 log(A-B);
+#X obj 10 1414 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 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 95 30 cnv 0 0 1434 empty empty empty -1 12 0 14 0 -66577 0;
+#X obj 445 30 cnv 0 0 1434 empty empty empty -1 12 0 14 0 -66577 0;
+#X obj 675 30 cnv 0 0 1434 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 
+#X obj 0 1179 cnv 15 906 14 empty empty empty 20 12 0 14 -248881 -66577 0;
+#X text 10 1177 vecops for complex numbers;
+#X text 10 1434 
 	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