draw on canvas animation 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