frameCount / Reference

  • void setup() {
      frameRate(30);
    }
    
    void draw() {
      line(0, 0, width, height);
      println(frameCount);
    }