New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

canvatrix

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

canvatrix

Turns your html canvas into fancy matrix like screens

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

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 👈


Please excuse that 15mb gif


This was made using :

JS JS

NPM INSTALL


$ npm i canvatrix

Usage

import { ZTF } from "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

<canvas id="test" width="1000" height="50"></canvas>
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

<script src="script.js"></script>

<script>
  ZTF(YOUR_CANVAS_ID).matrix(SPEED, CANVAS_WIDTH, CANVAS_HEIGHT);
</script>

Contact

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


ZTF666

License

👨‍💻 CanvaTrix 👨‍💻 released under the MIT License.

Made with 🖤 by ZTF666 - N.EA | 2020

Keywords

canvas

FAQs

Package last updated on 25 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts