Describe the bug
A trying to implement animation on canvas. There is background with triangle pattern and appearing squares. Sometimes there is flickering in squares animation. I dont undestand why it happens, I think I make an error in animation lifycicle. It's my second project on animejs
Describe the bug A trying to implement animation on canvas. There is background with triangle pattern and appearing squares. Sometimes there is flickering in squares animation. I dont undestand why it happens, I think I make an error in animation lifycicle. It's my second project on animejs
To Reproduce Steps to reproduce the behavior:
Expected behavior Smooth animation of fade in and fade out triangle shapes
Additional context This is github repo with code: https://github.com/garyanikin/animejs-trinagles-animation
This are the main methods for animation: setting render
create squares to animate
animation
Guys please help me out to fix this flickering 🙏