Damian Schneider
bef1ac2668
Added HSV2RGB and RGB2HSV functions for higher accuracy conversions
...
- also added a struct to handle HSV with 16bit hue better (including some conversions, can be extended easily)
- the functions are optimized for speed and flash use. They are faster and more accurate than what fastled offers (and use much less flash).
- replaced colorHStoRGB() with a call to the new hsv2rgb() function, saving even more flash (new function is untested!)
- the 16bit hue calculations result in an almost perfect conversion from RGB to HSV and back, the maximum error was 1/255 in the cases I tested.
2024-09-26 18:06:41 +02:00
..
2024-09-17 19:47:24 +02:00
2024-09-10 15:20:34 +02:00
2024-07-11 21:22:58 +02:00
2024-09-14 09:27:37 +02:00
2024-09-14 09:27:37 +02:00
2024-08-24 11:35:32 +02:00
2024-09-10 15:20:34 +02:00
2024-09-23 18:03:17 +02:00
2024-09-26 18:06:41 +02:00
2024-09-14 22:30:56 +02:00
2024-07-11 21:22:58 +02:00
2024-09-10 15:20:34 +02:00
2024-09-26 18:06:41 +02:00
2024-07-09 21:50:27 +02:00
2024-09-23 18:03:17 +02:00
2024-09-23 18:03:17 +02:00
2024-09-15 11:04:02 +02:00
2024-09-23 18:03:17 +02:00
2023-01-06 09:24:29 +01:00
2024-09-10 16:07:37 +02:00
2023-01-06 09:24:29 +01:00
2024-09-26 18:06:41 +02:00
2024-09-10 15:20:34 +02:00
2024-07-11 21:22:58 +02:00
2023-09-09 20:48:17 +02:00
2024-09-10 15:20:34 +02:00
2023-05-31 17:35:43 +02:00
2023-02-08 10:18:41 +01:00
2023-02-04 23:59:28 +01:00
2024-06-18 16:07:46 -07:00
2024-07-11 21:22:58 +02:00
2024-09-10 15:20:34 +02:00
2024-07-11 21:22:58 +02:00
2023-05-02 21:52:39 +01:00
2024-09-17 16:21:52 +02:00
2024-09-17 16:21:52 +02:00
2024-05-02 14:36:18 -07:00
2024-09-10 15:20:34 +02:00
2024-09-10 15:20:34 +02:00
2024-09-18 08:10:45 +02:00
2024-09-10 18:02:29 +00:00
2024-08-15 17:58:19 +01:00
2023-01-06 09:24:29 +01:00
2023-01-06 09:24:29 +01:00
2024-08-18 13:20:45 +02:00
2024-09-15 11:04:02 +02:00
2024-02-25 17:08:01 +01:00
2022-03-20 22:12:18 +01:00
2024-08-14 11:16:46 +02:00
2023-09-09 20:48:17 +02:00
2024-09-17 16:21:52 +02:00
2024-09-17 16:26:11 +02:00
2024-09-17 16:21:52 +02:00
2024-09-17 16:34:38 +02:00
2024-09-10 15:20:34 +02:00
2024-09-17 16:21:52 +02:00