Drift-Diffusion Decision Model (2D)
Interactive 2D companion to the 3D drift-diffusion decision model: instead of racing sample paths, this version numerically solves the Fokker-Planck (forward-Kolmogorov) equation for the whole probability-density field, reading the choice/RT distribution straight off the absorbing-boundary flux and comparing it live against the closed-form gambler's-ruin prediction.
This 2D companion to the drift-diffusion decision simulator swaps the racing sample paths of the 3D version for the model's other, equally standard mathematical form: a probability-density field evolved directly by numerically solving the Fokker-Planck (forward-Kolmogorov) equation, with absorbing walls at the two decision boundaries. Instead of counting how many independent racers finish where, this version reads the choice probability and mean decision time straight off the flux of probability mass leaking into each wall over time — the same continuous-population view used to derive the model's analytic predictions in the literature. Tune drift rate, boundary separation, noise and starting bias to watch the density field spread, drift and drain into one boundary faster than the other, and see the flux-based statistics converge on the closed-form gambler's-ruin prediction live.
A 2D companion to the 3D drift-diffusion racer model: instead of sampling individual noisy paths, it numerically solves the Fokker-Planck (forward-Kolmogorov) equation for the whole probability-density field and reads the choice probability and mean decision time straight off the absorbing-boundary flux, checked live against the closed-form gambler's-ruin prediction.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install