# Type Shuffle Animation — primitive for text reveals (html)

> **For AI agents:** find the right skill in one call — `curl -s "https://skills.varg.ai/api/search?q=<what the person wants>"` returns the matching use case and the best skills with install commands, as markdown (Russian works too). Full index: https://skills.varg.ai/llms.txt. Every page has a markdown twin: add `.md` to its path. Before generating anything, show the person the options on the use-case page.

Monospace profile text and an ASCII portrait scrambling through random characters before settling

- **Install:** `git clone https://github.com/codrops/TypeShuffleAnimation`
- **Registry:** codrops · **Framework:** html · **License:** MIT (per demo repo)
- **Docs and preview:** https://tympanus.net/Development/TypeShuffleAnimation/
- **Source:** https://github.com/codrops/TypeShuffleAnimation
- **Example:** https://skills.varg.ai/previews/lib-codrops-type-shuffle-animation.mp4?v=87455 (From the library’s repo (Codrops — Manoela Ilic))
- **Time:** Drive from the frame. Runs on its own clock (requestAnimationFrame, timers, springs or CSS). Drive it from frame / fps before rendering, or the render drifts.
- **Runs:** local render, free
- **Aspect:** any

## Prompt that renders it frame-exact

Use Codrops' Type Shuffle Animation (demo https://tympanus.net/Development/TypeShuffleAnimation/, article https://tympanus.net/codrops/?p=70337, code https://github.com/codrops/TypeShuffleAnimation, MIT) for a hacker-terminal reveal: monospace lines whose characters cycle through random glyphs and colours before resolving, with six effects (fx1–fx6 in src/js/typeShuffle.js). It splits lines and characters with SplitType and shuffles them on timers with Math.random, so it is not seek-safe as shipped: replace the random source with a seeded generator and compute each character's state from frame / fps (how many shuffle cycles have passed for that cell), or rebuild the effect as a paused GSAP timeline. Put it in a dark full frame or a terminal window, with my own copy in the lines.

## Used in

- [Product launch film](https://skills.varg.ai/video/product-launch.md)
- [Notes-app ad](https://skills.varg.ai/video/notes-ad.md)
- [Text-message story](https://skills.varg.ai/video/chat-story.md)
- [CLI & terminal demo](https://skills.varg.ai/video/terminal-demo.md)
- [AI chat & agent demo](https://skills.varg.ai/video/ai-demo.md)
- [Data story](https://skills.varg.ai/video/data-story.md)
- [Math animation](https://skills.varg.ai/video/math-animation.md)
- [Whiteboard & hand-drawn](https://skills.varg.ai/video/whiteboard.md)

## More text reveals

- [Blur In](https://skills.varg.ai/component/hf.blur-in.md) — `npx hyperframes add blur-in`
- [Blur Out Up](https://skills.varg.ai/component/hf.blur-out-up.md) — `npx hyperframes add blur-out-up`
- [Bottom Up Letters](https://skills.varg.ai/component/hf.bottom-up-letters.md) — `npx hyperframes add bottom-up-letters`
- [Caret Swap](https://skills.varg.ai/component/hf.caret-swap.md) — `npx hyperframes add caret-swap`
- [Focus Blur Resolve](https://skills.varg.ai/component/hf.focus-blur-resolve.md) — `npx hyperframes add focus-blur-resolve`
- [Line-by-Line Slide](https://skills.varg.ai/component/hf.line-by-line-slide.md) — `npx hyperframes add line-by-line-slide`
