// プログラム その1 function init() { var canvas = document.getElementById("star"); var ctx = canvas.getContext("2d"); draw(ctx); }