Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/littledivy/drawille
HTML5 Canvas on the terminal with Deno.
https://github.com/littledivy/drawille
bresen canvas deno drawing drawllie gl-matrix html5-canvas terminal typescript
Last synced: 2 months ago
JSON representation
HTML5 Canvas on the terminal with Deno.
- Host: GitHub
- URL: https://github.com/littledivy/drawille
- Owner: littledivy
- License: mit
- Created: 2020-12-20T11:28:38.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-05T15:59:16.000Z (about 3 years ago)
- Last Synced: 2024-10-17T00:25:52.037Z (2 months ago)
- Topics: bresen, canvas, deno, drawing, drawllie, gl-matrix, html5-canvas, terminal, typescript
- Language: TypeScript
- Homepage:
- Size: 13.4 MB
- Stars: 34
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## `drawille`
[HTML5](https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API) [Canvas](canvas.ts) on the terminal. Based on [drawille](https://github.com/asciimoo/drawille) [implementation](drawille.ts).
https://user-images.githubusercontent.com/34997667/127607186-8eb7ac23-ab00-48ed-a01a-90e5e262f122.mp4
### Usage
Take a look at various examples located at [`examples/`](./examples/)
```typescript
import Canvas from "https://deno.land/x/drawille/drawille.ts";const canvas = new Canvas();
let ctx = canvas.getContext("2d");
// ...
```> Requires --unstable feature to be enabled for `Deno.consoleSize`.
### License
[MIT license](LICENSE)