A lightweight sandbox sim written in Rust.
Play via Browser (WASM) | Compile by yourself
This is a quick hobby project written to practice three things: Rust, Macroquad and Maths!
Prerequisites: The Rust Toolchain (stable preferred).
Local Compile (For your architecture)
git clone https://github.com/JSKitty/rusty-sandbox.git && cd rusty-sandbox
cargo run --release
cargo build --release
WASM Compile (For web-based usage like this!)
git clone https://github.com/JSKitty/rusty-sandbox.git && cd rusty-sandbox
rustup target add wasm32-unknown-unknown
cargo build --release --target wasm32-unknown-unknown
The primary aims of the project being:
- Minimalistic codebase: easy to follow, easy to learn from, a 'living' tutorial.
- Low Dependency: as much written in-house as possible, such as physics algorithms, etc.
- Lightweight: should compile super fast, and execute super fast by users.
- Fun: should be pretty fun to play with! Both in code and in user-land.