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.
https://github.com/mharrys/fluids-2d
https://github.com/haxiomic/GPU-Fluid-Experiments
The code is available under the MIT license