javascript - Animating color in Fabric.js -
loving fabric , trying grips all.
first, created text this:
newtext = new fabric.text('eui', { fontfamily: 'ubuntul', fontsize: 70, fill: '#555', selectable: false, }); canvas.add(newtext);
but, can't change color animate:
newtext.animate({ fill:'#f00', }, { duration: 3000, easing: fabric.util.ease.easeoutcubic, onchange: canvas.renderall.bind(canvas), });
can explain please?
thanks
in this google group, user explains that:
color animation not yet implemented in fabric.js
so thing can implement animate color yourself.
Comments
Post a Comment