This Application is for a book by Yannick Feld and Alexander K. Hartmann, which is currently Work in progress. The current working title is "Simulation of rare events - From the foundations to efficient algorithms".
The following instructions have been tested under Linux
Install Rust via rustup. You can find more information here. Next install the webassembly target:
rustup target add wasm32-unknown-unknown
Then you can install trunk via
cargo install trunk
cargo install wasm-bindgen-cli
Note: Tested with trunk v0.21.5
Afterwards for local testing use
export RUSTFLAGS=--cfg=web_sys_unstable_apis
trunk serve --release
Note: The export is required for copy and paste to work on the WebApp
To build the release version use
export RUSTFLAGS=--cfg=web_sys_unstable_apis
trunk build --release
Note: The export is required for copy and paste to work on the WebApp
The files will appear in the dist
folder