box

概要

p5.jsリファレンス(参考情報)

[p5.js] box

サンプル

def setup
  createCanvas(100, 100, WEBGL)
end

def draw
  background(200)
  rotateX(frameCount * 0.01)
  rotateY(frameCount * 0.01)
  box(50)
end

構文

戻値