Examples and utility routines for general-purpose graphics card computation in WebGL, with a focus on 2D spatiotemporal rendering
JavaScript HTML Python CSS Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
gl_reference
lib
python
wilson_cowan
README.md
index.html
makeindex.py
notes for git
sync.sh

README.md

webgpgpu

Have you ever wanted to simulate a two-dimensional PDE or integro-differential equation on the GPU? Do you envy the reaction diffusion simulators of pnmeila, Felix Woitzel, Robin Houston, and Inear? Have you walked through the WebGL fundamentals tutorials, only to be frustrated by how much effort was needed to wrest control of indivdual pixels? If so, you may be interested in this code.

The OpenGL library is verbose, requiring hundreds of lines of code to get started with PDE simulation on the GPU. While there are examples of using WebGL for GPGPU code (1 2 3 4 5), most of these examples

  • Do not demonstrate tight integration of GPGPU computation and visualization
  • Are incomplete
  • Crash on my machine

This repository is a record of my efforts to learn how to implement GPGPU code in WebGL for simulating neural field equations. The objectives, in descending order

  1. Provide version control for my own use
  2. Develop WebGL neural field simulations
  3. Develop an API for simplifying WebGL PDE simulation
  4. Develop an API to simplify WebGL

Aims (3) and (4) are redundant to existing projects. In my case, code re-use and debugging other's libraries on my system is more difficult than re-implementing routines. One must learn the details of WebGL code in order to effectively use and debug such libraries. The same is true if you use the code here. These examples are best used as references from which to code your own implementation.

Currently accessible on Drobox since I can't seem to get Github pages to work