I have two functions using same instance of Pixi Graphics to plot rectangles. The first function runs only once and paints 100 rectangles in red color and the other one is a recurring function that runs every 100ms and plots a rectangle in white color. When the first function is executed, the second function continues to plot rectangles in red color, despite specifying color as white.
I've posted the same question with code on stackoverflow. Any help is appreciated, thanks!
https://stackoverflow.com/questions/67723974/pixijs-graphics-color-bleed-issue