A sample javascript canvas bubble animation.
- Bubble have different sizes but are always round
- Bubbles appear in a canvas object with different velocities from time to time and bounce on the edges of the canvas
- Animation is reset everytime the max amount of bubles are created
- Gravity pulls bubbles down or up
- Bubbles animation parameters can be set and adjusted
https://jsfiddle.net/GinoLocoop/k7z6vtp3/
#Instalation instructions $> npm install
$> npm start
$> open dist/index.html