go-canvas icon indicating copy to clipboard operation
go-canvas copied to clipboard

Can this canvas be used for a WebGL context?

Open Zireael07 opened this issue 4 years ago • 2 comments

Title.

Zireael07 avatar Apr 23 '20 09:04 Zireael07

I havn't tried it with WebGL, but that is interesting idea. Will look at it when I get a chance.

markfarnan avatar May 16 '20 11:05 markfarnan

Short answer: Currently no, it uses 2d image in too many places, but I'm in the process of making changes so that it also supports WebGL, as I get my head around WebGL

The Canvas itself can be used of course, but the animation frame / render loop / img copy will need to change as WebGL dosn't work that way.

markfarnan avatar Jul 24 '20 06:07 markfarnan