Miniquad

Crates.io version

Cross platform context managment and OpenGL wrapper.

API is highly inspired by sokol-gfx (sokol overview, 2019 update). Implementation influenced by crayon.

For context management and input on Windows/Linux(and potentially mobiles) "sokol-app" was used. And no external dependencies for WASM.

Supported platforms

Not supported, but desirable platforms

Examples

Imgur

examples/quad.rs: web
examples/offscreen.rs: web

Worth to mention zemeroth port and astroblasto, built with miniquad-powered

Building examples

desktop

```bash rustup target add x86_64-pc-windows-gnu # for windows cross compilation, this is how windows builds were tested

cargo run --example quad --target x8664-unknown-linux-gnu cargo run --example quad --target x8664-pc-windows-gnu ```

wasm

bash rustup target add wasm32-unknown-unknown cargo build --example quad --target wasm32-unknown-unknown

And then use the following .html to load .wasm:

index.html

```html TITLE

```

Goals

Non goals