WaveLength 1.3

501.00 KB

Publisher Description

Wavelength creates Color objects given the wavelength or
the frequency of the light rather than the usual RGB or HSB.

instead of:
Color c = new Color(255, 0, 0);
use the frequency in nanometers, and gamma 0.0. .. 1.0.
(gamma is intensity/brightness.)
Color c = Wavelength.wvColor( 400.0f, 0.80f );
The visible range of the spectrum is 380..780 nanometers.
Smaller is bluer.

or using frequency in Terahertz and gamma 0.0. .. 1.0.
Color c = Wavelength.fColor( 500.0f, 1.0f );
The visible range of the spectrum is 384..789 TeraHertz.
Smaller is redder.

Wavelength does not do much on its own. It is intended to be
incorporated into your own programs.

You might use it to draw a realistic rainbow, or to write
educational Applets about the light spectrum.

Program Details


Publisher Canadian Mind Products
Released Date 2007-11-27
Languages English


Category Web Development
Subcategory Java & JavaScript

System requirements

Operating systems linux, mac, other, unix, windows

Download information

File size 501.00 KB
Total downloads 276


License model Free
Price N/A

Version History

» version 1.3   -   posted on 2007-11-27
slight correction to speed of light

Add a review

Tell us your experience with WaveLength 1.3

Our Recommendations


WaveLength 1.3 Screenshot

Click stars to rate this APP!

Users Rating:  
  3.9/5     8
Editor Rating:  
Downloads last week: 1
Release Date: 2007-11-27
Publisher: Canadian Mind Products
Operating System: linux, mac, other, unix, windows