Nothing Prevents Misery

    digitalmatrix
    TypeScript icon, indicating that this package has built-in type declarations

    2.1.0 • Public • Published

    DigitalMatrix

    npm license github-issues

    nodei.co

    Creates a "Digital Matrix" effect inside HTML elements: Demo

    demo

    Install

    npm install --save digitalmatrix

    Usage

    To generate the matrix:

    import DigitalMatrix from "DigitalMatrix";
    
    var matrix = new DigitalMatrix("elementId");
    

    Where "elementId" is the id of the element that will contain the matrix.

    To enable the pulsate effect:

    matrix.startPulsate();
    

    To regenerate the matrix:

    matrix.regenerateNumbers();
    

    To resize the matrix:

    matrix.resize();
    

    Keywords

    none

    Install

    npm i digitalmatrix

    DownloadsWeekly Downloads

    42

    Version

    2.1.0

    License

    UNLICENSED

    Unpacked Size

    52.3 kB

    Total Files

    23

    Last publish

    Collaborators

    • dougmaitelli