choreographer-js
choreographer-js copied to clipboard
A simple library to take care of complicated animations.
https://github.com/christinecha/choreographer-js/blob/master/src/Animation.js#L80
I was having trouble passing in a node as the selector (instead of a string for ID or Class). The final `else` in the if statement _should_ have caught it...
First of all, i love your library. It helps me a lot with scroll-based animation choreographys. I tried to use it also to change a class, according to your docs…...
I'm doing the following to handle updating animations on window resize: ````javascript var Choreographer = require('choreographer-js'); var obj_anim = [ { range: [-1, 500], selector: '.object', type: 'scale', style: 'transform:translateY',...
It would be great on page scroll if the animations leveraged linear interpolation so they don't appear so choppy/abrupt. Here's an excerpt from Rachel Smith's codepen article about moving objects...