Home▸Cognitive Science▸Rescorla-Wagner Blocking and Overshadowing: Associative Strength per Trial (2D)

Rescorla-Wagner Blocking and Overshadowing: Associative Strength per Trial (2D)

The same shared model in 2D: associative strength of the bell and lamp across trials, with the prediction error shrinking to zero, blocking strength against pre-training length and the salience split.

Cognitive Science2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Rescorla-Wagner Blocking and Overshadowing: Associative Strength per Trial (2D) ↗ Open standalone

Train a learner with a bell and a lamp before food and watch associative strengths change by prediction error, as in the Rescorla-Wagner model of classical conditioning. Pre-train the bell alone and the lamp is blocked; present both from the start and they overshadow each other in proportion to their salience. Set salience, learning rate, food size and the number of trials in each phase, with a Blender-built conditioning chamber and independent numerical checks of the closed-form equations.

⚙ Under the hood

The same shared model in 2D: associative strength of the bell and lamp across trials, with the prediction error shrinking to zero, blocking strength against pre-training length and the salience split.

Rescorla-WagnerBlockingOvershadowingClassical ConditioningPrediction Error

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)