Also mentioned elsewhere, you might want to try Tixy.land, which is online and can teach you how to think about patterns in a single line of code.
I did write a Tixy emulation for PB, and I do plan on using that as part of the approach for how to think about some LED patterns (not all but… Many)