reanimate-0.4.2.0: Animation library based on SVGs.

CopyrightWritten by David Himmelstrup
LicenseUnlicense
Maintainerlemmih@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Reanimate.ColorSpace

Description

 
Synopsis

Documentation

type Nanometer = Integer Source #

Wavelengths in nanometers.

coneSensitivity :: Map Nanometer (Double, Double, Double) Source #

Cone sensitivity by light wavelength.

bigXYZCoordinates :: Map Nanometer (Double, Double, Double) Source #

(big) XYZ values for each wavelength of light.

lightXYZCoordinates :: Map Nanometer (Double, Double, Double) Source #

(small) xyz values for each wavelength of light.

nmToColor :: Nanometer -> Maybe (Colour Double) Source #

Helper function for converting a wavelength of light into the perceived color.