four-color-ascii-canvas
v1.1.0
Published
Efficient ASCII Canvas in the terminal with four colors
Downloads
3
Readme
four-color-ascii-canvas
Usage
var FourColorASCIICanvas = require('four-color-ascii-canvas');
var canvas = new FourColorASCIICanvas(WIDTH, HEIGHT);
canvas.paint(ndarray); // Flat array of RGBA pixels of length WIDTH*HEIGHT*4
Example
See the following project: https://github.com/MX-Futhark/terminal-gbc-emulator#example