Top 4.7% dependent repos on proxy.golang.org
Top 9.9% forks on proxy.golang.org
proxy.golang.org : github.com/maruel/temperature
package temperature implements an algorithm to calculate the channel intensity for a color temperature in Kelvin. Color Temperature is the color due to black body radiation at a given temperature. The temperature is given in Kelvin. The concept is widely used in photography and in tools such as f.lux. The function here converts a given color temperature into a near equivalent in the RGB colorspace. The function is based on a curve fit on standard sparse set of Kelvin to RGB mappings with a whitepoint (255, 255, 255) at 6500K. NOTE The approximations used are suitable for photo-manipulation and other non-critical uses. They are not suitable for medical or other high accuracy use cases. Accuracy is best between 1000K and 30000K.
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/maruel/temperature
License: MIT
Latest release: over 5 years ago
First release: over 5 years ago
Namespace: github.com/maruel
Dependent repositories: 1
Stars: 18 on GitHub
Forks: 3 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 21 days ago