Closed rieck closed 1 month ago
Neat! If you're interesting in messing about with animations like this, you might also be interested in the morph I did in https://github.com/joeycastillo/Sensor-Watch/pull/102
Love this!
The current code is unstabled on the real watch. The reason is unclear. I will start from scratch.
This watch face is an extension of the simple watch face and contains exactly the same functions. However, depending on a configurable interval, the watch face displays short animations to amaze your viewers and demonstrate the capabilities of the sensor watch.
Currently, the animated watch face supports two animations that are displayed at an interval of 1, 5, 10, 15, 30 or 60 minutes. The animations are:
https://github.com/joeycastillo/Sensor-Watch/assets/81579/e9d8b8c2-33f4-40a6-953f-8b4632c77b45
https://github.com/joeycastillo/Sensor-Watch/assets/81579/016e00d3-55df-438e-bf53-d5e6e499dccc
A long press of the light button activates the settings of this clock face. Currently, you can only select the interval for the animations or disable them. I would have liked to use a different button here, but the others are already occupied by the simple clock.
I tried to construct the animated clock face in a generic way. The main structure contains a general-purpose buffer that can be used by different animations to store temporary data. For example, the buffer contains the scrolling text for the scroll clock and the segment configuration of the wyoscan clock.