ctx.shadowColor = "black"; ctx.shadowBlur = 10; ctx.fillStyle = "white"; ctx.fillRect(10, 10, 100, 100);