netplayjs
netplayjs copied to clipboard
Allow canvas reference in Game constructor
P5.js would be an ideal library to use with netplay.js, but it creates it's own canvas element. https://github.com/processing/p5.js/issues/1477
Could you allow passing an existing canvas element into the Game constructor?