markfarnan/go-canvas

Can this canvas be used for a WebGL context?

Zireael07 opened this issue · 2 comments

Title.

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

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.