Almost all of the code in this repository is inspired by Jan-Erik Rediger (aka badboy) i just had to tweak a few build commands and coded a modified index.html to bootstrap the wasm binary.
Uses rust code (glium crate) to generate a WebAssembly binary, which renders a fragment shader (running directly on the GPU).
( this is almost definitely NOT the best or the easiest way to just render a fragment shader in the browser, but hey.. i felt like playing around with some new build tools and see what i could get working )
This is experimental stuff (as of March 2017 at least) so to get the most recent rustc compiler (with all the latest patches landed) you'll probably want to ## Build it yourself
$ cargo clean && make
$ python -m SimpleHTTPServer
Once the server is started, the demo application is located on your local system at localhost:8000
This project is dual-licensed under the terms of the Apache 2.0 and MIT licenses.