Skip to content

edytapawlak/reaction-diffusion-gpu

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reaction-diffusion-gpu

Solution of reaction-diffusion system with glsl shader and explicit finite-difference method.

Controls

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. 

Usage

In project directory run

java -jar bin/reaction-diffusion.jar

Preview

About

Solution of reaction-diffusion system with glsl shader

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 74.4%
  • GLSL 25.6%