JavaScript Experiments
Some JavaScript experiments. You can see them online using the links below. Google Chrome is the best browser for these demos, but Opera or Firefox should be fine too.
Gray-Scott
Gray-Scott is a solver for the Gray-Scott reaction-diffusion model. Roughly, this can be seen as a simulation of the behavior of diffusive living beings reproducing under conditions of limited food. Very different patterns emerge for slight changes in feeding and death rates.
This experiment uses Three.js and performs calculations on the GPU. It requires a WebGL enabled browser.
![https://github.com/pmneila/jsexp/raw/master/grayscott/grayscott.png](https://github.com/pmneila/jsexp/raw/master/grayscott/grayscott.png?raw=true)
Screenshots
Some screenshots of the application.
![https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/default_s.png](https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/default_s.png?raw=true)
![https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/holes_s.png](https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/holes_s.png?raw=true)
![https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/mazes_s.png](https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/mazes_s.png?raw=true)
![https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/solitons_s.png](https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/solitons_s.png?raw=true)
![https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/solitons2_s.png](https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/solitons2_s.png?raw=true)
![https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/spots_s.png](https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/spots_s.png?raw=true)
![https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/waves1_s.png](https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/waves1_s.png?raw=true)
![https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/waves2_s.png](https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/waves2_s.png?raw=true)
![https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/worm_s.png](https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/worm_s.png?raw=true)
![https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/worms_s.png](https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/worms_s.png?raw=true)
![https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/inverseworms_s.png](https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/inverseworms_s.png?raw=true)
![https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/chaos_s.png](https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/chaos_s.png?raw=true)
![https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/spotsx_s.png](https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/spotsx_s.png?raw=true)
![https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/wormsx_s.png](https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/wormsx_s.png?raw=true)
Particles
Particles is a simple mass-spring physics simulation.
![https://github.com/pmneila/jsexp/raw/master/massspring/particles.png](https://github.com/pmneila/jsexp/raw/master/massspring/particles.png?raw=true)