Open
Description
Nature of issue?
- Existing feature enhancement
Feature enhancement details:
Referencing this issue for consideration: whether sketches running in the p5.js editor should set themselves to noLoop()
/loop()
based on window.blur()
/window.focus()
. It's a bigger issue for the p5.js references website – since there are cases when one might want to keep an editor sketch running continuously in the background.
Bringing this up as it's common to see students with multiple windows (+ browsers) open, occasionally having a few instances of the Editor in active tabs (in background or minimized) while they research sketches.