This is an interactive visualization of the Predictive Coding model from the paper
A tutorial on the free-energy framework for modelling perception and
learning
Journal of Mathematical Psychology 76(2017) 198-211
by Rafal Bogacz
https://pubmed.ncbi.nlm.nih.gov/28298703/
It is a web application using Svelte + SVG
git clone https://github.com/hrbigelow/bogacz-tutorial-vis.git
cd bogacz-tutorial-vis
npm install
npm run dev
# alternatively
npm run build
http-server dist