Hi Hans!
I will take a closer look at your tutorial about programming, cause I like your art of programming and the way you explain things.
The “loop” and “setup” is clear. But I very often read sketches with a single void and some parts of the sketch are written in the void, some in the loop. That way it is very difficult to understand such code.
I´m sure I will need help from you and the forum in the future. Cause I also want to combine our great phaser sketch with sound (DFPlayer mini). The challange will be to push a button, have a soundfile played (computer beep as a “button pressed” feedback) then the phaser sketch will start with the phaser sound.
In a much easier code, I already got this working (just combined two online found sketches).
And another effect could be a warp jump. The engines are glowing with a steady color and after pushing a button, the light gets bright with a white flash and is dimming down again. With variable speeds for the fade in, flash and fade out.
I also got this working (code also found online), but with normal LED´s, which is easier but not that versatile in contrast to WS2812.
When you like Star Trek, you hopefully will like my 2009 Enterprise videos and the Deep Space Nine video.