/scramble

A JavaScript animation library for texts

Primary LanguageJavaScriptMIT LicenseMIT

Scramble ·   

Scramble is a JavaScript animation library for texts.
Quick setup with minimal hassle.

Homepage  ·  Documentation  ·  Demos and examples

const scramble = require('@ignatiusmb/scramble')
scramble(document.querySelector('#yourElement')).run() // single element

scramble(document.querySelectorAll('.scramble-group')) // multiple elements

Installation

via NPM

$ npm install @ignatiusmb/scramble

via UNPKG

<script src="https://unpkg.com/@ignatiusmb/scramble@3.0.1/lib/scramble.min.js"></script>

via jsDelivr

<script src="https://cdn.jsdelivr.net/gh/ignatiusmb/scramble@3.0.1/lib/scramble.min.js"></script>

Scramble is MIT licensed


ignatiusmb.io · imbagus.com · GitHub · GitLab