Hi all,
Here is an example of how to render text with background and foreground colours in Gridflow.
#image_to_font-help.pd is a tool for converting an image containing font characters (fixed width/height only!) to a format suitable for the font rendering patch. Any black pixels (0 in all channels) will be output as 1, all other pixels will be output as 0. This makes using the font as a mask really easy. To use the patch, adjust the values from right to left - clicking the load button will also process the image and save the generated font.
cm_#render_text-help.pd renders random characters with random background and foreground colours. See inside cm_#render_text.pd to see how it is done.
The purpose of all this was to speed up some cellular automata stuff (ANSI graphics in a terminal just don't cut it for live visuals...) but that part isn't done yet.
Many thanks to matju for his help debugging my stupidities in #dataflow :)
Tested with a fresh Gridflow CVS checkout (with a fresh Gentoo ruby-cvs 1.9.0-r3) and Miller's Pd 0.39-2.