We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm creating a web app which makes use of interactive simulations made as canvas to teach subjects. I have a basic canvas where things can be written and drawn just like basic drawing app. I need option to embed another canvas(simulations) within this canvas. How do I do this?
Answers
Maybe this could help: https://forum.processing.org/two/discussion/20744/instance-mode-trouble-shooting-for-2-sketches-on-1-webpage#latest
Another option: https://p5js.org/reference/#/p5/createGraphics
Kf
Does it just have to be on top of it? I am thinking positioning the second one on top of the other would do the trick.
The canvas is not meant to be nested, having one inside the other. Would be like having a second piece of paper in a piece of paper. Can't even see how this would work.