You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My workaround (also for anyone else experiencing this issue)
I'm currently working around this error by creating a color object with three properties (r, g, b), using gsap to animate each color channel individually. I'm then using the onUpdate property in the gsap.to options to update the graphic's fill color and call graphics.fill() to update the color.
Problem
In PixiJS V8, I get an error when trying to animate the fill color of a
PIXI.Graphics
using the PixiPlugin.Example
https://codepen.io/matt-bp/pen/XWQYgVK
Uncomment the second
gsap.to
to see the error.My workaround (also for anyone else experiencing this issue)
I'm currently working around this error by creating a color object with three properties (r, g, b), using gsap to animate each color channel individually. I'm then using the
onUpdate
property in thegsap.to
options to update the graphic's fill color and callgraphics.fill()
to update the color.The text was updated successfully, but these errors were encountered: