Bezier Clock

Loading GUI...

The Bezier Clock is a digital clock with a timer, settings, and switchable styles. As its name suggests, it builds on Bézier curves, which Embedded Wizard paths can combine with straight lines and arcs to describe smooth shapes. The interactive version on this page comes from the JavaScript/WebGL Platform Package.

What the Bezier Clock Demo Shows

  • A clock screen with large digits
  • A timer screen with a timer wheel
  • Date and time pickers and a settings screen
  • A style screen to change the look of the clock

How the Bezier Clock Is Built

The graphics are drawn with Embedded Wizard’s vector graphics, using filled and stroked paths. A path can consist of line segments, Bézier curves, and elliptical arcs, and several paths can be combined into complex shapes. The rotary knob reacts to circular finger movements through a rotate touch handler, and the date and time pickers scroll with a slide touch handler. Settings use standard widgets such as the push button and radio button, and screens change with slide animations.

Vector Graphics for Clocks, Timers, and Appliance Displays

Clocks and timers appear on many embedded devices, from ovens and thermostats to wearables and industrial controls. Vector graphics describe shapes as paths instead of pixels. The same shape can therefore be drawn at different sizes and animated without a separate bitmap for every size or state, which keeps the number of image resources low. Touch gestures such as turning a virtual knob also feel familiar to users who know physical controls from the same kind of device.

For more ideas, see the Analog Watches demo with seven watch faces, the spinning watches in Lightweight 2.5D, or the Smart Thermostat. Learn more about GUIs for consumer electronics built with Embedded Wizard.

Create Your Own Clock GUI

Find out more about Embedded Wizard Studio and the Platform Package for your microcontroller, or get started right away with the free version.

Need more inspiration?