A much easier way to have multiple canvas on the same web page

CanvasClass is my second and more successful effort at trying to make easy to have multiple canvases on the same web page without having be concerned with instance mode. Over 110 functions and events have been implemented. In addition, 12 WEBGL related functions work except when rotating objects in-motion. Some example applications, test cases, and code is available at http://brinkje.com/p5js/CanvasClass


Thanks so much for sharing this, @jimbrink

Is there a repository hosting the code, e.g. on github?

At the time being at least, it is available at . There is a link to a zip file near the bottom of the file. Please let me know if you come up with a nice application, have more comments, suggestions, or find a problem.

James Brink

1 Like