Fledex.Color.Functions (fledex v0.5.0)

View Source

Summary

Functions

create_gradient_rgb(num_leds, start_color, end_color)

create_rainbow_circular_hsv(num_leds, initial_hue \\ 0, reversed \\ false)

@spec create_rainbow_circular_hsv(pos_integer(), byte(), boolean()) :: [
  Fledex.Color.Types.hsv()
]

create_rainbow_circular_rgb(num_leds, initial_hue \\ 0, reversed \\ false)

@spec create_rainbow_circular_rgb(pos_integer(), byte(), boolean()) :: [
  Fledex.Color.Types.rgb()
]

hsv2rgb(leds, conversion_function \\ &Conversion.Rainbow.hsv2rgb/2, color_correction \\ &Correction.color_correction_none/1)