r/FastLED • • Jan 19 '22

Share_something some ws2812b matrix effects

97 Upvotes

r/FastLED • • Jan 25 '21

Share_something I finally managed to safely set up a photoshoot using my homebrew FastLED light staff!

Post image
97 Upvotes

r/FastLED • • Nov 16 '24

Share_something Latest project, macropad with 8x8 panels in the keycaps

96 Upvotes

r/FastLED • • Oct 30 '22

Share_something My efforts so far

96 Upvotes

r/FastLED • • Nov 10 '25

Discussion Fully open-source ARTNET LED controller over Ethernet! 2700 Leds with <$20 in hardware.

Post image
95 Upvotes

Hey Guys! I have shared this before, but I have been developing an Open-source ARTNET LED controller that can control up to 16 universes of LEDs with about ~20€ of hardware. Id like to share it here as someone out there might find this project useful for their own ventures! Feel free to check out the github (https://github.com/mdethmers/ESP32-Artnet-Node-receiver/tree/main) to see the massive list of features!

Also, here is a video showing the controller: https://www.youtube.com/watch?v=3MiqAQKJGm4

Let me know what you think of this and if there are any features you would like to see integrated!


r/FastLED • • Jun 11 '21

Share_something My lastest FastLED 'sideproject': illum of my HiFi

95 Upvotes

r/FastLED • • Dec 13 '22

Share_something Thank you to everybody who helped me troubleshoot yesterday! Final results here (details in comments)

93 Upvotes

r/FastLED • • Jul 23 '20

Share_something Color Clock made using ESP8266,WS2811 LEDs and FastLED library. Link for full tutorial,codes and STL files is given in comments below 👇

92 Upvotes

r/FastLED • • Jul 22 '19

Share_something New animation for my reactive surface

92 Upvotes

r/FastLED • • May 29 '23

Announcements FastLED 3.6.0 Release

91 Upvotes

Greetings FastLED community! We are officially releasing FastLED 3.6.0 today. This release incorporates valuable improvements from FastLED contributors, tested and explored by the world-wide FastLED community of artists, creators, and developers. Thank you for all of your time, energy, and help! Here are some of the most significant changes in FastLED 3.6.0:

  • Greatly improved support for ESP32 and ESP8266

  • Expanded and improved board support including Teensy4, Adafruit M4 CAN Express and Grand Central M4, RP2040, ATtiny48/88, Arduino MKRZero, and various other AVR and ARM boards

  • Added support for DP1903 LEDs

  • Added fill_rainbow_circular and fill_palette_circular functions to draw a full rainbow or other color palette on a circular ring of LEDs

  • Added a non-wrapping mode for ColorFromPalette, "LINEARBLEND_NOWRAP"

  • No more "register" compiler warnings

  • Bug fixes and performance improvements, including in lib8tion and noise functions

  • We are expanding the FastLED team to help the library grow, evolve, and flourish

  • Released May 2023, with deepest thanks to all the FastLED community members around the world!


r/FastLED • • Dec 23 '22

Share_something The spin room has audio integration!

91 Upvotes

Not a finished pattern yet, but the audio analytics are getting there. Apologies for the terrible video...


r/FastLED • • Sep 30 '25

Share_something A fluffy procedural animated wallpaper

90 Upvotes

Hi everyone! I finally got time to play with Animartrix again.


r/FastLED • • Aug 06 '22

Share_something Found a use for the small bits that broke off when splitting a geode

90 Upvotes

r/FastLED • • Jul 12 '22

Share_something 3D Printed WS2812B 12x5 Array Touch Lamp

90 Upvotes

r/FastLED • • Aug 06 '26

Announcements Design Studio for FastLED — public beta. Wire the Nodes. Light Up the Room. Node editor, live preview, generates real FastLED sketches. Looking for hardware testers.

89 Upvotes

Hi r/FastLED,

*** Design Studio for FastLED v0.7.0 available. Added HUB75 panel support, updated fbuild to v2.5.15 ***

I've been building Design Studio for FastLED, a node-based editor for designing LED patterns that outputs actual FastLED C++ using the excellent FastLED library.

It's now in public beta (v0.6.0) and I'm looking for testers, especially anyone willing to point it at real hardware.

Site, downloads and the community pattern gallery: https://designstudioforfastled.com/

Source: https://github.com/stevenmunn312-tech/Design-Studio-for-FastLED

What it is

You wire nodes on a canvas, the LED matrix preview updates. When you like what you see you generate a .ino or flash it straight to the board over USB. The preview and the code generator are written against each other deliberately, so what runs on the panel is one-to-one with what you authored rather than being a rough approximation.

Workflow

All graphs must end with a Matrix Output node with a valid Frame or SD card input (SD card is for music synced shows as opposed to live microphone).

Three basic workflows

  • Single Pattern - Wire up a pattern that ends with Frame output going to Frame input of a Matrix Output node. Flash to hardware or generate code and you are done. Important: If you like the pattern and want to keep it then it must be grouped (ctrl/cmd G) and saved to your Pattern Library. This will collapse your graph into a single node for use later. The next two workflows rely on grouped patterns.

  • Generative show - Add patterns from your library to a Pattern Collection node and wire it into a Show Engine node. Optional: Wire in the Transitions node and enable your selection to get up to 16 transition styles. Choose randomized dwell times with optional beat-triggered particle bursts. The whole show compiles into a single controller sketch. Audio reactivity is via a live microphone. If any of your patterns are audio reactive you must wire a microphone node to the Show Generator node. INMP441 microphone currently supported.

  • Music-synced SD show - Add patterns from your library to a Pattern Collection node and wire it into a Performance Generator node. Optional: Wire in the Transitions node and enable your selection to get up to 16 transition styles. Hook up a Music Library node, load in your favorite mp3 files and click analyze. This generates a timed event track. If you wish you can then hand edit the timeline. Adjust audio sensitivity and timing options then preview the show. When you are happy Matrix Output - Upload - Upload Show to SD. This will then provision an SD card with the player and show data. Result - Perfectly timed LED displays synced to your music. No microphone required.

Scope

  • 151 modules: patterns, generative simulations (Fire, Fire2012, Particles, Boids, Flow Field, Reaction Diffusion, Game of Life, Starfield), scalar-field math and warping, color and palette tools, math/logic, signals, effects, hardware inputs, output.

  • Hardware nodes can control the hardware. Buttons, potentiometers, encoders and more can easily hook into any aspect of your c++ output.

  • Audio-reactive work as a first-class path: live mic FFT, beat and percussion detection, plus 20 curated audio-reactive patterns included. On ESP32-S3 with an INMP441 the generated firmware uses FastLED's own audio processor, so the board reacts on its own with no host attached.

  • Per-node live previews: every node whose output is a frame, palette or color shows a thumbnail of what it's producing, so you can see where a chain went wrong instead of guessing.

  • Pattern Library: turn any patch into a reusable Group, save it to shelves, drag it back onto any canvas, or share it to the gallery on the site.

  • Live Stream mode: flash a small Adalight receiver once, then push preview frames over USB at 30fps while you edit. No recompile per tweak.

  • Flash Wiring Test: a standalone diagnostic sketch for color order, brightness and current limit, orientation, panel numbering and pixel order, so you can prove out wiring before the graph even exists.

  • Guardrails: Graph Health explains incomplete wiring, pin conflicts, power draw and board incompatibility in plain language. There's also a live capacity meter that runs a real compile-only build against your selected board and reports measured flash and RAM, so "won't fit on an Uno" shows up while you're composing rather than at upload time.

  • Layouts: strips, serpentine matrices, tiled panels with per-panel rotation, custom XY maps, and multiple independent Matrix Output routes.

  • MIT core, portable builds for Windows, macOS and Linux with the upload helper, fbuild and esptool bundled. No Node or Python install needed. It also runs from source with npm run dev.

Testers wanted!

The support promise is narrow. A board and LED combination only counts as supported once an end-to-end hardware run is recorded in the repo. Boards confirmed working so far:

  • ESP32, 16x16 WS2812B serpentine, fbuild, Windows 11 + Chrome: normal upload, wiring test, sustained live stream, generative show, INMP441 audio show.

  • ESP32S3, 16x16 WS2812B serpentine, fbuild, Windows 11 + Chrome: normal upload, wiring test, sustained live stream, generative show, INMP441 audio show.

  • ESP8266, 10x1 WS2812B strip, arduino-cli, same host: normal upload, wiring test, live stream.

Everything else is experimental until someone records it. That includes every other board, APA102 and the other SPI chipsets, SK6812 RGBW, tiled and custom layouts, PSRAM modes, SD show provisioning, DMX/Art-Net in every mode, and the NTP and DS3231 clock paths. Those all have unit and codegen tests behind them, but tests are not a panel on a bench.

Hardware testers specifically

If you have any of the following boards and LED chipsets, this is the most useful thing anyone can do for the project.

  • Teensy, RP2040, classic ESP32, ESP32-C3/S2, AVR, UNO R4

  • APA102 / APA102HD / HD108 / WS2801, SK6812 RGBW, WS2815, WS2816

  • Tiled panels, custom XY maps, multi-output setups

  • macOS and Linux hosts, and any non-Chrome browser

  • DMX512 or Art-Net with a real desk or controller (zero hardware passes recorded so far)

Reporting is built in. The Matrix Output upload panel has an opt-in Beta hardware coverage report: it compares your target and graph against the recorded rows, asks for explicit Pass/Fail/Not tested observations, shows you the entire payload before anything leaves your machine, and then offers copy, JSON download, or a pre-filled GitHub issue. Nothing is submitted automatically, and it excludes ports, project content, code, media, Wi-Fi details and device identifiers. Negative results are genuinely valuable. The last two bugs that got fixed both came out of failed validation runs, including one where 1-row strip layouts silently dropped every streamed frame.

Bug reports, feature ideas and "this is confusing" feedback are all welcome too, not just hardware runs.

Notice

Desktop packages are not yet code signed or notarized. SmartScreen and Gatekeeper will complain.

Only make an exception for an archive you deliberately downloaded from the official release page.

It's designed for desktop screens (1440x900 target, 1280x720 minimum). And the usual: LED installs pull real current, so use a properly rated supply, fuse and inject where needed, and never run a large load through a board regulator or USB port.

This is an independent community project. It generates code for FastLED but is not affiliated with or endorsed by the FastLED project or its maintainers.

Happy to answer anything about how the codegen or the preview parity works.


r/FastLED • • Apr 03 '22

Share_something How much complexity is too much for an animation? What do you guys think?

89 Upvotes

r/FastLED • • Feb 23 '23

Share_something I finally nailed the smooth rotation of a noise field. No unsteady or flickering edges anymore. No quality loss no matter what the actual rotation angle is.

88 Upvotes

r/FastLED • • Jul 04 '22

Share_something My Eyess 👀 (rolling gradient), code in comment.

88 Upvotes

r/FastLED • • Dec 22 '20

Announcements FastLED 3.4 Release is out!

88 Upvotes

Greetings esteemed users,

We are pleased to announce the release of FastLED version 3.4, which includes support for a number of new boards, as well as many small improvements and bug fixes. The release is live on GitHub and should get picked up by the Arduino library manager system soon.

Many thanks to everyone in the FastLED community -- the users who create and share their amazing projects, the members of the Reddit group who answer questions, troubleshoot, and give us feedback, and especially to the contributors whose changes, however big or small, help make FastLED better.

Here is a brief overview of what's new:

  • Merged in contributed support for Adafruit boards: QT Py SAMD21, Circuit Playground Express, Circuit Playground Bluefruit, and ItsyBitsy nRF52840 Express

  • Improved reliability on ESP32 when wifi is active

  • Merged in contributed support for SparkFun Artemis boards

  • Merged in contributed support for Arduino Nano Every / Arduino Uno Wifi Rev. 2

  • Merged in contributed support for Seeedstudio Odyssey and XIAO boards

  • Merged in contributed support for AVR chips ATmega1284, ATmega4809, and LGT8F328

  • XYMatrix example now supports 90-degree rotated orientation

You can find out more here: https://github.com/FastLED/FastLED

Happy blinking!


r/FastLED • • Nov 13 '25

Discussion Lampade controllate in DMX con ESPNOW

87 Upvotes

r/FastLED • • May 24 '25

Support How do I fix this "flash"?

87 Upvotes

Hello,

The issue I'm having with this is that, on reset, the program will flash the previous color palette in the queue before showing the correct one. This program is supposed to save your previously selected palette and show it upon restart.

In the video I cycle through all of the color selections using the push button on the breadboard. Then I cycle through the selections while restarting to show this issue of the flash.

The flash is always of the color in queue before the saved selection. The order is Regular, Green, Blue, and Purple. So for example if I have Blue selected, then on restart I'll have a flash of Green. Or, if the saved selection is Green then I'll have a flash of Regular.

The resolution I'm looking for is for there to be no flash present when restarting.

The code I'm using is attached below. It is modified from the FireCylinder sketch.

#include <EEPROM.h>
#include "FastLED.h"
#include "fl/ui.h"
#include "fl/xymap.h"
#include "fx/time.h"

using namespace fl;

#define HEIGHT 9
#define WIDTH 9
#define SERPENTINE true
#define LED_PIN 3
#define BRIGHTNESS_POT_PIN A0   // Potentiometer for brightness
#define SPEED_POT_PIN A1        // Potentiometer for flame flicker speed
#define BUTTON_PIN 7            // Push button for cycling palettes
#define EEPROM_ADDR 0           // EEPROM memory address

CRGB leds[HEIGHT * WIDTH];

TimeScale timeScale(0, 1.0f);
UISlider scaleXY("Scale", 10, 1, 100, 1);
UISlider speedY("SpeedY", 1.5, 1, 6, 0.1);
UISlider scaleX("ScaleX", 0.3, 0.1, 3, 0.01);
UISlider invSpeedZ("Inverse SpeedZ", 30, 1, 100, 1);

// Color Palettes
DEFINE_GRADIENT_PALETTE(firepal){
    0,   0,   0,   0,
    32,  255, 0,   0,
    190, 255, 255, 0,
    255, 255, 255, 255 
};

DEFINE_GRADIENT_PALETTE(electricGreenFirePal){
    0,   0,   0,   0,
    32,  0,   70,  0,
    190, 57,  255, 20,
    255, 255, 255, 255 
};

DEFINE_GRADIENT_PALETTE(electricBlueFirePal){
    0,   0,   0,   0,
    32,  0,   0,   70,
    128, 20,  57,  255,
    255, 255, 255, 255 
};

DEFINE_GRADIENT_PALETTE(purpleFirePal){
    0,   0,   0,   0,   // black
    32,  50,  0,   90,  // dark violet
    190, 128,  0,  192, // deep purple
    255, 180,  0,  255  // vibrant purple glow
};

XYMap xyMap(HEIGHT, WIDTH, SERPENTINE);

int paletteIndex = 0;
bool buttonState = false;
bool lastButtonState = HIGH;  // With INPUT_PULLUP, idle state is HIGH
unsigned long lastDebounceTime = 0;
const unsigned long debounceDelay = 50;

// Returns the currently selected palette based on the global paletteIndex.
CRGBPalette16 getPalette() {
    switch (paletteIndex) {
        case 0: return firepal;
        case 1: return electricGreenFirePal;
        case 2: return electricBlueFirePal;
        case 3: return purpleFirePal;
        default: return firepal;
    }
}

// Computes a lookup index for each pixel based on noise and position.
uint8_t getPaletteIndex(uint32_t millis32,
                        int width, int max_width,
                        int height, int max_height,
                        uint32_t y_speed) {
    uint16_t scale = scaleXY.as<uint16_t>();
    float xf = (float)width / (float)max_width;
    uint8_t x = (uint8_t)(xf * 255);
    uint32_t cosx = cos8(x);
    uint32_t sinx = sin8(x);
    float trig_scale = scale * scaleX.value();
    cosx *= trig_scale;
    sinx *= trig_scale;
    uint32_t y = height * scale + y_speed;
    // z is calculated but not used further in this context.
    uint16_t z = millis32 / invSpeedZ.as<uint16_t>();

    uint16_t noise16 = inoise16(cosx << 8, sinx << 8, y << 8, 0);
    uint8_t noise_val = noise16 >> 8;
    int8_t subtraction_factor = abs8(height - (max_height - 1)) * 255 / (max_height - 1);
    return qsub8(noise_val, subtraction_factor);
}

void setup() {
    Serial.begin(115200);
    pinMode(BUTTON_PIN, INPUT_PULLUP);

    // Retrieve the stored paletteIndex from EEPROM BEFORE initializing FastLED.
    paletteIndex = EEPROM.read(EEPROM_ADDR);
    if (paletteIndex > 3) {
        paletteIndex = 0;
    }

    // Initialize FastLED with the LED strip mapping.
    FastLED.addLeds<NEOPIXEL, LED_PIN>(leds, HEIGHT * WIDTH).setScreenMap(xyMap);
    FastLED.setCorrection(TypicalLEDStrip);

    // Clear any residual data.
    FastLED.clear();
    FastLED.show();

    // Immediately render the stored palette.
    CRGBPalette16 myPal = getPalette();
    int brightness = 255;  // Full brightness at startup.
    for (int w = 0; w < WIDTH; w++) {
        for (int h = 0; h < HEIGHT; h++) {
            uint8_t idx = getPaletteIndex(millis(), w, WIDTH, h, HEIGHT, 0);
            leds[xyMap((WIDTH - 1) - w, (HEIGHT - 1) - h)] = ColorFromPalette(myPal, idx, brightness);
        }
    }
    FastLED.show();
}

void loop() {
    // Read push-button state with debounce.
    bool reading = digitalRead(BUTTON_PIN);
    if (reading != lastButtonState) {
        lastDebounceTime = millis();
    }
    if ((millis() - lastDebounceTime) > debounceDelay) {
        if (reading == LOW && !buttonState) {
            buttonState = true;
            // Save the current palette value to EEPROM, then cycle to the next palette.
            EEPROM.write(EEPROM_ADDR, paletteIndex);
            paletteIndex = (paletteIndex + 1) % 4;
        }
    }
    if (reading == HIGH) {
        buttonState = false;
    }
    lastButtonState = reading;

    // Update brightness from the potentiometer.
    int potValue = analogRead(BRIGHTNESS_POT_PIN);
    int brightness = map(potValue, 0, 1023, 75, 255);
    FastLED.setBrightness(brightness);

    // Update flame flicker speed from the potentiometer.
    int speedPotValue = analogRead(SPEED_POT_PIN);
    float dynamicSpeedY = map(speedPotValue, 0, 1023, 10, 60) / 10.0;
    timeScale.setScale(dynamicSpeedY);

    // Render the flame effect using the current palette.
    CRGBPalette16 myPal = getPalette();
    uint32_t now = millis();
    uint32_t y_speed = timeScale.update(now);
    for (int w = 0; w < WIDTH; w++) {
        for (int h = 0; h < HEIGHT; h++) {
            uint8_t idx = getPaletteIndex(now, w, WIDTH, h, HEIGHT, y_speed);
            CRGB c = ColorFromPalette(myPal, idx, brightness);
            int index = xyMap((WIDTH - 1) - w, (HEIGHT - 1) - h);
            leds[index] = c;
        }
    }
    FastLED.show();
}

r/FastLED • • Jan 30 '21

Share_something Sol v2: 420mm (16.5") wide, 1,600+ RGB LEDs wall-mounted behind translucent black acrylic. Mapped in XY & polar coordinates, driven by an ESP8266 using the FastLED library.

Thumbnail
youtube.com
87 Upvotes

r/FastLED • • Aug 03 '20 Mindblown

Share_something Psychedelic Mushroom Lamp!

87 Upvotes

r/FastLED • • Apr 19 '26

Share_something ~13 bit simplex noise pattern on the RGKeeb via TemporalBFI

86 Upvotes