An open API service indexing awesome lists of open source software.

https://github.com/ztf666/canvatrix

Turn your <canvas> into a fancy Matrix like screen.
https://github.com/ztf666/canvatrix

canvas2d matrix matrix-library npm-package npm-script

Last synced: about 1 month ago
JSON representation

Turn your <canvas> into a fancy Matrix like screen.

Awesome Lists containing this project

README

          

# CanvaTrix



[![HitCount](http://hits.dwyl.com/ZTF666/CanvaTrix.svg)](http://hits.dwyl.com/ZTF666/CanvaTrix)

Turn your <canvas> into a fancy Matrix like screen.


This is a readaptation/tweaked version made to be used more efficiently


The original code can be found here :



👉 [Original Code](http://cssdeck.com/labs/the-matrix) 👈






This was made using :


JS
JS

# NPM INSTALL

```bash

$ npm i canvatrix

```

## Usage

```javascript
import { ZTF } from "canvatrix/canvatrix";

ZTF(YOUR_CANVAS_ID).matrix(SPEED, CANVAS_WIDTH, CANVAS_HEIGHT);
```

## Notice

Make sure your canvas width and height values are the same as the ones put in the call of the function


Example

```html

```

```javascript
ZTF(YOUR_CANVAS_ID).matrix(SPEED, CANVAS_WIDTH, CANVAS_HEIGHT);
```

# NOT USING NPM ? NO PROBLEM !

Download the file : script.js and include it in your html

```html

ZTF(YOUR_CANVAS_ID).matrix(SPEED, CANVAS_WIDTH, CANVAS_HEIGHT);

```

# Contact

```
you can contact me at ZTF666@protonmail.ch or via my portfolio

```



ZTF666

## License

**👨‍💻 CanvaTrix 👨‍💻** released under the [MIT](LICENSE) License.


Made with 🖤 by ZTF666 - N.EA | 2020