Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)