Pace | ||
Result |
Pace | ||
Time | ||
Result |
Some calculators I use for running, available in the format I wanted all in a single page. I wanted to try out rust-wasm for this, so the underlying calculations are performed in Rust (obviously this is overkill but it was a fun experiment).
Source code can be found here
To get started with rust-wasm I followed the tutorial which can be found here and I used this guide to bundle the JS with Hugo using webpack.
In order to include the HTML and js in this hugo blog post I used a rawhtml shortcode {{ <rawhtml> }}{{ </rawhtml> }}
.