Created
August 11, 2019 20:12
-
-
Save nidhinp/bb1a9f2e319a7e25e63e9b8a219b2b55 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
var canvas = document.getElementById("paint"); | |
var ctx = canvas.getContext("2d"); | |
var width = canvas.width, height = canvas.height; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment