|
FastLED 3.9.15
|
| CRGB fl::noiseSphereCRGB | ( | float | angle, |
| float | phi, | ||
| u32 | time, | ||
| float | radius = 1.0f ) |
Generate CRGB noise for a sphere pattern.
Samples three z-slices of 3D Perlin noise to create independent red, green, and blue components (direct RGB, not HSV conversion).
| angle | Azimuth angle around the sphere (radians, 0 to 2π) |
| phi | Polar angle from the north pole (radians, 0 to π) |
| time | Animation time parameter |
| radius | Noise zoom level (level of detail). Larger values = coarser pattern, smaller = more detail (default 1.0) |
Definition at line 133 of file noise.cpp.hpp.
References cosf(), inoise16(), sinf(), time(), x, y, and z.
Here is the call graph for this function: