Solution of reaction-diffusion system with glsl shader and explicit finite-difference method.
LMB – paint, 1 – activator brush, 2 – inhibitor brush, 3 – eraser, 4 – random brush, 5 – pen, ]/[ – increase/decrease density, +/- – increase/decrease brush size, L – switch laplacian kernel, Z – switch between Gray-Scott / G. Turk reaction model, r – reset with full activator, R - reset with full inhibitor, b - reset with blank screen, t - reset with random data, P – switch between raw and postprocessed view, C – draw cursor.
In project directory run
java -jar bin/reaction-diffusion.jar