r/FastLED • u/Yves-bazin • Dec 30 '19
r/FastLED • u/Robin_B • May 07 '21
Share_something I built a 1D game on a 30m long LED strip that's exhibited in a museum in Mexico! Game logic on Teensy (w FastLED) -> ESP32 -> ESPNow -> 3x ESP32 -> Parallel FastLED to 5 meter strips
r/FastLED • u/FractalEclipse • Jul 31 '22
Share_something My door reacts to how close I am
r/FastLED • u/ZachVorhies • Apr 18 '25
Announcements FastLED 3.9.16 Released - WaveSimulation, Advanced layer compositing - and more!
FastLED 3.9.16 is now released! Arduino will approve it in the next few hours and should have it available through your IDE by Friday morning.
This release of FastLED is geared toward our programmer-artist community. If you love creating amazing visuals then this release will be one of the most significant releases yet for you. Read on:
Summary of Visual Enhancements in FastLED 3.9.16
FxWave: FastLED now features a 1D and 2D wave simulator. Special thanks to Shawn Silverman who provided the differential equations to make this work. This simulator runs in int16_t fixed integer space, allowing it to be fast on MCU's without a dedicated FP processor. We support super scaling the wave simulator which is then down scaled for rendering. The wave simulator will default to half-duplex which means negative values are discarded. This allows the simulator in it's default state to produce black, instead of some midpoint (127) color. The fixed 16 point integer calculation has enough bit depth to run easing functions mapping [0, 1] -> [0, 1] without loss of quality. Unlike particle based effects which slow down as the complexity increases, the WaveSimulator does not suffer from this. The same processing is needed whether the wave simulator is drawing all black or otherwise, so go wild.
Animations: TimeAlpha classes now offer smooth transitions based on the current time and begin & end times. You will trigger the TimeAlpha which will start the clock. After this, you can called the TimeAlpha's
update()function to retrieve the current alpha value. You can use this alpha transition to do path tracing. For example in the video above I'm drawing a cross by running a pixel trace with a span of 6. Any intersection with the wave simulator is then incremented by the specified value. Example usages include: one TimeAlpha class can be used for brightness control while another can be used as input for a parametric path, taking in auint8_torfloatand outputtingxandy.Alpha-less blending: CRGB::blendAlphaMaxChannel(...) allows per-pixel blending between most visualizers now in the wild. FastLED does not have a strong concept of alpha masks. This really bothered me as compositing is the key for great visualizers and this algorithm produces striking results and can essentially be bolted on without much changes: the brightness of a pixel is a strong signal for proper mixing. You will specify an upper and lower pixel. The upper pixel is queried for the max brightness of it's components. This max brightness then becomes the alpha mask and the two pixels are mixed to generate a new pixel.
fx/fx2d/blend.his a newFx2dsubclass that functions as a blend stack. combining severalFx2dclasses into one functionalFx2dinstance. EachFx2dcontained in the blending stack can have it's own blur settings specified. The layers are then composited from back to front. The bottom layer is drawn directly without blending. The rest of the channels are composited via CRGB::blendAlphaMaxChannel(...). The bluring parameters for the blend stack can be set for the whole stack, or per frame, allowing striking visual quality even at low resolution and eliminates a lot of aliasing effects common in FastLED visualizers.inoise(...) just went 4D. This is designed to support irregular shapes like led strip wrapped cylinders, which is the main use case. In this instance you could define a width and radius and then compute each pixel in 3D space. You can then run the x,y,z coordinates through inoise(...) plus a time factor to produce a noise pattern.
FireMatrix and FireCylinder. Fire2012 visualizer is becoming more dated by the day. There are lot of 2D fire simulators in the wild based on FastLED's perlin noise functions. The FireMatrix is a straight matrix for flat pannels, while FireCylinder wrapps around so that the first and last x value are seemless. FireCylinder is perfect for those flex led panels if you want to bend them on themselves - you will now get a full 360 fire effect.
How the featured examples/FxWave2d demo was generated
This examples is a 64x64 matrix grid. I used two FxWave2d visualizers: one for the blue gradient and other for the white->red gradient. The blue gradient wave simulator runs at a slightly faster speed factor to improve visual impact and make it look similar to a star going nova. Both wave simulators are super scaled at 2x in W and H and then downscaled for rendering (this is featured in the Wave simulator class and you don't need to worry about it - it's just an enum you pass). I then combined both FxWave2d instances into a Blend2d FX class with the blue gradient wave at the bottom of the stack which will unconditionally write it's pixel values to the render surface. The white->red gradient wave is then composited ontop. Again this is all automatic when you use the Blend2D fx class. The white->red wave produces lots of artifacts and therefore heavy bluring is used to improve visual quality. The blue wave does not need much bluring because of reasons. The cross that you see is drawn using 4 parameterized paths being applied to the white->red wave simulator. The speed of the path is controlled via a user setting and can be changed. To avoid pixel skipping as the path traverses across the screen, the paths are over drawn with a span of 6% of the width of the display.
That's it at a high level. If you aren't interested in the details of this release you can stop reading now.
Release Notes
New inoise16 4D function taking in x,y,z,t
This is good for 3D oriented noise functions + time factor.
Wrap an led strip as a cylinder and use this function to map noise to it.
New Wave Simulator in 1D and 2D
Thanks /u/ssilverman
Full and half duplex wave simulators (half duplix supports black)
For improved rendering we allow 2x, 4x, 8x super sampling
Speed control via multiplying the rendering iterations per frame.
EVERY_N_MILLISECONDS_RANDOM(MIN, MAX)macro for sketches.CRGB CRGB::blendAlphaMaxChannel(const CRGB& upper, const CRGB& lower)for fx blending withoutalpha.Visualizer blend stack.
Multiple visualizers can be stacked and then composited via
blendAlphaMaxChannel(...)Blur2d can be applied per layer and globally.
fl/time_alpha.hNew time based functions for controlling animations.
Give it a beginning time, and end time and the current time
update(...)will give you the current time progression.
Trigger then called upated to get
uint8_tfrom 0 -> 255 representing current animation progression.
fonts/We now are opening up a beta preview of FastLED fonts. These are lifted from the WLED project, who copied them from Microsoft. There is no mapping yet for turning a character like
ainto it's font representation and will need to be done ad-hoc style. The API on this is going to change a lot so it's recommended that if you use the fonts that you copy them directly into your sketch. Otherwise it's very likely the API will change in the near future when font mapping is added.
New Examples:
FxWave2d
Complex multi wave simulator visualizer.
FireMatrix
FireCylinder
Same as FireMatrix, but the visualizer wraps around so it is seemless (y(0) ~= y(width -1))
Happy coding! ~Zach
r/FastLED • u/zedxquared • Jun 13 '21
Share_something FastLED lighting up some seriously optic blown glass art by Katie Huskie (UK) LEDs by me. Wow! (WS2812b strip in serpentine matrix running modnoise pattern )
r/FastLED
•
u/GlumPiece7281
•
Jul 01 '26
Share_something Patternflow — an open-source LED synthesizer with 30+ generative patterns, playable in the browser or on real hardware
Hey, this is Patternflow — an open-source LED synth built on an ESP32-S3 driving a 128x64 HUB75 panel. Four knobs, real-time generative patterns, and right now there are 30+ of them to play with.
Everything's browser-first too — there's a web simulator that behaves exactly like the physical device, so you can turn the knobs and try any pattern before ever touching hardware. If one clicks with you, you can flash it straight to a real Patternflow from the browser, no IDE, no drivers.
Under the hood it's a pretty lightweight custom pipeline, no FastLED, raw RGB888 canvas driven directly through ESP32-HUB75-MatrixPanel-I2S-DMA, with the color math and noise functions hand-rolled as lookup tables. Small optimization I added recently, swapping sqrt() calls in the radial patterns for a cheaper distance approximation, ended up clearing out some lag I didn't expect to fix that easily.
Fully open source, patterns/build guide/simulator all live here: patternflow.work
r/FastLED • u/DCorboy • Nov 23 '25
Share_something 3D Point Cloud LED Christmas Tree
I’m in the final stages of the animated LED Christmas Tree I’m building with FastLED and a Dig-Quad.
My goal was to create procedural animations that would render based on the 3D positions of each light on the tree so I first created a point cloud-based tree simulation in JavaScript, and some basic tools for making simple animations. Later I added a porting layer to allow the animations to be more easily implemented in C++ on the ESP32.
Over the intervening year-and-a-half (having missed the 2024 Christmas window), I built out the animation component system with timelines and easing, UV mapping, particle systems, 3D transforms, and spatial distribution, as well as portable math, noise, and color blending/management. The tree ESP32 serves a web page for choosing an animation or playlist for the tree, as well as monitoring temperature and memory use.
The clips in the video are from the JavaScript development simulator and I’m stringing the actual tree right now. At this point in the construction, the one completed light strand shows promising results with coherent patterns. It also shows quite a few platform bugs. Most of the animations have been ported and the overall problems seem manageable. I hope it’ll be smooth-enough sailing into Christmas!
Relevance: FastLED, QuinLED Dig-Quad, Wemos D1-Mini32, five-hundred WS2815 lights in three 12-volt strands.
r/FastLED • u/Badkittykkr24 • Feb 24 '22
Share_something Built my daughter a 3d printed minecraft block.
r/FastLED • u/Source-Elegant • Dec 20 '22
Share_something Staircase lighting with fastled
r/FastLED • u/JHaxEnabled • Jan 20 '22
Share_something I over engineered my parts organizer using FastLED. (Also posted in r/arduino)
r/FastLED • u/gregschlom • Sep 04 '19
Announcements Dan Garcia passed away
This is a difficult post to write.
I'm a FastLED user and one of Dan's neighbors. Yesterday I learned from another neighbor that Dan Garcia (u/focalintent) and his partner Yulia were on the Conception dive boat that caught on fire and sank on Monday (https://laist.com/2019/09/03/conception_boat_fire_santa_cruz_island.php).
I didn't know Dan and Yulia very well, having recently moved in the neighborhood, but I can say that they were a very kind couple. Dan had a beautiful LED installation on a tree in their front yard, and he was very proud of FastLED and the fact that so many people use it.
RIP Dan and Yulia.
r/FastLED • u/overquota • May 22 '25
Share_something LED-Matrix Panel: First successful prototype
My steps are so far:
Resolume Arena: Output the video via Syphon
TouchDesigner 1: Resize the Syphon input to the desired pixel dimensions (20 x 10 in this case).
TouchDesigner 2: Use a custom Python script to remap the pixel positions (this is necessary because my LED string is snaking down beginning at the top left and ending at the bottom left)
TouchDesigner 3: Send the remapped LED values via UDP to the Teensy.
Teensy: Receive UDP packages and display via FastLED
Final plan:
Create a DIY wall out of approximately 23 of this panels and use is as a LED wall during a private party at the beginning of next year.
r/FastLED • u/CharlesGoodwin • Apr 22 '22
Discussion How on earth do I make one of these?!?
r/FastLED • u/darrenlloyd • Mar 03 '21
Share_something Fibre Optic RGB LED - Idea shamelessly stolen from something I saw somewhere on the internet
r/FastLED • u/kcirrag22 • Sep 23 '21
Share_something Setup my dorm with some music reactive leds running on the controller I've been working on
r/FastLED • u/JesseTheBroken • Aug 06 '22
Support I'm a bit frustrated, have I hit the limits of Arduino?
I had some pretty ambitious ideas for my hypercube and this is about the most I can do before it freezes up, presumably because I've hit the processing power limit of the Arduino Duo. It seems most sensitive to when I send more than 16 pixel updates before the "FastLED.show()" command, my algorithm for tracking to points doesn't seem to be the problem and I'm only using 7% of the memory. Also, it's not correctly accepting my color assignments. Anyone else running into these kinds of issues? I'm wondering if I should try using a raspberry pi or something with more processing power. Thanks for reading!
r/FastLED • u/HundredWithTheForce • May 26 '25
Share_something I made a thing.
Well, two things.
The first thing is an ESP32 driving an 8x32 matrix of WS2812B LEDs. Simply plugging it in, the device rotates through 5 different animations. They are attached to a plastic cylinder, with a slightly larger cylinder as the cover. The diffuser is a sheet of printer paper on the inside of the outer tube.
The second thing is an iOS app that can connect to the ESP32 and control the lamp. You can set any of the animations to run permanently, or rotate through them, showing each for 5 to 60 minutes. You can also select a permanent color for the lamp to display. You can save and load colors.
Future plans are to add more animations that take advantage of the matrix layout. And to build a second one because my wife stole the prototype and put it in the living room.
The ESP32 code lives here.
The iOS code lives here.
r/FastLED • u/DesireToInspire1 • May 24 '22
Share_something I made sound-absorbing panels with LEDs Gamer Style!
r/FastLED • u/forgottenSemicolons • Sep 18 '24
Share_something Bar Shelves
Just found this sub after getting my strips up and running. Hope I can share a little inspo like you all have.
r/FastLED • u/KyleBrochu • Jul 16 '24
Share_something Wearable audio reactive 3D mushroom cap I'm just about finished with
r/FastLED
•
u/ZachVorhies
•
Jun 16 '25
Announcements FastLED 3.10.0 Released - AnimARTrix out of beta, esp32 improvements
Summary of changes in FastLED 3.10
Animartrix now out of beta.
ESP32
Esp32P4 now officially supported.
ESP32-S3 I2S driver is improved
It will now auto error on known bad Esp32-Arduino Core versions and provide corrective action.
Arudino core 3.2.0 is now know to work. 3.1.0 was broken.
Documentation has been greatly simplified and unnecessary steps have been removed.
Details of FastLED 3.10
3.10 represents a new phase of FastLED, while the 3.9.XX series focused on improving the driver and increasing the number of LEDs that can be painted at once, the 3.10.XX series will focus more on helping artists and sketch programmers realize their visions.
The core driver will still be improved but it's no longer the primary focus. The tech-artist is.
What happened to 4.0?
I originally planned to have a giant 4.0 release with a video showcasing all the features that are still unannounced but lurking in the code base, but the more I thought about that the more I realized how limiting one video is for multiple major features. I believe it's better instead to release one video with every release of FastLED showcasing one or two features.
And there is another important reason: API's are hard to change once officially published. And I find myself coming back after a month or so and realizing that my previous assumptions about how to solve a particular problem evolve as the code base evolves. Often features will synergize later and I'll be glad I didn't announce something too early.
AnimARTrix
With that said, AnimARTrix is now out of beta. Thank you https://www.reddit.com/user/StefanPetrick/ for such an amazing visualizer!
Big thanks to https://www.reddit.com/user/Netmindz for the original port in WLED. The FastLED version I believe has a simpler interface and other improvements.
Keep in mind that AnimARTrix computes in floating point, so you'll need either a Teensy 4.X or ESP32-S3 to run at the higher resolutions. Natively it looks best in 16x16 or 32x32 displays. For larger displays you can use fl/upscale.h which will apply bilinear expansion for arbitrary large displays.
AnimARTrix is free for non commercial use. It is NOT compiled in by default, instead everything is in a header *.hpp file. When you include it you will get a message letting you know it is GPL code. If you'd like to use it for commercial purpose, please contact https://www.reddit.com/user/StefanPetrick/.
About FastLED's versioning semantics.
FastLED does NOT follow semantic versioning. Despite the large version bump, 3.10 is an incremental change to 3.9.20, and has more to do with the change in focus going forward for this next chapter. The 3.9.XX series was a turbulent as major refactorings had to take place. These refactors are done and going forward, the API will be extended. I don't intend to do any API breakages ever for legacy sketches. If you see something is broken, let us know by falling a bug and we'll get it taken care of.
Final words
It seems the world right now is heading toward darkness. We are all saddened by it. But remember, you can be the light you want to see in the world.
Happy coding.
~Zach