MCPcopy Create free account
hub / github.com/FastLED/FastLED / setXCylindrical

Method setXCylindrical

src/fl/fx/2d/wave.h:194–194  ·  view source on GitHub ↗

@brief Enable/disable cylindrical topology on x-axis @param on If true, waves wrap around from right edge to left edge When enabled, creates a seamless horizontal loop effect. Useful for LED strips arranged in a cylinder or torus.

Source from the content-addressed store, hash-verified

192 /// When enabled, creates a seamless horizontal loop effect.
193 /// Useful for LED strips arranged in a cylinder or torus.
194 void setXCylindrical(bool on) { mWaveSim.setXCylindrical(on); }
195
196 /// @brief Set wave propagation speed
197 /// @param speed Speed value (0.0 to 1.0, typical range: 0.1-0.3)

Callers 3

wavefx_loopFunction · 0.45
drawWaveFunction · 0.45
loopFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected