frameCount

概要

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

[p5.js] frameCount

サンプル

def setup
  frameRate(30)
  textSize(30)
  textAlign(CENTER)
end

def draw
  background(200)
  text(frameCount, width / 2, height / 2)
end

構文

戻値