https://github.com/MrJacquers/GarminBlendWatchFace
Garmin watchface example that shows color interpolation.
https://github.com/MrJacquers/GarminBlendWatchFace
Last synced: 3 months ago
JSON representation
Garmin watchface example that shows color interpolation.
- Host: GitHub
- URL: https://github.com/MrJacquers/GarminBlendWatchFace
- Owner: MrJacquers
- License: mit
- Created: 2024-03-20T13:17:07.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-25T18:03:30.000Z (about 1 year ago)
- Last Synced: 2024-10-14T19:15:44.142Z (7 months ago)
- Language: Monkey C
- Size: 95.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-garmin - GarminBlendWatchFace
- awesome-garmin - GarminBlendWatchFace
README
# GarminBlendWatchFace
Garmin watchface example that shows color interpolation. It uses linear RGB interpolation, but with the ability to specify a middle color to imitate HSL style colorspace.
Supporting HSV / HSL directly would not be optimal for performance because of the calculations required to convert between colorspaces.
Hopefully someone will find this code useful and come up with some interesting uses, e.g. changing the color of a battery icon based on charge %, progress bars, etc.



This site is useful to see how different colorspaces interpolate and finding a middle color: https://colordesigner.io/gradient-generator

