espp/color

0.21.0

uploaded 2 days ago
Color component for ESP-IDF

readme

# Color Component

The `color.hpp` header provides two classes for performing color management,
interpolation, and conversion - `espp::Rgb` and `espp::Hsv` which can be
converted between each other. The RGB color space provides support for additive
blending (which includes averaging, as opposed to light-model-based mixing) and
is therefore suited for producing gradients.

The classes provided are:
* `espp::Rgb`
* `espp::Hsv`

Please see `Computer Graphics and Geometric Modeling: Implementation and
Algorithms <https://isidore.co/calibre/browse/book/5588>`_, specifically section
8.6 for more information.

## Example

The [example](./example) shows how to use the various classes exposed in the
`color` component to manipulate and convert between color data.

Links

Supports all targets

Maintainer

  • William Emfinger <waemfinger@gmail.com>

License: MIT

To add this component to your project, run:

idf.py add-dependency "espp/color^0.21.0"

or download archive

Stats

  • Archive size
    Archive size ~ 9.64 KB
  • Downloaded in total
    Downloaded in total 0 times
  • Downloaded this version
    This version: 0 times

Badge

espp/color version: 0.21.0
|