I have two sketches that I would like to run on a single page and the only way this is possible with instance mode. I am just not sure how to incorporate classes used in those sketches in instance mode. Has anyone done this successfully and wouldn’t mind sharing their code? Really any help at all is appreciated.
1 Like
We can put extra sketches in their own <iframe>
tag, regardless if they’re global or instance mode.
Some example sketch using both modes + class:
Same sketch but also using a 3rd-party library + import
& export
:
2 Likes
Thank you! This is exactly what I needed.