|
FastLED 3.9.15
|
| HSV16 fl::noiseCylinderHSV16 | ( | float | angle, |
| float | height, | ||
| u32 | time, | ||
| float | radius = 1.0f ) |
Cylinder noise functions - sample three z-slices for independent component evolution.
Generate HSV16 noise for a cylinder pattern.
Samples three z-slices of 3D Perlin noise (at time, time+0x10000, time+0x20000) to create independent hue, saturation, and value components. 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 166 of file noise.cpp.hpp.
References cosf(), height, inoise16(), rescaleNoiseValue16(), sinf(), time(), x, and y.
Referenced by noiseCylinderHSV8().
Here is the call graph for this function:
Here is the caller graph for this function: