Skip to content

mreinstein/text-animate

Repository files navigation

text-animate

beautiful, animated, HTML typographic UI effects

alt text

simple example

You can use commonjs (require) or es modules (import)

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

About

✍ beautiful, animated, HTML typographic UI effects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published