Make particles go splish splash. Inspired by Coding Adventure: Simulating Fluids
Written in Rust in the Bevy engine's ECS system, which makes sheduling easy with the cost of simplicity.
cargo run --release
cargo watch -x "run --release" --ignore '*.json'
rustup target add wasm32-unknown-unknown
## make sure to get update wasm-bindgen binary
cargo install -f wasm-bindgen-cli
cargo build --profile wasm-release --target wasm32-unknown-unknown
wasm-bindgen --no-typescript --target web \
--out-dir ./out/ \
--out-name "fluidsim" \
./target/wasm32-unknown-unknown/wasm-release/fluidsim.wasm
dufs -p 3000 ./out/
https://github.com/sigoden/dufs
cargo watch --ignore '*.json' -s "cargo build --profile wasm-release --target wasm32-unknown-unknown && wasm-bindgen --no-typescript --target web --out-dir ./out/ --out-name \"fluidsim\" ./target/wasm32-unknown-unknown/wasm-release/fluidsim.wasm"