0
Why my animation is smoothly not change position? ||help
I draw a box,, which changing position in everyone second. But, position smoothly slide not changing ... My code: https://code.sololearn.com/WwYNX3ykg4Cp/?ref=app
3 Answers
+ 1
Because transition property does not work on objects inside the canvas.
You can use Javascript to animate the object inside the canvas.
0
I guess because you are changing the boxes and not updating their position
0
Prajyot can you edit my code for animation with canvas