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
<canvas id="canvas" width="1000" height="800"></canvas> | |
<script type="text/javascript"> | |
var canvas = document.getElementById("canvas"); | |
var context = canvas.getContext("2d"); | |
var scale = 1; | |
var originx = 0; | |
var originy = 0; | |
function draw(){ | |
context.fillStyle = "white"; |