This is a first attempt at running interactive Haskell simulations in the browser, aimed at demos for reactive probabilistic programming.
The circle is drawn by a small dunai signal function compiled with GHC’s WebAssembly backend. Move the mouse over the canvas; Reset snaps to the centre; Pulse grows the circle briefly.
Loading…
The first load pulls a ~2MB .wasm file. If nothing appears, check the browser console — GitHub Pages needs to serve .wasm with a sensible MIME type, which it usually does.
Longer term the plan is to drive the same kind of page with Rhine + monad-bayes demos (particle filters and so on), reusing a Gloss-shaped Picture type without OpenGL.
Last modified: 22 September, 2026
Created: 22 September, 2026