FastLED 3.9.15
Loading...
Searching...
No Matches
noise.h File Reference

Detailed Description

Functions to generate noise patterns on rings and spheres.

Definition in file noise.h.

#include "fl/gfx/hsv.h"
#include "fl/gfx/hsv16.h"
#include "chsv.h"
#include "crgb.h"
+ Include dependency graph for noise.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  fl
 Base definition for an LED controller.
 

Functions

CRGB fl::noiseCylinderCRGB (float angle, float height, u32 time, float radius=1.0f)
 Generate CRGB noise for a cylinder pattern.
 
HSV16 fl::noiseCylinderHSV16 (float angle, float height, u32 time, float radius)
 Cylinder noise functions - sample three z-slices for independent component evolution.
 
CHSV fl::noiseCylinderHSV8 (float angle, float height, u32 time, float radius=1.0f)
 Generate HSV8 (8-bit) noise for a cylinder pattern.
 
CRGB fl::noiseRingCRGB (float angle, u32 time, float radius=1.0f)
 Generate CRGB noise for a ring pattern.
 
HSV16 fl::noiseRingHSV16 (float angle, u32 time, float radius)
 Ring noise functions - sample three z-slices for independent component evolution.
 
CHSV fl::noiseRingHSV8 (float angle, u32 time, float radius=1.0f)
 Generate HSV8 (8-bit) noise for a ring pattern.
 
CRGB fl::noiseSphereCRGB (float angle, float phi, u32 time, float radius=1.0f)
 Generate CRGB noise for a sphere pattern.
 
HSV16 fl::noiseSphereHSV16 (float angle, float phi, u32 time, float radius)
 Sphere noise functions - sample three z-slices for independent component evolution.
 
CHSV fl::noiseSphereHSV8 (float angle, float phi, u32 time, float radius=1.0f)
 Generate HSV8 (8-bit) noise for a sphere pattern.
 

Variables

constexpr u16 fl::NOISE16_EXTENT_MAX = 59500
 
constexpr u16 fl::NOISE16_EXTENT_MIN = 9000
 Observed min/max extents for inoise16() output.