This is the effect I most want to produce on canvas in 2D or glsl contexts. Does anyone know the algorithm to do this? Its like oil on water and so on, note that it's vibrant and rough which is kind of what I'm after, is it perlin noise that I should investigate? I'd also like it to animate really slowly at the speed of crude oil.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (8)
reactive diffusion
Jackpot! For interested parties here is a link to the ever reliable Wikipedia. Link to wiki
A side note, thank you Andras this was a very clever and kind suggestion.
Here, I found this fantastic tutorial of the concept, seems to be a variation on the game of life.
karlsims.com/rd.html
also the coding train on youtube
Yeah I found that and the paper he references is in the comments, thank you so much.
Specifically on the optics (and how to simulate it in a computer) of iridescence, Alan Zucconi has an excellent blog series:
alanzucconi.com/2017/07/15/cd-rom-...
So that covers the colour. As well, thanks Curtis!