https://github.com/richplastow/clumpiverse
A tryout/playground for a universe where everything is a mass-spring-damper lattice.
https://github.com/richplastow/clumpiverse
Last synced: 4 months ago
JSON representation
A tryout/playground for a universe where everything is a mass-spring-damper lattice.
- Host: GitHub
- URL: https://github.com/richplastow/clumpiverse
- Owner: richplastow
- License: mit
- Created: 2023-08-01T14:30:15.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-01T14:39:36.000Z (almost 2 years ago)
- Last Synced: 2025-01-06T01:10:54.979Z (5 months ago)
- Language: Rust
- Homepage: http://richplastow.com/clumpiverse/
- Size: 43.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Welcome to the Clumpiverse
##### m1.0.0
A tryout/playground for a universe where everything is a mass-spring-damper lattice.
https://undo3d.gitlab.io/welcome-to-the-clumpiverse/
## License
Standard MIT License. See the ‘LICENSE’ file for details.
## Install build dependencies
1. Install static-server globally:
`npm install -g static-server`
2. Install the Rust toolchain and wasm-pack —
see tryout-rust-for-the-first-time.html## Develop and build
To work on this project, run:
`node develop.js`The `develop.js` script will:
1. Check that your current working directory is the root of the project
2. Copy the `LICENSE` and `VERSION` files from project root to ‘public/’
3. Immediately build ‘src/wasm/welcome-to-the-clumpiverse.rs’ to ‘public/lib/wasm/’
4. Start watching ‘src/wasm/’
— it triggers a build whenever anything changes
5. Start a server on http://localhost:9080/ and open a browser windowThere’s no automatic browser refresh when code changes. You’ll need to
manually refresh the browser to load changes.