creating animations using canvas api code example
Example: canvas animations
Check this two pens:
https://codepen.io/DevLorenzo/pen/qBqBpzK
https://codepen.io/DevLorenzo/pen/abBbEgq
Check this two pens:
https://codepen.io/DevLorenzo/pen/qBqBpzK
https://codepen.io/DevLorenzo/pen/abBbEgq