Live app · Shinylive
Tune the priors. Watch the posterior move.
This is a complete Shiny app with no server — R itself is compiled to WebAssembly and runs in your browser via Shinylive. Drag the sliders to change the prior and the proposal width, press Sample, and the hand-coded Metropolis sampler redraws the Bayesian posterior live.
Heads-up: this ships an entire R runtime, so the first load is a one-time ~60 MB download (best on desktop / Wi-Fi). It loads only when you ask.
Prefer something lighter? The same sampler runs as a one-shot base-R cell on the WebR page, and as the autoplay animation on the project page.