FastLED 3.9.15
Loading...
Searching...
No Matches

◆ PerlinParticlePunch()

fl::PerlinParticlePunch::PerlinParticlePunch ( u16 num_leds)

Definition at line 67 of file perlin_particle_punch.cpp.hpp.

67 : Fx1d(num_leds) {
68 mAmbientParticles.resize(50);
69 mMeteorParticles.resize(5);
70 mDebrisParticles.resize(50);
71 mTrailBuffer.resize(num_leds);
72 // Default blue-white palette
73 CRGBPalette16 defaultPalette(CRGB(0, 0, 40), CRGB(0, 40, 120),
74 CRGB(100, 160, 255),
75 CRGB(255, 255, 255));
76 mNoisePalette = defaultPalette;
77 mAmbientPalette = defaultPalette;
78}
Fx1d(u16 numLeds)
Definition fx1d.h:12
fl::vector< DebrisParticle > mDebrisParticles
fl::vector< MeteorParticle > mMeteorParticles
fl::vector< AmbientParticle > mAmbientParticles
fl::CRGB CRGB
Definition video.h:15

References fl::Fx1d::Fx1d(), mAmbientPalette, mAmbientParticles, mDebrisParticles, mMeteorParticles, mNoisePalette, and mTrailBuffer.

Referenced by fxName().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: