Skip to content

Pardoxa/rare_events_wasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git repository of WebAssembly-Application

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".

Compiling

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published