finished
Contents
finished¶
Boolean variable reflecting if the Sketch has stopped permanently.
Examples¶
1 2 3 4 5 6 7 8 9 10 11 12 | import time
def draw():
py5.rect(py5.random_int(py5.width), py5.random_int(py5.height), 10, 10)
py5.run_sketch()
py5.println('sketch has stopped:', py5.finished)
time.sleep(10)
py5.exit_sketch()
py5.println('sketch has stopped:', py5.finished)
|
Description¶
Boolean variable reflecting if the Sketch has stopped permanently.
Underlying Processing field: finished
Updated on November 12, 2021 11:30:58am UTC