Qep4.: Zanimo.js, a promise-based animation library


A World Of Promises, episode 4

This fourth article on Q will introduce Zanimo.js, a Promisified animation library which helps to chain different CSS transitions with only Promises. It is very interoperable with any other Promise library, meaning that you can easily chain Zanimo animations with other asynchronous actions.

Zanimo.js is a smooth library developed by @42loops animation library based on the library Q, a Javascript implementation of Promises.

This article is an introduction of the concept of Promises in Javascript with the library Q and will show a real use case of it: Promises used on top CSS Transitions to make powerful and efficient DOM animations in Javascript.


TODO: overview of the library


Recursive tree particle animation


It turns out that promise is very good tool for animating any recursive things.


As a generative plotter artist, I use code to create art (creative coding), draw with fountain pens on robots (plotting), and explore the boundaries of abstract art using algorithms in pursuit of increasingly realistic imagery. I do not produce prints; instead, I create unique 'plots' - physical works of art that are truly one-of-a-kind.