Create Decoding Effect For Text – ScrambleJS

Category: Animation , Javascript , Recommended | August 21, 2019
Author: ignatiusmb
Views Total: 322
Official Page: Go to website
Last Update: August 21, 2019
License: MIT

Preview:

Create Decoding Effect For Text – ScrambleJS

Description:

Yet another vanilla JavaScript library for applying a configurable decoding/scrambling effect on any text.

See also:

How to use it:

Install & download.

# NPM
$ npm install @ignatiusmb/scramble --save

Import the ScrambleJS from the lib folder.

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

Or from a CDN.

<script src="https://unpkg.com/@ignatiusmb/scramble"></script>

Apply the effect to the text you specify.

<p id="example">Text To Decode</p>
const example = document.getElementById("example");
      instance = disorder(example);

Reveal the original text.

instance.process();

Start/stop the decoding/scrambling effect.

instance.start();
instance.stop();

Changelog:

08/21/2019

  • v3.0.1

You Might Be Interested In:


Leave a Reply