4 ms·
How do you target WebGL with Go? Is it possible to cross compile Go to JS?
by ndesaulniers 12y ago
How do you target WebGL with Go? Is it possible to cross compile Go to JS?
- graetzer 12y agoIt seems there is a cross compiler for Go https://github.com/gopherjs/gopherjs https://github.com/gopherjs/gopherjs There are also bindings for WebGL https://github.com/gopherjs/webgl https://github.com/gopherjs/webgl
- deleted 12y ago[deleted]
- shurcooL 12y agoAs graetzer said, I use GopherJS and WebGL bindings. For a simple example, see https://github.com/shurcooL/play/commit/cd45204c1b2d8906225566e1e8bfc6d4317ef6ec?diff=unified#commitcomment-7846474 https://github.com/shurcooL/play/commit/cd45204c1b2d89062255....