How to create two canvases to run separate WebGL app

How to create two cnavas to run separate WebGL app

In first one use launch() to call the second

@matheplicalaunch() is only available for Processing (Java). It doesn’t work for p5.js (JavaScript) and WebGL.

@zyhllr – should the canvases be communicating? does one control the other? You can create multiple canvases in several ways, but the basic approach is to namespace each canvas with “instance mode.”