Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. var canvas =  document.getElementById("canvas");
  2. var ctx = canvas.getContext("2d");
  3.  
  4. ctx.fillStyle = "rgb(10,10,10)";
  5. ctx.fillRect(100, 100, 10, 10);