A bitmap font based text utility that can be used to print text to the screen.
I added two bitmap fonts (tiny/normal) based on some images in some own format.
The letter- and line spacing can be set in the constructor.
There's a function to iterate over the pixels of the font to do custom stuff with it, like the third text does.
Kinda follows same API as Hello, world
#text #font #utility
Log in to post a comment.
const turtle = new Turtle();