Maintainer | ch.howard@zoho.com |
---|---|
Safe Haskell | None |
- type Interpretation = Float -> ByteString
- minMax :: (Num a, Ord a, Foldable t) => t a -> (a, a)
- lightnessInt :: Float -> (Float, Float) -> Interpretation
- toImage :: UArray (Int, Int) Float -> Interpretation -> Picture
Documentation
type Interpretation = Float -> ByteStringSource
A type of function converting a floating point data value into a color's ByteString
minMax :: (Num a, Ord a, Foldable t) => t a -> (a, a)Source
Determines the minimum and maximum values in a data structure
:: Float | Hue in degrees, between 0 and 360 |
-> (Float, Float) | the lowest and highest data values, needed for the lightness calculation |
-> Interpretation |
Color interpretation of data as a variation of on the lightness of a single hue