Add Retro Hacker Effects to Text with Hacked-Text Library

Category: Animation , Javascript , Text | July 18, 2023
Author:lukeiszed
Views Total:468 views
Official Page:Go to website
Last Update:July 18, 2023
License:MIT

Preview:

Add Retro Hacker Effects to Text with Hacked-Text Library

Description:

Hacked-Text is a tiny JavaScript library that mimics the classic “scrambling” of text, creating an illusion of dynamic hacking activity on your website.

How to use it:

1. Download and include the Hacked-Text library on the page.

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

2. Initialize the Hacked-Text on your text container and pass the following parameters:

  • id: The ID of the dom element}
  • iterations: Number of iterations
  • speed: Speed of the interations
<div id="example">
  Mess with the best, die like the rest
</div>
// Init(id, iterations, speed)
Init("example", 5, 10)

You Might Be Interested In:


Leave a Reply