eyes ascii | Produces an image of ascii characters. |
Creates an image of ascii characters based upon the intensity content of the input image. Font, face, size, spacing, transfer mode, foreground and background color are modifiable parameters.
Inlets & Arguments: |
|
Name |
|
Description |
|
image |
|
Eyes Image, standard operator messages see: eyes messages |
|
size |
|
Size of the font used in the image. |
|
spacing |
|
Spacing of characters throughout the image. |
|
font |
|
Font used, see inside macintosh quickdraw font routines for more information. 0 = system font. 1 = app1Font 2 = newYork 3 = geneva 4 = monaco 5 = venice 6 = london 7 = athens 8 = sanFran 9 = toronto 10 = cairo 11 = losAngeles 20 = times 21 = helvetica 22 = courier 23 = symbol 24 = mobile. I will change this to use font names if someone wants it. |
|
face |
|
Font face used, see macintosh Think Reference or Inside Macintosh for more. By adding numbers to gether you get different combinations of font faces. 0 = plain 1 = bold 2 = italic 4 = underline 8 = outline 16 = shadow 32 = condense 64 = extend |
|
transfer mode |
|
Drawing mode used to transfer characters to the graphics buffer. 0 = srcOr (default) 1 = srcXor 2 = srcCopy. |
|
zero point |
|
Added to pixel intensities before indexing into the character set. this is used so that negative numbers can appear as characters lower in the character set, rather than as wrapped around to higher characters. |
|
show image |
|
Show the input image behind characters. 0 = off 1 = on. |
Outlets: |
|
Name | Description |
|
input image | image unmodified. Working on version that passes out the ascii image. |
Messages: |
chars list |
List of integers representing ascii characters to use in producing the ascii image. |
fore red green blue |
Foreground font color |
back red green blue |
Background font color |
Standard messages |
Accepts all messages sent to the eyes object. See eyes messages. |
Argument messages |
Accepts all inlet arguments as messages: t, lo, and hi. |
Example: |
See Also: |
stillness, boid, words, flow |