Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/not-fl3/miniquad-js-interop-demo
https://github.com/not-fl3/miniquad-js-interop-demo
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/not-fl3/miniquad-js-interop-demo
- Owner: not-fl3
- Created: 2020-02-18T03:14:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-21T23:39:56.000Z (over 3 years ago)
- Last Synced: 2024-08-04T03:03:20.609Z (3 months ago)
- Language: Rust
- Size: 2.93 KB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-quads - JS interop
README
# Rust/Javascript interop demo with miniquad
Build instructions:
```bash
rustup target add wasm32-unknown-unknown
cargo build --target wasm32-unknown-unknown
cp target/wasm32-unknown-unknown/debug/miniquad-js-interop-demo.wasm js/demo.wasm
cd js
cargo install basic-http-server # optional, any http server will works
basic-http-server . # or any other http server to server static files with wasm MIME
```