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

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -