Name | millis() |
---|---|
Examples |
def draw(): m = millis() noStroke() fill(m % 255) rect(25, 25, 50, 50) |
Description | Returns the number of milliseconds (thousandths of a second) since starting the program as an integer. This information is often used for timing events and animation sequences. |
Syntax | millis() |
Related |
second() minute() hour() day() month() year() |
Updated on Mon Sep 21 15:53:25 2020.
If you see any errors or have comments, please let us know.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License