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

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

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

javascript - Restarting Supervisor and effect on FlaskSocketIO -