[Gridflow-cvs] [svn] commit: r3854 - in /trunk/doc: index.pd locale/english.tcl make_index.tcl

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Wed Jun 11 13:34:07 EDT 2008


Author: matju
Date: Wed Jun 11 13:34:06 2008
New Revision: 3854

Log:
almost complete list of oneliners

Added:
    trunk/doc/index.pd
Modified:
    trunk/doc/locale/english.tcl
    trunk/doc/make_index.tcl

Modified: trunk/doc/locale/english.tcl
==============================================================================
--- trunk/doc/locale/english.tcl (original)
+++ trunk/doc/locale/english.tcl Wed Jun 11 13:34:06 2008
@@ -116,52 +116,55 @@
 say #fade             "fade in exponential-decay fashion (linear recurrence)"
 say #fastblur         "speedy shortcut for rectangular blur"
 #say foreach           ""
-say for               ""
-say fps ""
-say fuck
-say #gamma ""
-say gf.io_generate ""
-say #greyscale_to_rgb ""
-say #hueshift ""
-say #in ""
-say inv* ""
-say inv+ ""
-say #line_to_polygon ""
-say #make_cross ""
-say #meuh ""
-say #moment_polar ""
-say #motion_detection ""
-say #mouse ""
-say oneshot ""
-say #out ""
-say pingpong ""
-say plotter_control ""
-say #polygon_area ""
-say #polygon_comparator ""
-say #polygon_each_edge ""
-say #polygon_moment ""
-say #polygon_perimetre ""
-say #polygon_radial_map ""
-say #posterize ""
-say #ravel ""
-say #record ""
-say #remap_image ""
-say #rgba_to_rgb ""
-say #rgb_to_greyscale ""
-say #rgb_to_rgba ""
-say #rgb_to_yuv ""
-say #rotate ""
-say #saturation ""
-say #scale_to ""
-say #seq_fold ""
-say seq_fold ""
-say #slice ""
-say #solarize ""
-say #sort ""
-say #spread ""
-say #swap ""
-say #text_to_image ""
-say #to_literal ""
-say #t ""
-say var.# ""
-say #yuv_to_rgb ""
+say for               "make sequence of float messages for each number in a range with specified stepping"
+say fps               "measure frames per second and make statistics"
+say #gamma            "apply gamma correction"
+say gf.io_generate    "for internal use by #in and #out"
+say #greyscale_to_rgb "convert greyscale to RGB"
+say #hueshift         "apply hue shift by rotating the color wheel"
+
+say #in               "open file or device for reading or download"
+say #out              "open file or device for writing or upload"
+
+say inv*              "swapped /"
+say inv+              "swapped -"
+
+say #line_to_polygon  "convert line (as point pair) to polygon (rotated rectangle)"
+say #make_cross       "make cross-shaped polygon"
+say #moment_polar     "convert covariance matrix to the longest and shortest radius of an ellipse and a rotation angle"
+say #motion_detection "..."
+say #mouse            "converts mouse events to reports of clicks, drags, unclicks, motions, and separate buttons and wheel"
+say oneshot           "spigot that shuts itself down after each message"
+say pingpong          "turns value of a counter into a zigzag between 0 and a given value"
+say plotter_control   "make HPGL commands"
+
+say #polygon_area       "find area of a polygon in square pixels"
+say #polygon_comparator "find similarity between two polygons independently of rotation, by radial maps and FFT"
+say #polygon_each_edge  "convert a polygon to a sequence of overlapping 2-sided polygons representing edges"
+say #polygon_moment     "find average of all points inside of a polygon"
+say #polygon_perimetre  "find perimetre of a polygon in pixels (euclidian)"
+say #polygon_radial_map "find radius of a polygon from a given origin, sampled at equally spaced angles"
+
+say #posterize        "quantise pixel values"
+say #ravel            "do #redim so that a grid keeps same number of elements but just one dimension"
+say #record           "..."
+say #remap_image      "apply object chain on pixel positions to make new image from chosen pixels of the input image"
+say #rgba_to_rgb      "convert RGBA to RGB"
+say #rgb_to_greyscale "convert RGB to greyscale"
+say #rgb_to_rgba      "convert RGB to RGBA (but setting alpha to 0)"
+say #rgb_to_yuv       "convert RGB to unsigned YUV"
+say #rotate           "rotate points through two axes (or rotate pixels as points in a colorspace)"
+say #saturation       "multiply chroma by some value"
+say #scale_to         "scale an image from one size to any other size by deleting or duplicating rows and columns"
+say #seq_fold         "cascade the use of an object on all elements of an incoming grid message sequence"
+say seq_fold          "cascade the use of an object on all elements of an incoming message sequence"
+say #slice            "crop an image using a start point (top left) and end point (bottom right)"
+say #solarize         "like pingpong but on all pixel values of a grid"
+say #sort             "sort each row of a grid"
+say #spread           "add noise to each vector (point or pixel)"
+say #swap             "like \[swap\] for grids"
+say #text_to_image    "use a fixed-width font grid to make a tiling of characters as specified by a text string"
+say #to_literal       "convert grid to grid-literal (list with a # sign)"
+say #t                "like \[t a a\] for grids"
+say var.#             "like \[f\] for grids"
+say #yuv_to_rgb       "convert unsigned YUV to RGB"

Modified: trunk/doc/make_index.tcl
==============================================================================
--- trunk/doc/make_index.tcl (original)
+++ trunk/doc/make_index.tcl Wed Jun 11 13:34:06 2008
@@ -3,7 +3,15 @@
 puts "#N canvas 0 0 640 480 10 ;"
 set y 50
 foreach k [lsort [array names ::say *]] {
-	puts "#X obj 40 $y $k;"
-	puts "#X text 160 $y $::say($k);"
+	set w [string length $k]
+	if {$w<3} {set w 3}
+	set w [expr {$w*7}]
+	if {$k == "#color"} {set w 171}
+	puts "#X obj [expr 180-$w] $y $k;"
+	set v $::say($k)
+	regsub "," $v " \\, " v
+	regsub ";" $v " \\; " v
+	puts "#X text 200 $y $v;"
+	if {$k == "#color"} {incr y 40}
 	incr y 32
 }



More information about the Gridflow-cvs mailing list