Home / Animation / snabbt.js - Minimalistic animation library
snabbt.js - Minimalistic animation library

snabbt.js - Minimalistic animation library

Download
  • Overview
  • Documents
  • Demos
User Rating: 4.4/5 ( 1 votes)
Your Rating:

snabbt.js is a minimalistic javascript animation library. It focuses on moving things around. It will translate, rotate, scale, skew and resize your elements. By including matrix multiplication operations, transforms can be combined in any way you want. The end result is then set via CSS3 transform matrices.

snabbt.js is built to be fast. It will only animate things that modern browsers can animate cheaply: transforms and opacity. The goal is to make a library that will let the user make smooth animations without needing to know too much about browser rendering.

Note: For convenience, width and height are animatable too, but beware since they may cause page reflows and slow down your animations.

 

Limitations

  • All transforms work on pixels or radians. Any unit conversion has to be done beforehand.
  • No abritrary property animations, e.g. colors, padding, margin or line height animations.
  • For performance reasons, snabbt.js never queries the DOM. This means that in some cases you need to store end transforms yourself.

Source: daniel-lundin.github.io

Scroll To Top