https://github.com/zotho/circles_lines
Physical modeling of Circles and Lines
https://github.com/zotho/circles_lines
Last synced: about 1 month ago
JSON representation
Physical modeling of Circles and Lines
- Host: GitHub
- URL: https://github.com/zotho/circles_lines
- Owner: zotho
- License: other
- Created: 2024-02-05T10:50:57.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-05T11:01:38.000Z (almost 2 years ago)
- Last Synced: 2024-02-05T12:24:19.673Z (almost 2 years ago)
- Language: Rust
- Size: 150 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Circles and Lines
* [Demo](https://zotho.github.io/projects/circles_lines/)
[](https://zotho.github.io/projects/circles_lines/)
* Control: mouse buttons
Written in Rust with [Macroquad](https://github.com/not-fl3/macroquad). Compiled to WASM
```console
# 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
```