Created
May 26, 2020 13:00
-
-
Save galElmalah/5fc668e90e90abe41c0373573495dca1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const canvas = document.querySelector("canvas"); | |
canvas.height = window.innerHeight; | |
canvas.width = window.innerWidth; | |
const ctx = canvas.getContext("2d"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment