This is an Electron app that uses the webcam and Tracking.js to track customizable colors and uses them to control a modified version of WebGL-Fluid-Simulation (this repo is actually forked from it). It works best in the dark with glow sticks, LEDs or lit balloons.
http://developer.download.nvidia.com/books/HTML/gpugems/gpugems_ch38.html
https://github.com/mharrys/fluids-2d
https://github.com/haxiomic/GPU-Fluid-Experiments
The code is available under the MIT license