r/FastLED • u/kcirrag22 • Aug 16 '21
r/FastLED • u/alexanderhugo • Aug 15 '21
Share_something Built some performance stage lights running FastLED on an ESP32. Over 1000 WS2812B LEDs in total, 200 watts per beam. And the hardware is my own 3D printed design.
r/FastLED • u/techvvolf • Apr 16 '22
Share_something Wireless 2812b LED effects for a theater show
r/FastLED • u/HejJagHeterMans • Aug 29 '21
Share_something DaftPunk Helmet with 10x15 LED matrix
r/FastLED
•
u/ohmaigotjoe
•
Oct 15 '25
Share_something Tube/rail network animated
I've always wanted to animate a Harry Beck style railway network (not necessarily in real time of course!) and let it just do it's thing and stare at it - which this piece has managed to do a number of times as I find myself watching this more than my actual TV that's right next to it!
Thanks to FastLED I was able to make this a dream come true. The code is fairly simple at the moment as I learn to program new effects in. The current set of effects are chosen at random and are changed at a set interval. I've tried to remain true to the colours of each of the tube lines on the original poster but a lot of these colours don't translate well from print to LED. I didn't make the map itself, the authors of this fictional map are Mark Ovenden and Alan Foale.
I'm looking at doing the same for some other maps but with less complexity in terms of crossing lines. I originally wanted to do the real London tube but it was way too complex. If you've seen any other great tube/rail networks I could draw inspiration from, I'd love to hear from you.
r/FastLED • u/ZachVorhies • Aug 22 '25
Announcements FastLED 3.10.2 - Corkscrew mapping + ColorBoost + HSV Improvements + Ease Functions + more!
I just submitted FastLED 3.10.2, it will be available in Arduino in the next few hours.
FastLED 3.10.2 introduces a Corkscrew Mapping. This mapping will convert an XY surface into a densely wrapped set of LEDs wrapped around a pole. For this mapping to work, you only need to supply the number of LEDS and the number of turns it took to wrap.
The example I've provided is called FestivalStick.ino. If you are going to burning man and you see one of these, then come say hi.
FastLED 3.10.2
CORKSCREW MAPPING!
Want to create a light saber or festival stick? Before your options were to have vertical strips.
Now you can use a corkscrew mapping fl/corkscrew.h, see examples/FestivalStick
You input the number of LEDS + number of turns.
Corkscrew will provide a surface XY grid that you draw too.
then call Corkscrew::draw(), and the current surface will be mapped to the corkscrew.
Rendering is done via 2x2 bilinear sampling. Looks great!
Animartrix - 30% faster due to forced
-O3andfastmathcompiler settings for this one file.Ease Functions - lots and lots of ease functions! Great for animations!
see fl/ease.h and the demo examples/Ease/Ease.ino
Fast! Everything is done in integer space.
3D Perlin noise (
inoise8(x, y, z)) range utilization improved from 72.9% to 88.6%Significantly better quality for volumetric LED effects (3D fire, clouds, particles)
Uses industry-standard 12 edge vectors of a cube for optimal gradient coverage
Adafruit NeoPixel Bridge: Optional Adafruit_NeoPixel clockless controller support
For some platforms Adafruits NeoPixel just works better.
Enable with
#define FASTLED_USE_ADAFRUIT_NEOPIXELbefore including FastLEDNow your WS2812 chipset will use the AdafruitNeopixel library (if installed)
New LED chipset: SM16824E
apollo3_red (stm variant): beta support.
HSV16 support
CRGB -> HSV -> CRGB is highly lossy
CRGB -> HSV16 -> CRGB is almost perfect.
Integer based so it's fast.
ColorBoost
CRGB::colorBoost()
Are you doing video on WS2812? Well then you probably are using gamma correction
Color Boost is an alternative for gamma correction for the WS2812 and other RGB8 chipsets.
It preserves luminosity but allows you to increase saturation.
HSV16 is used to preserve color resolution.
HSV -> CRGB default conversion function can now be overriden.
Thanks to https://github.com/ssilverman or this full spectrum HSV tweak.
If you just want to change it for your sketch you can use this:
#define FASTLED_HSV_CONVERSION_RAINBOW(default)#define FASTLED_HSV_CONVERSION_SPECTRUM#define FASTLED_HSV_CONVERSION_FULL_SPECTRUM
To change for the entire engine (recommended) then set these as build flags:
-DFASTLED_HSV_CONVERSION_RAINBOW-DFASTLED_HSV_CONVERSION_SPECTRUM-FASTLED_HSV_CONVERSION_FULL_SPECTRUM
fl/fetch.h
A non blocking http fetch library returning an fl/promise.h
You can then await the promise with
fl::awaitor install a callback to be invoked. The latter is recommended.
fl/json.h rewrite
Much more ergonic library. Fast parsing for packed arrays of number
The underlying ArduinoJson library is only ergonomic if you allow
std:stringandstd::sstream, which is missing on platforms like avr. So we had to write our own api to handle this.
Platforms
ESP32-C5 is now supported.
ESP32 WS2812 SPI driver has a fix for it's async draw routine.
Blend2d will now replace a subfx XYMap (when necessary) to prevent double mapping. A warning will be issued.
Seeed XIAO nRF52840 Sense: Fixed incorrect pin mappings that were copied from Adafruit Feather board
APA102HD Gamma Correction Algorithm: Completely rewritten with closed-form mathematical solution
Thanks https://github.com/gwgill!
Graph of the old algorithms quantization issues can be see here:
STM32F1 pin mapping fixes (blue pill)
Internal stuff
FastLED is now way more strict in it's compiler settings. Warnings are treated as errors
Lots of fixes, some code required amnesty.
The examples now compile under clang and run for
./testAll examples now compile for ALL platforms.
this was a major undertaking.
required a rewrite of the testing infrastructure.
Teensy41 took ~ 1 hours to compile 40 examples, now it can do 80 examples in ~8 mins
Happy Coding!
r/FastLED • u/EggLow7371 • Apr 02 '26
Share_something Yet another LED cube build.
Idea isn’t original, just figured I’d build one to my standards. Custom circuit boards. Only 8mm across. 166 black framed pixels per meter. Running on a teensy 4.1. So far I have a library of static and audio reactive animations. I plan on adding an artnet node so I can pixel map it through resolume arena or touch designer. I don’t plan on making a build guide because it was about 3 days of painstaking labor to actually get this thing together. But if you’re interested I’m happy to provide the cad and gerber files. I’ll warn you though, It’s not a fun build.
EDIT: Here are the links to github and makerworld.
r/FastLED • u/MungoBBQ • Mar 31 '22
Share_something Finished FastLED corporate wall installation, as promised. (technical writeup in comments)
r/FastLED • u/Mr_Harpo • Oct 19 '21
Share_something Halloween Light Show: Cheshire Cat Apartment Building - Details in comments
r/FastLED • u/NasDawg3 • Sep 30 '21
Share_something Party Lighting for the Garage "Club Delta"
r/FastLED • u/Maker2402 • Dec 06 '20
Share_something LEDs + Broken Glass Stones + Plexiglass Tube
r/FastLED • u/DennisDeer • Nov 16 '19
Share_something Mask for Carneval, over 400 WS2812 LEDs, made by myself. Controlled via ESP8266 over a Webapp
r/FastLED • u/muffinsticks • Jun 29 '22
Share_something LED fireworks show this year for the front lawn
r/FastLED • u/Geaz84 • Jul 22 '21
Share_something Created new table light nodes and a "light only mode" for my syncBlink project (using them for my wedding)
r/FastLED • u/Any_Win4384 • May 13 '26
Announcements Another free and super handy LED mapping tool
This online webapp solves most of your 1D 2D (and some 3D) mapping head aches, and exports to various formats, including FastLED arrays.
Check it out r/FreeLED or go directly to the tool which is permanently host at freeled.org
r/FastLED
•
u/StefanPetrick
•
May 01 '26
Announcements From zero to fire simulation - building my own model
The learning curve is wild when collaborating with a bunch of AI instances. It feels like having someone infinitly patient with a PhD in math and a PhD in physics around who happens to also be an experienced senior software developer.
I didn’t sleep for too long, but what I’ve learned about simulation approaches in the last few days blows my mind.
I started 2 months ago with simply applying a procedurally generated (Perlin noise) advection field.
Then I figured out how to actually simulate the advection based on a Newtonian fluid.
And now… I’ve started to simulate fire. For now, only a few of its properties, to get familiar with the architecture of a complex simulation pipeline.
I’m simulating a coupled system of flow, heat, and smoke.
the flow moves heat and smoke
the heat creates flow
cooling heat creates smoke
the renderer maps those fields into a flame appearance
It works as follows:
This simulation uses a visually driven coupled field model on a fixed 64x64 grid.
What is stored per cell:
u, v: the two components of the velocity field
temperature: how hot that cell is
smoke: how much smoke / density is in that cell
What happens each step:
The source injects new temperature, smoke, and upward momentum near the bottom. (source term / forcing)
Gravity and especially Buoyancy modify the velocity field. Hotter cells get extra upward force. (buoyancy force model)
The velocity field is diffused, projected, and advected. This is the classic incompressible fluid core: smooth it, enforce near zero divergence, then move the flow through itself. (Eulerian incompressible fluid solver / Stable Fluids style)
temperature and smoke are transported by that velocity field. So heat and smoke get carried by the flow. (semi-Lagrangian advection on an Eulerian grid)
temperature cools down over time. (simple exponential decay / cooling model)
Part of that lost heat is converted into new smoke. This is an important feedback loop: hot flame gradually produces smoke as it cools. (heuristic reaction / transfer model)
Vorticity confinement artificially boosts small vortices so the flow does not become too smooth and dead-looking. (vorticity confinement)
The key feedback loop:
more temperature creates more buoyancy
more buoyancy changes the velocity field
the velocity field transports temperature and smoke
temperature cools and generates smoke
smoke changes the visible shape and softness of the flame in rendering
vortices in the velocity field tear and fold the heat/smoke fields into richer structures
Why it looks good:
The solver transports everything coherently, so shapes do not break up randomly, they deform like flowing material.
temperature and smoke play different visual roles:
temperature gives the bright active flame core
smoke gives softer, darker, trailing regions
Fire color is not simulated directly as RGB fuel chemistry. Instead, it is rendered from the fields:
hot = bright / yellow / white
cooler = orange / red
smoke-heavy = darker / grayer
Vorticity confinement brings back the small flickering tongues and curls that numerical damping would otherwise wash out.
The system is only a rough physical approximation, but it emphasizes exactly the cues our eyes read as fire:
upward rise
turbulent breakup
bright core
unstable edges
smoke appearing as things cool
Recognition & credit: I've learned so much by reading
“Stable Fluids” (1999) by Jos Stam which was published at SIGGRAPH 1999.
https://pages.cs.wisc.edu/~chaol/data/cs777/stam-stable_fluids.pdf
Its impact led to major awards for the author:
2005 – ACM SIGGRAPH Computer Graphics Achievement Award Awarded to Stam for his overall contributions (including Stable Fluids).
2005 & 2008 – Academy Scientific and Technical Awards Often called “Technical Oscars,” recognizing contributions to visual effects and simulation techniques.
Edit: I last tried visualizing fire 7 years ago: https://www.youtube.com/watch?v=SWMu-a9pbyk
Nothing was actually simulated back then—it was just uncoupled layer advection & domain warping stacked together.
Still, it was convincing enough that one user’s neighbor called the firefighters after seeing it through the window, which I considered a great compliment. 😉
I’m curious what this current model might cause...
Edit2: Here is the complete Python code https://gist.github.com/StefanPetrick/e0facb16ce7c74747ee07ff58e22556b
You can run this yourself and play with all the parameters.
I’m confident that after refactoring it in C++, this will run on a Teensy 4. I’m less confident about the ESP32.
But hey, I said the same about the previous smoke model, and u/mindful_stone made it work to prove me wrong which I appreciate deeply!
Edit3: If you’d like to support my work, I’d truly appreciate it. Any donations will go directly toward more AI tokens: paypal.com/donate/?hosted_button_id=YR7Q795MYU9HS
r/FastLED • u/PmMeYourUnclesAnkles • May 16 '21
Share_something This is getting out of hand...
r/FastLED • u/Fotoshopist • Feb 03 '21
Share_something Fake Fire w/ FastLED - a project I've been toying with for a while. Fake fire with some palette variations.
r/FastLED • u/synestetica • Jan 25 '22
Share_something How to drive WS28XX leds over 50 meters with no extra hardware with this ONE SIMPLE TRICK
r/FastLED • u/r48811 • Dec 12 '21
Share_something Neopixel scarf I made for first night Pittsburgh.
r/FastLED • u/darrenlloyd • Feb 20 '21