Skip to content

JSKitty/rusty-sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rusty Sandbox

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!


Dev Builds

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

Aim / Goals

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.