ProtoFlux:WavelengthColor: Difference between revisions

From Resonite Wiki
Created a page for the Wavelength Color node.
 
Line 47: Line 47:
== See Also ==
== See Also ==
* Wikipedia's definition on [https://en.wikipedia.org/wiki/Visible_spectrum Visible Spectrum] and [https://en.wikipedia.org/wiki/Wavelength Wavelengths].
* Wikipedia's definition on [https://en.wikipedia.org/wiki/Visible_spectrum Visible Spectrum] and [https://en.wikipedia.org/wiki/Wavelength Wavelengths].
* The [https://www.baeldung.com/cs/rgb-color-light-frequency#bd-2-cie-color-matching CIE color-matching algorithm] used to perform this conversion


[[Category:ProtoFlux:Colors]]
[[Category:ProtoFlux:Colors]]

Revision as of 09:31, 15 August 2025

Wavelength Color
Wavelength
*
Colors

The Wavelength Color node takes in a float number value (in nanometers) and converts that to a visible light spectrum color.

The table here shows the wavelength values that correspond to the output color:

Color Wavelength
Violet 380–450 nm (688–789 THz frequency)
Blue 450–495 nm.
Green 495–570 nm.
Yellow 570–590 nm.
Orange 590–620 nm.
Red 620–750 nm (400–484 THz frequency).

Inputs

Wavelength (float)

The wavelength value in nanometers.

Outputs

* (Color)

The color value of the wavelength.

See Also