glowworm is a fast bias lighting program for wayland. It acts as a wayland client and uses the wlr screencopy protocol to copy frames into linux-dmabuf buffers allocated by GBM, and renders to devices with the adalight protocol.
The program looks for .config/glowworm/config.json in your home directory.
There is a sample in this repository.
The config requires:
- port: the serial port of the adalight device
- baud_rate: the baud rate of the adalight device
- leds: a list of box coordinates for each capture region (mapped to each pixel of the LED strip)
- Importing dmabufs into vulkan for processing (dithering, smoothing, etc) before rendering to the device
- Better configuration tools for creating the led capture region list
