You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
villares edited this page May 24, 2020
·
4 revisions
Nome
minute()
Exemplos
voiddraw() {
background(204);
int s =second(); // Values from 0 - 59 int m =minute(); // Values from 0 - 59 int h =hour(); // Values from 0 - 23 line(s, 0, s, 33);
line(m, 33, m, 66);
line(h, 66, h, 100);
}
Descrição
Processing se comunica com o relógio de seu computador. A função minute() retorna o minuto corrente como um valor entre 0 e 59.