I hereby claim:
- I am kristofir on github.
- I am chriswan (https://keybase.io/chriswan) on keybase.
- I have a public key ASBzv7OhH1GPNnKWtohfGsUPsnlgMuxk7F_q_FzwaZ71KAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// From http://www.tannerhelland.com/4435/convert-temperature-rgb-algorithm-code/ | |
// Start with a temperature, in Kelvin, somewhere between 1000 and 40000. (Other values may work, | |
// but I can't make any promises about the quality of the algorithm's estimates above 40000 K.) | |
function colorTemperatureToRGB(kelvin){ | |
var temp = kelvin / 100; |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |