Operant & Classical Conditioning Lab
Interactive T-maze conditioning simulator: run trials with a virtual agent, watch a light cue predict reward, and see associative strength evolve trial-by-trial via the Rescorla-Wagner learning rule. Tune the learning rate and reward size, or switch to extinction.
This simulator models a virtual agent learning a light-reward association in a 3D T-maze, the classic setup behind both Pavlovian and operant conditioning experiments. Each "Run trial" sends the agent from the start box to a choice point, where a light cue predicts a food reward at the end of one arm. After every trial, associative strength updates via the Rescorla-Wagner learning rule — the same delta-rule mechanism thought to underlie dopamine reward-prediction-error signaling in the brain. Tune the learning rate and reward magnitude, or flip into extinction to watch a learned association fade when reinforcement stops.
3D T-maze conditioning simulator: run trials with a virtual agent, pair a light cue with reward, and watch associative strength update trial-by-trial via the Rescorla-Wagner rule (V_new = V_old + α·(λ − V_old)). Tune learning rate α and reward magnitude λ, or toggle extinction to watch V decay.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install