Timer widget using HTML canvas API.