Hi - I do a lot of art projects using LEDs - sometimes in grids but more often in linear shapes described by the LEDs (intersecting circles, crosses, etc.). I always struggle with what I guess could be called the 'choreography' of programming these pieces: setting up the sequences and timing of movements (i.e. triggering the LEDs in particular animation sequences and patterns, interaction between these virtual 'shapes' and so on).
Most of my stuff has some generative and/or random aspect - I set up rules, etc. and the sequences never repeat but have some structure or development over time.
I know how to use objects/classes, and programming elements like state machines, LUTs, etc. but I am wondering how to go about setting up a programming structure/system that I can build on.
Very general question, I realize but maybe someone has suggestions or examples I might look at to get some ideas on how to approach coding such an animation system.