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

◆ WaveSimulation1D_Real()

fl::WaveSimulation1D_Real::WaveSimulation1D_Real ( uint32_t length,
float speed = 0.16f,
int dampening = 6 )

Definition at line 47 of file wave_simulation_real.cpp.

49 : length(len),
50 grid1(length + 2), // Initialize vector with correct size
51 grid2(length + 2), // Initialize vector with correct size
52 whichGrid(0),
54 // Additional initialization can be added here if needed.
55}
UISlider dampening("Dampening", 6.0f, 0.0f, 10.0f, 0.1f)
int16_t float_to_fixed(float f)

References dampening, fl::wave_detail::float_to_fixed(), grid1, grid2, length, mCourantSq, mDampenening, and whichGrid.

+ Here is the call graph for this function: