Skip to content

Latest commit

 

History

History
83 lines (58 loc) · 3.86 KB

README.rst

File metadata and controls

83 lines (58 loc) · 3.86 KB

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 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

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/holes_s.png https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/mazes_s.png https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/solitons_s.png https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/solitons2_s.png https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/spots_s.png https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/waves1_s.png https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/waves2_s.png https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/worm_s.png https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/worms_s.png https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/inverseworms_s.png https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/chaos_s.png https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/spotsx_s.png https://github.com/pmneila/jsexp/raw/master/grayscott/snapshots/wormsx_s.png

Particles is a simple mass-spring physics simulation.

https://github.com/pmneila/jsexp/raw/master/massspring/particles.png