r/FastLED • • Sep 17 '25

Support Burning fuse simulation

Does anyone have an effect in FastLED to simulate a fuse burning using a single string of WS281x LED's ?

4 Upvotes

18 comments sorted by

View all comments

Show parent comment

1

u/AcrobaticDealer4816 Sep 18 '25

Thanks for your reply. I tried asking Copilot a few different ways but kept getting responses about fuses which blow rather than burn. I guess the vocal forum members consider it better to ask AI and not share the topic with community members.

2

u/Marmilicious [Marc Miller] Sep 18 '25

Please continue to share and ask questions with community members! AI is fun and fine to share with the community, but it doesn't make a community.

1

u/Burning_Wreck Sep 18 '25

The key to getting good help from an LLM is to know which one to ask, and how to spell out the request. I've tried the main ones (ChatGPT, Google Gemini, and Claude) and I've found Claude does a great job with FastLED requests. It seems to be smarter about what sources it has absorbed and how to stitch them together.

Copilot might be better integrated into a full programming environment like VSC. I chatted with a senior engineer about a niche language, where Copilot had access to all of his work, and he was happy with the suggestions it made.

Spell out the request in as much detail as possible, even down to the pins you want used on your setup. If you can give it a series of steps that you want the code to follow, that's even better - you're planning out the project and making the LLM do the grunt work.

Here's one I tried - I needed an effect where Neopixels pulsed on/off slowly (they are lighting up fiber optic cables, I have designed and 3D printed a small rig to hold the end of the fiber optics against the pixels). This is what I asked Claude for - give it something like this and its first pass will be pretty good.

For Arduino using FastLED:
Button pin: 12
FastLED pin: A3

  • Wait for button to be turned on and held
  • When button is on, turn on pixels 1 & 2, set to Aqua
  • Slowly pulse pixels on and off
  • When button is released, turn off pixels
  • Wait for button to be pressed again