Skip to content

michaelerule/neuralfield

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neural field equations implemented as WebGL shaders

This project builds on the WebGL examples for GPGPU computing to develop in-browser WebGL implementations of Wilson-Cowan style neural field equations. These examples can be browsed as a website here. This project is ever in-development; Please open an issue if you'd like a specific stable configuration to demonstrate a particular effect.

Older versions are here. The most recent WebGL implementation can be found here, and should look like this:

Screenshot at 2022-11-07 16-37-24

This project predates the widespread availability of floating-point shaders as supported in WebGL3, and therefore uses 8- or 16-bit fixed point representations. This restriction is not so severe for neural field models phrased in terms of a firing rate in [0,1]. If the more recent 16-bit demos are too slow on your device, the original 8-bit WebGL implementation, which is less accurate but friendlier to older hardware/browsers. If your browser doesn't support WebGL, you can try the original CPU implementation here.

This project grew out of the following papers, which use these equations to model hallucinations, responses to cortical stimulation, and retinal waves:

Unless otherwise specified, media, text, and rendered outputs are licensed under the Creative Commons Attribution Share Alike 4.0 license (CC BY-SA 4.0). Source code is licensed under the GNU General Public License version 3.0 (GPLv3).

About

Neural field models and other demonstrations in JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages