Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- timelines[i].fromTo(tweenValues[i], 2, { open: 1}, { open: 31, ease:Power0.easeNone, onUpdate:function(){
- var srcCeil = Math.ceil(tweenValues[index].open);
- target.src = './img/experiences/bento/ecrin_anim/ECRIN_000'+ ( srcCeil < 10 ? '0' + srcCeil : srcCeil ) +'.png';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement