F.lux is a very good program, but you'll note that the 'research' section of their own page indicates that they didn't come up with the concept itself, and once you understand that blue light exposure distorts circadian rhythms, this particular implementation becomes rather obvious.