FastLED 3.9.15
Loading...
Searching...
No Matches
2d Directory Reference
+ Directory dependency graph for 2d:

Files

 animartrix.hpp
 
 animartrix_detail.hpp
 
 blend.cpp
 
 blend.h
 
 luminova.cpp
 
 luminova.h
 
 noisepalette.cpp
 
 noisepalette.h
 Demonstrates how to mix noise generation with color palettes on a 2D LED matrix.
 
 redsquare.h
 
 scale_up.cpp
 
 scale_up.h
 Expands a grid using bilinear interpolation and scaling up.
 
 wave.cpp
 
 wave.h
 

Detailed Description

This folder contains two-dimensional (matrix/panel) effects that derive from fl::Fx2d. 2D effects require an XYMap that translates a logical (x, y) coordinate into a linear LED index in your CRGB* matrix. For examples, most matrices are laid out in serpentine, back and forth layout. XYMap allows you to pretend an effect is a plain rectangular grid, then transform it to a matrix layout, (commonly serpentine back and forth.)

If you’re new: construct the effect with your XYMap and call draw(...) each frame. The effect fills your LED buffer according to its internal animation.

What’s here

Common usage

Parameters to try

Licensing note (Animartrix)

Animartrix is free for non‑commercial use and requires a paid license otherwise. See the top-level src/fx/readme and animartrix_detail.hpp header comments.

Key types referenced

These effects are designed for more capable MCUs, but many run well on modern 8‑bit boards at modest sizes. Start with RedSquare to validate mapping, then try NoisePalette and WaveFx for richer motion.

Examples