-
Notifications
You must be signed in to change notification settings - Fork 19
Light Spectrums
Light Spectrum are mainly handled by the ALightSpectrum
class in the Litipk.ColorSharp.LightSpectrums
namespace. All light spectrum are represented by subclasses of the former.
The ALightSpectrum
class derives from AConvertibleColor
, because this, every light spectrum can be converted to any of the supported color spaces.
Currently there are three interesting classes that you can use to represent light info.
Used to handle light spectrum represented in form of evenly-spaced data points. Currently (but this should be improved) linear interpolation is used to show the spectrum intensity for a wavelength without assigned data point.
Used to handle light spectrum represented in form of arbitrary placed data points. Currently (but this should be improved) linear interpolation is used to show the spectrum intensity for a wavelength without assigned data point.
You can obtain the theoretical and ideal black body spectrum given a temperature (measured in Kelvin degrees).