You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.
Andreu Correa Casablanca edited this page Mar 11, 2015
·
2 revisions
Light Spectrum are mainly handled by the Litipk.ColorSharp.LightSpectrums.ALightSpectrum class. All light spectrum are represented by subclasses of the former.
Light Spectrum Classes
Currently there are three interesting classes that you can use to represent light info.
RegularLightSpectrum
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.
TabularLightSpectrum
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.
BlackBodySpectrum
You can obtain the theoretical and ideal black body spectrum given a temperature (measured in Kelvin degrees).