-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Increasing Access
Currently, changing canvas size requires editing createCanvas() and restarting the sketch.
For quick visual iteration, this can feel slow especially for beginners and students.
Preview-level controls provide immediate feedback and make experimentation easier.
Feature request details
I’m proposing a small UI improvement to the Preview panel that adds + / − buttons to resize the sketch canvas while it is running.
What the feature does
-
Adds resize controls in the Preview header
-
Resizes the active canvas live using resizeCanvas()
-
Does not reload the sketch
-
Does not modify user code
-
Resize is temporary and resets on re-run
Limitations
-
Resizes width and height equally
-
Applies to the active sketch canvas
-
Desktop preview only for now
I’d love feedback on whether this interaction fits the editor UX and whether resizing should remain temporary or persist across runs before opening a PR.