text-animate
v0.11.0
Published
beautiful, animated, HTML typographic UI effects
Downloads
27
Maintainers
Readme
text-animate
beautiful, animated, HTML typographic UI effects
example
import { header, controller } from 'text-animate'
const anim = controller()
const randSeed = Math.random()
const p5 = {
color: [ 0, 0, 0 ], // [ r, g, b ]
duration: 300,
delay: 0 // milliseconds to wait before animation starts
}
const h = header(document.querySelector('span'), p5)
anim.add(h)
anim.start()
More advanced usage examples available in example/
and on my personal site: https://reinstein.me