hyperpixel
An extremely fast pixel framebuffer using webgl via ThreeJS
Why is this fast?
Rendering literally just takes subview of wasm's memory and pushes it to the GPU via webgl to be rendered by an uber minimal shader for particles.
see the demo here
With Rust?
see the demo here
[]
= "0.1"
= "0.0.2" # for interacting with timing functions in browser
= "0.7.2" # for getting a psuedo random number generator
= "0.1" # for creating the callback that gets sent into web_timer's `request_animation_loop`
use *;
use StdRng;
use Rng;
use SeedableRng;
use *;
use *;
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in hyperpixel
by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.