Skip to content

Instantly share code, notes, and snippets.

@jwill
Last active August 29, 2015 14:15
Show Gist options
  • Save jwill/d08acbbac1f2d9506fde to your computer and use it in GitHub Desktop.
Save jwill/d08acbbac1f2d9506fde to your computer and use it in GitHub Desktop.
Test Canvas
var c = getCanvas();
var ctx = c.getContext('2d');
ctx.fillStyle = 'yellow';
ctx.fillRect(0,0,50,50);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment