Music visualization & simple animations on FW Desktop RGB fan

I was a little disappointed that the fan’s RGB lights did not seem to have an interface exposed in /sys/class/leds/, and instead relied on the nice framework tool that uses some sort of embedded controller, so I took it upon myself to write a tiny Rust program to leverage framework-system:framework-lib, as running the cli tool many times per second wasn’t really ideal. I wanted to keep it minimal, so it’s not very configurable, other than the constants in consts.rs. Initially, I just wanted to spin a color gradient around, but I just couldn’t help myself and added in a little music visualizer for mpd.

It’s mainly for me, but if anyone uses this, modifies for their own use, or inspires them, then here you go.

3 Likes

Ooooh I’ll have to try this out! :eyes: