Soulmate-Lights / soulmate-core

ESP-IDF library for LEDs
http://www.soulmatelights.com
MIT License
27 stars 2 forks source link

Jumping red pixels #12

Open elliottkember opened 3 years ago

elliottkember commented 3 years ago

I noticed that patterns like this one have a random red sparkle. We (well, the people who are smarter than me in the Wokwi discord and googled it properly) tracked this down to a bug in FastLED with fill_rainbow that's been tracked at least as far back as 2019.

It's a very interesting bug - it only affects hue 60 and saturation 240, and it's also affected by an LED's position in the array.

It looks as though this is fixed in this commit - updating FastLED to the latest master and see whether the simulation looks better.

elliottkember commented 3 years ago

Actually, I just realized that this isn't even the right repo for this, and may not be reproducible on an ESP32. I'll need to update the preview builder instead.

elliottkember commented 3 years ago

Before:

https://user-images.githubusercontent.com/42827/113464806-50103c80-93e4-11eb-931b-d2ca732d338c.mov

After:

https://user-images.githubusercontent.com/42827/113464808-556d8700-93e4-11eb-987f-df50ef26d835.mov