Crate ascii_num

Source
Expand description

Simple library that generates point coordinates for drawing each digit of a decimal number.

For example the digit “2” would return the x/y coordinates for each 2 in the below picture:


..2222
 22  22
    22
   22
 222222

Structs§

PointDigitIterator
PointIterator

Functions§

get_coords
Pass in a number. Returns digits in decimal in coordinate form. x grows rightwards. y grows downwards. one unit is one ascii character.
get_misc
Create some misc symbols. Look at static strings in the source code to figure out which ones.