Hi @galen,
This is something I’ve been daydreaming about for a while, but haven’t been able to work on much recently. I’d start by checking out this post, which is perhaps the closest to what you mentioned:
Followed perhaps by the interactive jupyter notebooks in the Brian docs:
https://brian2.readthedocs.io/en/stable/resources/tutorials/index.html?highlight=interactive#interactive-notebooks-and-files
Outside of Brian, there have been several other interesting network visualizations, including this nice “scrollytelling” blogpost / mini textbook chapter page by Patrick Mineault (again, not Brain, but simple LIF code, and a good template for what could be done)
and then I put together an interactive network / directed graph / adjacency matrix visualizer which has simple linear gaussian dynamics
- demo: https://awillats.github.io/circuit-visualizer-p5/ (seems to work in safari but not chrome for me at the moment. Hit the
w
key to start activity, see the README.md for other commands) - github page: GitHub - awillats/circuit-visualizer-p5: (Experimental) visualizer for understanding networks and properties of their adjacency matrices
I’d love to use this as a interface / visualization for Brian networks some day – and I think something like pyodide / pyscript would be a great way to do that
- introduction to pyscript - includes comparison with pyodide
- A First Look at PyScript: Python in the Web Browser