$ npm install drawille-blessed-contrib
Drawing in terminal with unicode braille characters. The idea is based on drawille by @asciimoo.
$ npm install drawille
See examples.
This module provides a very basic API only, for fancy things,
like drawing lines, use another module,
like bresenham
.
drawille-canvas
provides HTML5 Canvas API for drawille (WIP).
Create a new canvas with the given dimensions.
w
must be multiple of 2, h
must be multiple of 4.
Draw point on canvas
at the given position.
Delete point on canvas
at the given position.
Toggle point on canvas
at the given position.
Clear the whole canvas (delete every point).
Return the current content of canvas
, as a delimiter
-delimited
string. delimiter
defaults to \n
.
It uses braille characters to represent points,
so every line has length of w/2
, and the string contains h/4
lines.
vtop
uses it to draw CPU and memory usage charts in the terminaldatop
uses it to draw dat statisticsboscillate
uses it to draw baudio
soundwaves in real-timeMIT
© 2010 - cnpmjs.org x YWFE | Home | YWFE