SummationByParts/webfront
Magnus Ulimoen cfeb30fac0 Small clippy lint fixes 2022-02-25 20:43:57 +01:00
..
frontend Add checkbox for gridlines 2021-02-12 17:16:36 +01:00
misc move all functionality to common js 2020-05-30 10:03:00 +02:00
src Small clippy lint fixes 2022-02-25 20:43:57 +01:00
.gitignore use workspaces 2020-02-19 19:31:03 +01:00
Cargo.toml Update hdf5/ndarray 2021-10-23 19:35:37 +00:00
README.md Update READMEs 2020-09-19 14:41:02 +02:00
make_wasm.py move frontend 2020-06-14 22:21:09 +02:00

README.md

Webfront

Running different SBP solvers in the browser using WASM.

Building

Run make_wasm.py -r to compile the library, and put the finished artifacts and related pieces in the publish directory.

Running

After building, a http server needs to serve the contents. WASM requires this server to serve files ending with .wasm as the application/wasm MIME type. Python can be utilised with:

python3 -m http.server --directory publish

A web browser can then be opened on the link suggested.