Analog Watches
The Analog Watches demo presents seven different analog watch faces. It is a browser build of an Embedded Wizard project, created with the JavaScript/WebGL Platform Package.
What the Analog Watches Demo Shows
- Seven watch faces, each with its own dial and hands
- Hands with their own shadows on several faces
- A timelapse mode that speeds up time
- Switching between the watch faces
How the Analog Watches Demo Is Built
Each watch face is built from background bitmaps and separate bitmaps for the hands. The Warp Image view rotates each hand around the center of the dial, so a single image covers every position on the dial. The shadows are separate bitmaps that rotate together with their hands, which adds depth without any 3D rendering. A timer drives the movement, and a slide touch handler reacts to swipe gestures.
GUI Development for Smartwatches and Clock Displays
A watch face is often the screen users see most, so it defines how a product is perceived. Smartwatches and fitness trackers typically offer several faces to choose from, and appliances, thermostats, and dashboards frequently include a clock. On small battery-powered devices, the challenge is to animate the hands smoothly while keeping memory and processor load low. Reusing bitmaps through rotation, as in this demo, is one way to achieve that.
Bryton built the GUI for its GPS Rider 750 cycling computer with Embedded Wizard and highlighted the low memory usage combined with high frame rates, as the Bryton case study reports. For more clock ideas, see the vector-based Bezier Clock, the spinning watches in Lightweight 2.5D, or the Fitness Tracker demo. Our consumer electronics page shows how brands use Embedded Wizard in their products.
Design Your Watch GUI
Get to know Embedded Wizard Studio and the Platform Package for your wearable hardware, or get started right away with the free version.