The Magic Hat
The Magic Hat
The Magic Hat
Creator
designed by
Onyx
Description
Playing with maths again.
No gifs.
The outer ring is positioned via a 2 dimensional array setup at start up. Each red circle is an individual graphic but the entire ring can be repositioned in code through changing one value. The travelling dot which appears to flip on each second used a 2d array, on reflection was a waste of cycles so switched back to counters. One cycle squashes, fades out another expands, fades in.
The date text shrinking towards the current month is a simple calculation converting month to degrees.
Battery level pulse speed is the negation of current % and the colour change is a simple conditional list.
Finally the swing time is a simple ramping calculation by utilising cosine, radians, milliseconds and a multiplier constraint.
tap centre 12/24hr
tap date circle for colour change
Uploaded
12 Mar 2019
Tags
Features
Analog
24h Time
Battery Level
Date
Tap Actions
Animation
Gyroscope
More Watches by Author
Similar Watches
Watchface Reviews