["tilescript", ["html", "\n"], ["html", "\n"], ["source", "canvas = $(\"canvas\");\nctx = canvas.getContext('2d');\nctx.beginPath();"], ["tile", "ctx['strokeStyle']='rgba(255, 128, 64, 0.1)'"], ["tile", "ctx['lineWidth']=8"], ["source", "canvas.onmousemove = function (e) {\n x = e.pageX - this.offsetLeft;\n y = e.pageY - this.offsetTop;\n ctx.lineTo(x, y);\n ctx.stroke();\n}\n"] ]