ianmackenzie / elm-3d-scene

A high-level 3D rendering engine for Elm, with support for lighting, shadows, and realistic materials.
https://package.elm-lang.org/packages/ianmackenzie/elm-3d-scene/latest/
Mozilla Public License 2.0
207 stars 27 forks source link

Allow specifying lights by temperature #24

Closed ianmackenzie closed 5 years ago

ianmackenzie commented 5 years ago

See "Approximation" section of https://en.m.wikipedia.org/wiki/Planckian_locus

ianmackenzie commented 5 years ago

Implemented as Chromaticity.kelvins/Chromaticity.fromTemperature