We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Greetings, I'm curious as to how get access to the canvas DOM object used by p5.js from within my library. In ProcessingJS, for example, I can call registerLibrary() as follows:
Processing.registerLibrary("MyLibrary", {
attach : function(p5) {
myLib.canvas = p5.externals.canvas;
}
});
Thanks.
Answers
hey, working on cleaning up the external hooks right now. I should have a better answer early next week! thanks for your patience.