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
MacOS will throttle the CPU usage of application windows that do not have the focus. This is called "App Nap." This can cause a problem for py5 Sketches because the frame rate is throttled. About a minute after the Sketch window loses focus, the frame rate will drop significantly. The Sketch will keep running, but much slower.
This release fixes this problem by enabling py5 to communicate with MacOS and disable App Nap for its Sketch windows.
Other Bug Fixes and Small Improvements
#778 Fixed a shortcoming in py5's trimesh integration. Many thanks to @villares for finding this bug!
Fix the method signature for begin_closed_shape(). Previously the signature incorrectly implied that this method accepts a shape type parameter.
I also made some small adjustments to the Live Coding functionality to support the upcoming Posix Renderer... Wait, what is the Posix Renderer? You'll find out soon. Stay tuned!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Addressing MacOS's so-called "App Nap"
MacOS will throttle the CPU usage of application windows that do not have the focus. This is called "App Nap." This can cause a problem for py5 Sketches because the frame rate is throttled. About a minute after the Sketch window loses focus, the frame rate will drop significantly. The Sketch will keep running, but much slower.
This release fixes this problem by enabling py5 to communicate with MacOS and disable App Nap for its Sketch windows.
Other Bug Fixes and Small Improvements
@villares for finding this bug!
begin_closed_shape(). Previously the signature incorrectly implied that this method accepts a shape type parameter.I also made some small adjustments to the Live Coding functionality to support the upcoming Posix Renderer... Wait, what is the Posix Renderer? You'll find out soon. Stay tuned!
This discussion was created from the release Release 0.10.11a0.
Beta Was this translation helpful? Give feedback.
All reactions