Created
July 14, 2021 14:57
-
-
Save yaqwsx/4962c4a26ab45ccbc45963ed8f86a8be to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const int MAX_TEMPERATURE = 33; | |
std::array< Rgb, MAX_TEMPERATURE + 1 > temperatures{ | |
Rgb(0, 0, 0), | |
Rgb(10, 7, 10), | |
Rgb(31, 7, 7), | |
Rgb(47, 15, 7), | |
Rgb(71, 15, 7), | |
Rgb(87, 23, 7), | |
Rgb(103, 31, 7), | |
Rgb(119, 31, 7), | |
Rgb(143, 39, 7), | |
Rgb(159, 47, 7), | |
Rgb(175, 63, 7), | |
Rgb(191, 71, 7), | |
Rgb(199, 71, 7), | |
Rgb(223, 79, 7), | |
Rgb(223, 87, 7), | |
Rgb(223, 87, 7), | |
Rgb(215, 95, 7), | |
Rgb(215, 95, 7), | |
Rgb(215, 103, 15), | |
Rgb(207, 111, 15), | |
Rgb(207, 119, 15), | |
Rgb(207, 120, 15), | |
Rgb(207, 120, 23), | |
Rgb(199, 120, 23), | |
Rgb(199, 125, 23), | |
Rgb(199, 125, 31), | |
Rgb(191, 130, 31), | |
Rgb(191, 130, 31), | |
Rgb(191, 130, 39), | |
Rgb(191, 135, 47), | |
Rgb(183, 135, 47), | |
Rgb(183, 140, 47), | |
Rgb(183, 140, 55), | |
Rgb(255, 255, 255) | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment