Resize Demo: Adapt HTML5 Canvas to different screen sizes To use: You can go to codepen and try it there or you can clone this repo. To run: # install dependencies yarn install # run in development mode yarn dev # or yarn run dev