|
FastLED 3.9.15
|
| CRGB fl::noiseCylinderCRGB | ( | float | angle, |
| float | height, | ||
| u32 | time, | ||
| float | radius = 1.0f ) |
Generate CRGB noise for a cylinder pattern.
Samples three z-slices of 3D Perlin noise to create independent red, green, and blue components (direct RGB, not HSV conversion). Maps the angle around the circumference using sin/cos, and samples height directly.
| angle | Position around the cylinder (radians, 0 to 2π) |
| height | Vertical position on the cylinder |
| time | Animation time parameter |
| radius | Noise zoom level (level of detail). Larger values = coarser pattern, smaller = more detail (default 1.0) |
Definition at line 208 of file noise.cpp.hpp.
References cosf(), height, inoise16(), rescaleNoiseValue16(), sinf(), time(), x, and y.
Here is the call graph for this function: