zotho / circles_lines

Physical modeling of Circles and Lines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Circles and Lines

Demo

  • Control: mouse buttons

Written in Rust with Macroquad. Compiled to WASM

# Build native
cargo run --example circles --release -- 100

# Build in WASM
cargo build \
    --example circles \
    --release \
    --target wasm32-unknown-unknown
cp target/wasm32-unknown-unknown/release/examples/circles.wasm circles.wasm
wasm-strip circles.wasm
python -m http.server

About

Physical modeling of Circles and Lines

License:Other


Languages

Language:Rust 53.3%Language:HTML 46.7%