chalkboard-0.2: Combinators for building and processing 2D images.
Graphics.Chalkboard.Ascii
Description
This module supports basic ascii drawing of Boards.
Board
Synopsis
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.
toAscii
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.
toCount