chalkboard-0.2: Combinators for building and processing 2D images.

Portabilityghc
Stabilityunstable
MaintainerAndy Gill <andygill@ku.edu>

Graphics.Chalkboard.Ascii

Description

This module supports basic ascii drawing of Boards.

Synopsis

Documentation

toAscii :: (Int, Int) -> Board Gray -> [String]Source

toAscii generates a board of ascii characters, where each char is two pixels, one wide and two high.

toCount :: (Int, Int) -> Board Gray -> [String]Source

toCount generates a board of ascii characters, where each char is two pixels, one wide and two high. we uses digits 1 .. 9, then 0 (highest) to represent intensity, adding the two pixels for each char.