term.gfx.sprite.art

term.gfx.sprite

art(spec) -> sprite

Create a pseudo-pixel-art sprite from a char-map and palette

spec:

The art is rasterized once into its own surface and returned as a sprite, so it blits/flips/tints/atlases like any other. A monochrome mask (one palette entry of white) can be recoloured at blit time via the tint option.