def setup createCanvas(100, 50) background(153) line(0, 0, width, height) end
[p5.js] createCanvas
キャンバスを生成します。
p5.Elementオブジェクト