Hello,
No. You can use the frameCount and perform operations on it.
There are resources here:
Look up the references for:
- frameCount()
- frameRate()
It is not clear what you are asking.
Example using frameCount with a fixed frameRate:
void setup()
{
frameRate(60); //This is the default
println(frameCount, sec);
}
void draw()
{
sec = frameCount%60;
if(sec == 0)
{
println(frameCount, sec, count);
count++;
}
}
Please format your code:
https://discourse.processing.org/faq#format-your-code
:)