Lightning Strike

hey all – particularly @wizard

I’m working on an Art Car design for the PDX Soapbox Derby with the goal of having some “digital lightning” on the hood and sides.

I found a ref to the zap pattern —which is pretty close to what i’m trying to do.

https://www.instagram.com/p/B4F-93EBNVV/

Wondering if the topology of this build is reflected in the code? Or if it’s just a linear progression?

Is there any way to control the pattern more discretely? As in, fire 50 leds, then 35 leds, then 65 leds etc?

Thanks!

-andy