Comparing version 0.0.4 to 0.1.0
@@ -36,3 +36,3 @@ var map = [ | ||
if(!(x >= 0 && x < this.width && y >= 0 && y < this.height)) { | ||
throw new Error('(' + [x, y].join(', ') + ') is out of the canvas!'); | ||
return; | ||
} | ||
@@ -39,0 +39,0 @@ x = Math.floor(x); |
{ | ||
"name": "drawille", | ||
"version": "0.0.4", | ||
"version": "0.1.0", | ||
"description": "Drawing in terminal with unicode braille characters", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
node-drawille | ||
============= | ||
``` | ||
⣀⣀⣀⠤⠤⠤⠒⢲⢄ | ||
⢀⣀⣀⡠⠤⠤⠔⠒⠒⠒⠉⠉⠉ ⢸ ⠣⡀ | ||
⣀⣀⣀⠤⠤⠤⠒⠒⠒⠊⠉⠉⠁ ⢸ ⠈⢢ | ||
⡶⡒⠉⠉⠉ ⢸ ⠑⢄ | ||
⡇⠑⢄ ⢸ ⠱⡀ | ||
⡇ ⠱⡀ ⢸ ⠈⠢⡀ | ||
⡇ ⠈⠢⡀ ⢸ ⠘⢄ | ||
⡇ ⠑⢄ ⢸ ⠑⡄ | ||
⡇ ⠣⡀ ⢸ ⢀⣀⣀⡨⢦ | ||
⡇ ⠈⢢ ⣀⣸⣀⠤⠤⠔⠒⠒⠊⠉⠉⠁ ⢸ | ||
⡇ ⠑⢄ ⢀⣀⣀⠤⠤⠤⠒⠒⠒⠉⠉⠉ ⢸ ⢸ | ||
⡇ ⠣⣀⡠⠤⠤⠔⠒⠒⠊⠉⠉⠁ ⢸ ⢸ | ||
⡇ ⡇ ⢸ ⢸ | ||
⡇ ⡇ ⢸ ⢸ | ||
⡇ ⡇ ⢸ ⢸ | ||
⡇ ⡇ ⢸ ⢸ | ||
⡇ ⡇ ⢸ ⢸ | ||
⡇ ⡇ ⢸ ⢸ | ||
⡇ ⡇ ⢀⣀⣀⡠⠤⠤⠔⠒⠒⠊⠉⢢ ⢸ | ||
⡇ ⡇ ⣀⣀⣀⠤⠤⠤⠒⠒⠒⠉⠉⠁ ⠑⢄ ⢸ | ||
⡇ ⢀⣀⣀⡠⠤⠤⠔⠒⠒⠉⡏⠉ ⠣⡀ ⢸ | ||
⠳⡊⠉⠉⠁ ⡇ ⠈⢢ ⢸ | ||
⠘⢄ ⡇ ⠑⢄ ⢸ | ||
⠑⡄ ⡇ ⠈⠢⡀ ⢸ | ||
⠈⠢⡀ ⡇ ⠈⢆ ⢸ | ||
⠈⢆ ⡇ ⠑⢄⢸ | ||
⠑⢄ ⡇ ⣀⣀⣀⠬⠾ | ||
⠣⡀ ⡇ ⢀⣀⣀⡠⠤⠤⠤⠒⠒⠒⠉⠉⠉ | ||
⠈⢢ ⡇ ⣀⣀⣀⠤⠤⠤⠔⠒⠒⠊⠉⠉⠁ | ||
⠑⠧⠤⠒⠒⠒⠉⠉⠉ | ||
``` | ||
![cube](cube.gif) | ||
@@ -49,3 +18,3 @@ Drawing in terminal with unicode braille characters. | ||
See [example](example.js). | ||
See [examples](examples). | ||
@@ -52,0 +21,0 @@ This module provides a very basic API only, for fancy things, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
189555
8
57