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
Arg
Description
1
image
n/a
Eyes Image, standard operator messages see: eyes messages
2
size
s
Size of the font used in the image.
3
spacing
p
Spacing of characters throughout the image.
4
font
c
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.
5
face
p
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
6
transfer mode
t
Drawing mode used to transfer characters to the graphics buffer.
0 = srcOr (default)
1 = srcXor
2 = srcCopy.
7
zero point
z
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.
8
show image
i
Show the input image behind characters.
0 = off
1 = on.

Outlets:
#
Name Description
1
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