rotate

概要

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

[p5.js] rotate

サンプル

def setup
  background(220)
  translate(width / 2, height / 2)
  rotate(PI / 3.0)
  rect(-26, -26, 52, 52)
end

構文

戻値