Best strategy to run multiple p5 sketches on a page

Still researching the responsive canvas topic. :sweat:

For now I’ve got this gist which attempts to adjust the current iframe element to fit document’s body size: :radioactive:

And an online sketch example using that running as 2 iframes: :sparkles:
https://GoSubRoutine.GitHub.io/Ball-in-the-Chamber/

And its corresponding repo too: :warning:

2 Likes