Static p5_sys::global::second [−][src]
pub static second: SecondInternalType
Expand description
p5.js communicates with the clock on your computer. The second() function returns the current second as a value from 0 - 59.
Examples
let s = second(); text('Current second: \n' + s, 5, 50);