Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ibaryshnikov/webgl-engine
Demo WebGl engine
https://github.com/ibaryshnikov/webgl-engine
Last synced: 6 days ago
JSON representation
Demo WebGl engine
- Host: GitHub
- URL: https://github.com/ibaryshnikov/webgl-engine
- Owner: ibaryshnikov
- Created: 2019-06-07T20:49:25.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-07T21:02:11.000Z (over 5 years ago)
- Last Synced: 2024-11-09T06:44:04.529Z (2 months ago)
- Language: Rust
- Size: 13.7 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Demo WebGl engine
The main goal is to show that using `WebGl` and `DOM` APIs is seamless in Rust with `wasm-bindgen`
It also can give some insights about the performance## Building
```bash
wasm-pack build --target web
```## Running
```bash
# using https://crates.io/crates/https
http# using python
python -m SimpleHTTPServer
```## More details
There are around 3600 rotating cubes on the scene
The main idea for the scene and the shaders are borrowed from
[MDN tutorial](https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Tutorial/Creating_3D_objects_using_WebGL)