Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 1.05 KB

README.md

File metadata and controls

30 lines (26 loc) · 1.05 KB

miniquad-mandelbrot

A simple mandelbrot set explorer made with miniquad to demonstrate it's power.

This project demonstrates how easy it is to code cross-platform applications with miniquad.

A live WASM demo!

Compiling

Desktop

Just build for the target you need

cargo build --release --target x86_64-unknown-linux-gnu
cargo build --release --target x86_64-apple-darwin
cargo build --release --target x86_64-pc-windows-gnu

WASM

cargo build --release --target wasm32-unknown-unknown

then copy the resulting wasm file into the same directory as index.html and serve a static http server.

Using python 3:

python -m http.server

Android

docker run --rm -v $(pwd)":/root/src" -w /root/src notfl3/cargo-apk cargo apk build --release

The APK file will be in target/android-artifacts/release/apk/