From t-o-f

Processing: Frame

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

void draw() {
        println("Image # " + frameCount + " @ " + frameRate);
}
Récupéré sur http://wiki.t-o-f.info/Processing/Frame
Page mise à jour le 02 February 2011 à 09h19