azukipochette's weblog

memory dump (mini)

HTML5

Canvas の練習 : 1

<html> <head> <title>Sample</title> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <script> function init(){ var canvas = document.getElementById("canvas"); var ctx = canvas.getContext("2d"); ctx.strokeStyle = "#ff0000"; ctx.lineWidth = 4; ctx.beginPath(); ctx.moveTo(20, 20); ctx.lineTo(200,…</meta></head></html>