{"_id":"drawille-blessed-contrib","_rev":"5-f07a6096f0fb08a4f4feea1e7fa2e9a1","name":"drawille-blessed-contrib","description":"Drawing in terminal with unicode braille characters","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"drawille-blessed-contrib","version":"1.0.0","description":"Drawing in terminal with unicode braille characters","main":"index.js","scripts":{"test":"echo \"OK 1337/1337 passed! (100%)\""},"author":{"name":"Bence Dányi","email":"madbence@gmail.com"},"repository":{"type":"git","url":"git@github.com:madbence/node-drawille.git"},"license":"MIT","bugs":{"url":"https://github.com/madbence/node-drawille/issues"},"devDependencies":{"bresenham":"0.0.3","gl-matrix":"^2.1.0"},"gitHead":"72b20c976c1536fb90259ddb3f59be6d326a944a","homepage":"https://github.com/madbence/node-drawille","_id":"drawille-blessed-contrib@1.0.0","_shasum":"15c27934f57a0056ad13596e1561637bc941f0b7","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"yaron","email":"yaronn01@gmail.com"},"maintainers":[{"name":"yaron","email":"yaronn01@gmail.com"}],"dist":{"shasum":"15c27934f57a0056ad13596e1561637bc941f0b7","tarball":"https://registry.npmjs.org/drawille-blessed-contrib/-/drawille-blessed-contrib-1.0.0.tgz","integrity":"sha512-WnHMgf5en/hVOsFhxLI8ZX0qTJmerOsVjIMQmn4cR1eI8nLGu+L7w5ENbul+lZ6w827A3JakCuernES5xbHLzQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDn21CUuO/li9A4ZphvRKeqQm00PvJI9EcJbl7qNuY9JgIhANXv0kt7nJEn6cpGJXAHjGeBhWef3KIPLhWsuFL4AKhT"}]}}},"readme":"node-drawille\n=============\n\n![cube](cube.gif)\n\nDrawing in terminal with unicode braille characters.\nThe idea is based on [drawille](https://github.com/asciimoo/drawille)\nby @asciimoo.\n\n## Install\n\n```\n$ npm install drawille\n```\n\n## Usage\n\nSee [examples](examples).\n\nThis module provides a very basic API only, for fancy things,\nlike drawing lines, use another module,\nlike [`bresenham`](https://github.com/madbence/node-bresenham).\n\n[`drawille-canvas`](https://github.com/madbence/node-drawille-canvas) provides HTML5 Canvas API for drawille (WIP).\n\n## API\n\n#### Canvas(w, h)\n\nCreate a new canvas with the given dimensions.\n`w` must be multiple of 2, `h` must be multiple of 4.\n\n#### canvas.set(x, y)\n\nDraw point on `canvas` at the given position.\n\n#### canvas.unset(x, y)\n\nDelete point on `canvas` at the given position.\n\n#### canvas.toggle(x, y)\n\nToggle point on `canvas` at the given position.\n\n#### canvas.clear()\n\nClear the whole canvas (delete every point).\n\n#### canvas.frame([delimiter])\n\nReturn the current content of `canvas`, as a `delimiter`-delimited\nstring. `delimiter` defaults to `\\n`.\n\nIt uses braille characters to represent points,\nso every line has length of `w/2`, and the string contains `h/4`\nlines.\n\n## Projects\n\n- [`vtop`](https://github.com/MrRio/vtop) uses it to draw CPU and memory usage charts in the terminal\n- [`datop`](https://github.com/maxogden/datop) uses it to draw [dat](https://github.com/maxogden/dat) statistics\n- [`boscillate`](https://www.npmjs.org/package/boscillate) uses it to draw [`baudio`](https://github.com/substack/baudio) soundwaves in real-time\n\n## License\n\nMIT\n","maintainers":[{"name":"yaron","email":"yaronn01@gmail.com"}],"time":{"modified":"2022-06-15T23:57:16.145Z","created":"2015-01-13T23:27:27.777Z","1.0.0":"2015-01-13T23:27:27.777Z"},"homepage":"https://github.com/madbence/node-drawille","repository":{"type":"git","url":"git@github.com:madbence/node-drawille.git"},"author":{"name":"Bence Dányi","email":"madbence@gmail.com"},"bugs":{"url":"https://github.com/madbence/node-drawille/issues"},"license":"MIT","readmeFilename":"README.md","users":{"nelix":true}}