https://turbowarp.org/1298275365/ velocity, density and mass based wave simulation cellular automaton, accidentally recreating properties of light such as reflections and refraction with the fresnel effect being present You can see rainbows forming, they are only simulated using 3 wavelength causing some strange effects but simulating more would've killed performance even more
Base idea from https://www.youtube.com/watch?v=aKePF7TDbV0