A tryout/playground for a universe where everything is a mass-spring-damper lattice.
https://undo3d.gitlab.io/welcome-to-the-clumpiverse/
Standard MIT License. See the ‘LICENSE’ file for details.
- Install static-server globally:
npm install -g static-server - Install the Rust toolchain and wasm-pack —
see tryout-rust-for-the-first-time.html
To work on this project, run:
node develop.js
The develop.js script will:
- Check that your current working directory is the root of the project
- Copy the
LICENSEandVERSIONfiles from project root to ‘public/’ - Immediately build ‘src/wasm/welcome-to-the-clumpiverse.rs’ to ‘public/lib/wasm/’
- Start watching ‘src/wasm/’ — it triggers a build whenever anything changes
- Start a server on http://localhost:9080/ and open a browser window
There’s no automatic browser refresh when code changes. You’ll need to manually refresh the browser to load changes.