get

概要

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

[p5.js] get

サンプル

def setup
  img = loadImage("fruit.png")
  image(img, 0, 0)
  c = get
  image(c, width / 2, 0)
end
def setup
  img = loadImage("fruit.png")
  image(img, 0, 0)
  c = get(50, 90)
  fill(c)
  noStroke
  rect(25, 25, 50, 50)
end

構文

戻値