square

概要

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

[p5.js] square

サンプル

def setup
  background(220)
  square(30, 20, 55)
end
def setup
  background(220)
  square(30, 20, 55, 20)
end
def setup
  background(220)
  square(30, 20, 55, 20, 15, 10, 5)
end

構文

戻値