Closed hx2A closed 9 months ago
There are probably other examples that make the same assumption.
This is in 14 other places. For some of them, there isn't a way to re-write the examples to work if py5.run_sketch()
is blocking. For those, I will change the example to use py5.run_sketch(block=False)
, which doesn't make any assumptions.
This is now fixed.
The example for py5.print_line_profiler_stats()
now uses the key_pressed()
event.
http://dev.py5coding.org/reference/sketch_print_line_profiler_stats.html
Here are some examples of examples that now use py5.run_sketch(block=False)
:
http://dev.py5coding.org/reference/sketch_is_ready.html http://dev.py5coding.org/reference/sketch_hot_reload_draw.html http://dev.py5coding.org/reference/sketch_finished.html
From @villares on mastodon:
There are probably other examples that make the same assumption.