When in “disco” mode, the patterns are generated in a PC and then sent as binary data to the micro-controller using web sockets. For that I’m using some software I found in the net, namely Glediator.
When used just for lighting the ceiling is autonomous. In that case I have some subtle hue and saturation changes that are being generated in the micro-controller. I’m using the FastLED library for that. I’m planning to create more patterns for this autonomous mode.