UINumberField palette("Palette", 0, 0, 2)
Fx1d(u16 numLeds) FL_NO_EXCEPT
static void writeMax(CRGB &dst, const CRGB &src) FL_NO_EXCEPT
void setDebrisVelocityDecay(float decay) FL_NO_EXCEPT
Per-frame velocity decay for debris particles. Default 0.95.
MeteorParticle * tryAllocateMeteor() FL_NO_EXCEPT
void setDrag(float drag) FL_NO_EXCEPT
Set per-frame drag for ambient particles (0.0 = instant stop, 1.0 = no drag).
DebrisParticle * tryAllocateDebris() FL_NO_EXCEPT
fl::vector< DebrisParticle > mDebrisParticles
fl::vector< MeteorParticle > mMeteorParticles
void renderDebris(const DebrisParticle &d) FL_NO_EXCEPT
void renderAmbient(const AmbientParticle &p) FL_NO_EXCEPT
void renderMeteor(const MeteorParticle &m) FL_NO_EXCEPT
void setMeteorGradient(CRGB headColor, CRGB midColor, CRGB tailColor) FL_NO_EXCEPT
Set the meteor color gradient: head → mid → tail.
void setAmbientTrailIntensity(u8 intensity) FL_NO_EXCEPT
Ambient trail intensity: 0 = no trail, 255 = long persistent trail.
PerlinParticlePunch(u16 num_leds) FL_NO_EXCEPT
float mDebrisBrightnessDecay
void setNoisePalette(const CRGBPalette16 &palette) FL_NO_EXCEPT
Set palette for Perlin noise background.
void setSpeed(float speed) FL_NO_EXCEPT
Set velocity multiplier. Default 1.0.
void draw(DrawContext context) FL_NO_EXCEPT override
void spawnMeteor(float intensity=1.0f) FL_NO_EXCEPT
Spawn a BEAT meteor at position 0, traveling toward end of strip.
AmbientParticle * tryAllocateAmbient() FL_NO_EXCEPT
void setTimeMultiplier(float mult) FL_NO_EXCEPT
Set time multiplier for noise evolution (1.0 = normal, >1 = warp).
void spawnDebrisFromMeteor(MeteorParticle &m, u32 now) FL_NO_EXCEPT
fl::string fxName() const FL_NO_EXCEPT override
CRGBPalette16 mAmbientPalette
void spawnAmbient(float intensity=0.5f) FL_NO_EXCEPT
Spawn an ambient particle at a random position.
void setMeteorTrailIntensity(u8 intensity) FL_NO_EXCEPT
Meteor trail intensity: controls how long meteor/debris trails linger.
float mDebrisVelocityDecay
CRGBPalette16 mNoisePalette
fl::vector< CRGB > mTrailBuffer
float mAmbientBrightnessDecay
void setDebrisBrightnessDecay(float decay) FL_NO_EXCEPT
Per-frame brightness decay for debris particles. Default 0.90.
s16x16 circleNoiseGen(u32 now, s16x16 theta) const FL_NO_EXCEPT
void setAmbientBrightnessDecay(float decay) FL_NO_EXCEPT
Per-frame brightness decay for ambient particles.
void setAmbientPalette(const CRGBPalette16 &palette) FL_NO_EXCEPT
Set palette for ambient particles.
void setMinVelocity(float minVel) FL_NO_EXCEPT
Minimum velocity before a particle dies.
u8 mAmbientTrailIntensity
void noiseCircleDraw(u32 now, fl::span< CRGB > dst) FL_NO_EXCEPT
static s16x16 mapf(s16x16 x, s16x16 in_min, s16x16 in_max, s16x16 out_min, s16x16 out_max) FL_NO_EXCEPT
fl::vector< AmbientParticle > mAmbientParticles
~PerlinParticlePunch() FL_NO_EXCEPT
Utility functions for color fill, palettes, blending, and more.
u8 u8 fract8 blur_amount FL_NO_EXCEPT
Base definition for an LED controller.
#define FASTLED_SHARED_PTR(type)
Representation of an 8-bit RGB pixel (Red, Green, Blue)