-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTML5/wasm support #226
Comments
Feel free to raise a pull request : ) |
I wish my Go-fu was that good :P |
Hi, Is there any interest in using something like goxjs as a base layer cross-platform gl and glfw library?
I recently forked someone else's fork of these libraries which had WASM support and was able to port a 3D rendering experiment I was writing (full with 3D animations and shadow mapping). I was also playing around with tinygo and was able to build a WASM binary through tinygo which just rendered a basic triangle. Note: I don't really do mobile development, so I haven't tested any of the mobile features of the goxjs library. You can look at the changes I made in my fork, but most are fairly hacky just to get it to work I looked a little into what it would take to use these goxjs bindings instead of the typical bindings for pixel:
Pros:
Cons:
I figured I'd gauge your interest before I started any real work on this. I'm not an expert in OpenGL, but would be happy to do this migration, since I've done something similar in the past. There will likely be some periods of instability while the APIs settle. For the most part, I think desktop builds would remain fairly stable because most function calls just passthrough to the go-gl bindings. Thoughts? |
I know it's noted as a wishlist item in the readme, so just making an official reminder that this is wanted :)
The text was updated successfully, but these errors were encountered: