Multiple Neighborhood Reaction Diffusion in p5

This sketch performs best in Chrome on desktop. It may flicker on older mobile phones.

These digital jellyfish naturally arise in the parameter space of a multiple-neighborhood reaction diffusion system. Every pixel in this image sums an activator signal in a disc and an inhibitor signal in a ring around itself. The activator and inhibitor signals are fed into a reaction-diffusion equation to calculate the change in activator and inhibitor at the pixel location.

See also: