|
FastLED 3.9.15
|
| void fill_2dnoise16 | ( | CRGB * | leds, |
| int | width, | ||
| int | height, | ||
| bool | serpentine, | ||
| uint8_t | octaves, | ||
| uint32_t | x, | ||
| int | xscale, | ||
| uint32_t | y, | ||
| int | yscale, | ||
| uint32_t | time, | ||
| uint8_t | hue_octaves, | ||
| uint16_t | hue_x, | ||
| int | hue_xscale, | ||
| uint16_t | hue_y, | ||
| uint16_t | hue_yscale, | ||
| uint16_t | hue_time, | ||
| bool | blend, | ||
| uint16_t | hue_shift = 0 ) |
Fill an LED matrix with random colors, using 16-bit noise.
| leds | pointer to LED array |
| width | the width of the LED matrix |
| height | the height of the LED matrix |
| serpentine | whether the matrix is laid out in a serpentine pattern (alternating left/right directions per row) |
| octaves | the number of octaves to use for value (brightness) noise |
| x | x-axis coordinate on noise map for value (brightness) noise |
| xscale | the scale (distance) between x points when filling in value (brightness) noise |
| y | y-axis coordinate on noise map for value (brightness) noise |
| yscale | the scale (distance) between y points when filling in value (brightness) noise |
| time | the time position for the value (brightness) noise field |
| hue_octaves | the number of octaves to use for color hue noise |
| hue_x | x-axis coordinate on noise map for color hue noise |
| hue_xscale | the scale (distance) between x points when filling in color hue noise |
| hue_y | y-axis coordinate on noise map for color hue noise. |
| hue_yscale | the scale (distance) between y points when filling in color hue noise |
| hue_time | the time position for the color hue noise field |
| blend | if true, will blend the newly generated LED values into the array. If false, will overwrite the array values directly. |
| hue_shift | how much to shift the final hues by for every LED |
Definition at line 919 of file noise.cpp.
References blend(), FASTLED_STACK_ARRAY, fill_raw_2dnoise16into8(), fill_raw_2dnoise8(), hue_octaves, hue_time, leds, fl::memfill(), octaves, pos, x, xscale, y, and yscale.
Referenced by loop().
Here is the call graph for this function:
Here is the caller graph for this function: