/miniquad-mandelbrot

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

Primary LanguageRustMIT LicenseMIT

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/