This was a little toy I built as a gift for a white elephant party in 2016. I mounted a VL6180X sensor (Using one of ST Micro's great little eval kits), a Teensy 3.2, and a WS2812B RGB LED onto a solder-able breadboard. Using Platform IO I threw together a little firmware that dimmed the LED based on how far a hand was to the sensor and would turn the LED on/off if a hand was swiped over the sensor quickly. It's pretty useless but that's the point of a white elephant gift, no?
Get the firmware on Github...