Constructor and Description |
---|
Spectrum() |
Modifier and Type | Method and Description |
---|---|
private static int |
adjust(float color,
float factor,
float gamma) |
static int |
wavelengthToRGB(float wavelength)
Convert a wavelength to an RGB value.
|
public Spectrum()
private static int adjust(float color, float factor, float gamma)
public static int wavelengthToRGB(float wavelength)
wavelength
- wavelength in nanometresWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses