HomeCognitive SciencePredictive Coding 2D: Free-Energy Network & Error Console

Predictive Coding 2D: Free-Energy Network & Error Console

2D predictive-coding console: watch the same three-layer hierarchical network minimise variational free energy as a flat, draggable node diagram, with sensory-vs-prediction gauges and a scrolling free-energy chart standing in for the 3D camera, so you can read the model's belief updates and surprise directly.

Cognitive Science2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-technology-consciousness ↗ Open standalone

The 2D companion to the 3D free-energy simulator: the same three-layer hierarchical predictive-coding network — sensory, hidden and top belief layers wired by real weight matrices, performing gradient descent on variational free energy — drawn as a flat, pannable node-and-edge diagram instead of an orbiting 3D scene. A scrolling telemetry chart plots free energy and both prediction-error norms over time, so a surprise injection's spike-and-settle is visible as a curve, not just a colour flash. Sensory precision, prior precision and inference rate sliders drive the exact same update equations as the 3D version; drag or scroll the network panel to inspect any layer up close.

⚙ Under the hood

2D predictive-coding console: watch the same three-layer hierarchical network minimise variational free energy as a flat, draggable node diagram, with sensory-vs-prediction gauges and a scrolling free-energy chart standing in for the 3D camera, so you can read the model's belief updates and surprise directly.

predictive codingfree energy principleneural networkconsciousnesscognitive sciencemachine learning

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

What did you find?

Add reproduction steps (optional)