Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int tAtual = 0;
- int umfps = 0;
- void setup()
- {
- }
- void draw()
- {
- if (umfps == 0)
- {
- println(tAtual);
- tAtual++;
- }
- if (umfps == 59)
- {
- umfps = 0;
- } else
- {
- umfps++;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement