Processing > Frame

void setup() {
        // 30 images par seconde
        frameRate(30);
}

void draw() {
        println("Image # " + frameCount + " @ " + frameRate);
}