jasonwebb/reaction-diffusion-playground

Add mouse control

jasonwebb opened this issue · 0 comments

Change B values around mouse cursor position.

  • Pass mouse coordinates to shader as uniform
  • Only pass on click (logic in JS or GLSL?)
  • Adjust brush radius with mouse wheel
  • Gradient versus hard threshold