JuliaAttic / Color.jl

Basic color manipulation utilities.
Other
47 stars 21 forks source link

New function for CIE Daylight spectra for arbitrary CCTs between 4000 and 25000 K #25

Closed m-lohmann closed 10 years ago

m-lohmann commented 10 years ago

I have finished working on a function that generates arbitrary daylight spectra according to CIE standard. You can generate spectra for any D Illuminant with CCTs (correlated color temperature) from 4000 K to 25000 K.

Here is a plot of the CIE daylight spectra generated by standard_illum.jl demonstrating the spectra for the CCTs 4000 (D40), 5000 (D50), 6500 (D65), 10000 (D100) and 24999 K (~D250).

cie_daylight_spectrum_generator_demo

StefanKarpinski commented 10 years ago

It's unclear – to me at least – what you want to be done here. What is the issue to be addressed?

m-lohmann commented 10 years ago

@StefanKarpinski - I didn’t get enough sleep due to the DST change last night. I’ll pay more attention next time. There is no issue. Sorry for the inconvenience.

glennsweeney commented 10 years ago

Perhaps if you have this code as part of a forked version of the Color module, you could provide it as a pull request so that the community could benefit!

dcjones commented 10 years ago

I just merged @glenn-sweeney's refactor. You may have to pull those changes before making a PR.