A clock made in Flutter for smart clocks, with a cute snake that follows you all day long.

Related tags

Templates SnakeClock
Overview

Snake Clock

Snake Clock Screenshot

This is an original and fun clock face where a snake lives its day along yours.

It’s my first ever Flutter app! I built it for the Flutter Clock challenge.

How does it work?

The snake’s head represent the current time. Each hour is a line, and minutes are the head’s horizontal position. Use the left or right indicators to know the hour and the top or bottom indicator the minutes (they are updated according to the snake’s direction, because it goes right on even hours and left on odd hours). It’s actually quite precise, with some training you can read the hour down to a minute or two (it’s not the head’s end but the head’s center that indicates the exact minute).

The tongue goes in and out each second, and the eyes blink every ten seconds.

The snake’s color changes with the current season: blue for winter, green for spring, yellow for summer and orange for fall.

The snake eats an apple at 9:30, 13:30 and 19:30, each of a different color because he doesn’t like routine.

How to run it?

  1. Clone the repo.
  2. Go into the snake_clock folder.
  3. Run flutter run.
  4. Enjoy!

What could be improved

  • Right and bottom indications could be removed so that the snake takes up more space, but it would become uncentered.
  • Maybe instead of showing all hour indicators, show the current one (still aligned with the snake).
  • Snake’s color could be a gradient showing the today’s outside temperature: it would be blue at ~0°C (or min day temp) and red at ~30°C (or max day temp) with a linear gradient inbetween. This would be painted on each segment (about 1 per minute) of the snake to get a view of the day’s temperature. In the end, the snake would start blue and go red as the sun rise then blue again when it’s night time.
  • The snake could turn around in a circular arc instead of right angles, and have a more linear travel when changing hour, though it would be more precise to read time. Otherwise, make a smooth transition from hour to hour (not sure on how to do that in a clean way using a canvas…)
  • The snake could be decorated with little teardrops when it rains, clouds when it’s cloudy, snowflakes when it snows, stripes when there are thunderstorms…
  • Maybe show an AM/PM indicator? Not sure if that’s useful, we never use 12h mode in our country (comparing the two, I don’t really see the point of 12h mode…).
  • Make tongue go up and down instead of in and out?
  • Code could probably be refactored to make it a lot cleaner, for example I don’t know where to make the snake positions calculations (which are right now duplicated in SnakePainter and IndicationsPainter, ugly…).
  • Maybe the apples could be hand drawn in Flutter instead of printing an image, it would be easier to change the color and maybe more efficient too?
You might also like...

Dots Clock is a digital clock written in Flutter, Dart

Dots Clock is a digital clock written in Flutter, Dart

Dots Clock Dots Clock is a digital clock written in Flutter, Dart. It was developed for the Flutter Clock challenge. Table of Contents Clock Variation

Oct 16, 2022

Google's & Lenovo awarded Steampunk clock (Flutter Clock contest) 🏆

Google's & Lenovo awarded Steampunk clock (Flutter Clock contest) 🏆

🌐 english český русский Steampunk Clock for Flutter Clock contest 🕰️ This project is one of the winning submissions in Google's & Lenovo dev/design

Dec 26, 2022

Conic Clock for Flutter Clock challenge

Conic Clock for Flutter Clock challenge

Conic Clock Conic Clock is a dynamic clock written in Flutter. It is a project by me (ZHENG HAOTIAN / Justin Fincher) for the Flutter Clock challenge.

Dec 30, 2022

Binary clock - Flutter binary clock with Dark mode support

Binary clock - Flutter binary clock with Dark mode support

Binary Clock This is a binary clock created using Flutter containing both Light and Dark modes Getting Started This project is a starting point for a

Dec 31, 2019

Clock loader - Highly versatile Widget display the smooth and creative loader named as clock loader

Clock loader - Highly versatile Widget display the smooth and creative loader named as clock loader

Clock Loader Highly versatile Widget display the smooth and creative loader name

Dec 30, 2022

This is a repository for Flutter Focused Menu, an easy to implement package for adding Focused Long Press Menu to Flutter Applications

This is a repository for Flutter Focused Menu, an easy to implement package for adding Focused Long Press Menu to Flutter Applications

Focused Menu This is an easy to implement package for adding Focused Long Press Menu to Flutter Applications Current Features Add Focused Menu to Any

Dec 26, 2022

Flutter-context-menus - A flutter package to show context menus on right-click or long-press

context_menus A package to show context menus on right-click or long-press. 🔨 I

Jan 18, 2022

Flutter Image add drag sort, Image add drag sort, support click event, delete, add, long press drag sort.

Flutter Image add drag sort, Image add drag sort, support click event, delete, add, long press drag sort.

flutter_image_add_drag_sort Flutter Image add drag sort, Image add drag sort, support click event, delete, add, long press drag sort, support video fi

Jun 23, 2020

An Analog and Digital World Clock UI for all Timezones(387 Timezones)

An Analog and Digital World Clock UI for all Timezones(387 Timezones)

WorldClock An Analog and a Digital World Clock with 387 timezones Dependencies intl - https://pub.dev/packages/intl data connection checker - https://

Oct 5, 2022
Owner
GilDev
French embedded systems engineer. I love electronics and computing, especially those little blinking LEDs!
GilDev
Gradi clock - Gradi Clock face for Flutter Clock challenge

Gradi Clock Clock face made for Flutter Clock challenge. About There is an abundant body of research that suggests that people are sensory creatures w

Janko Djuric 4 Sep 29, 2021
Smart home UI - A Flutter UI for Smart Home App

smart_home_app UI for Smart Home App Images

Aymen Ziouche 11 Dec 22, 2022
Cowin smart print - A GUI based CoWIN Certificate to Smart Card Converter

CoWIN Smart Print A GUI based CoWIN Certificate to Smart Card Converter. Feature

Shreyam Maity 2 Mar 9, 2022
This project follows the Reso Coder course for flutter test-driven-development with clean architecture and BloC state management for a random trivia simple app.

This project follows the Reso Coder course for flutter test-driven-development with clean architecture and BloC state management for a random trivia simple app.

Tomas B Sarmiento Abella 1 Jan 5, 2022
Menaclub app for admin using nodejs as backend,RestAPI,provider as statemangement and follows MVVM architecture

menzclub_admin A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started i

Pranav Pv 8 Nov 7, 2022
Google's Flutter Clock Challenge Novelty 🚀 of Idea Award 🏆 winner (https://flutter.dev/clock)

Sunset Reflections Clock My submission to the Flutter Clock Challenge, winner of the Novelty of Idea award: a cold cathode display clock (aka nixie cl

Víctor Morilla 52 Dec 26, 2022
Flutter-Clock - Flutter Clock Contest Submission

Flutter-Clock Build a beautiful clock face UI with Flutter for the Lenovo Smart Clock for a chance to win an iMac Pro, Lenovo Smart Display, or Lenovo

Piyush Sinha 1 Oct 5, 2020
Scaffolding code for the clock in the Flutter Clock contest

Flutter Clock Helper This package provides scaffolding code for the clock in the Flutter Clock contest. Contestants: Do not edit this code. Model Prov

Abdullah waheed 0 Nov 17, 2021
Clock for the Flutter clock challenge

Agent clock A visualization of a clock using simple agents and physics. Description The digits of the clock are basically letters or svg paths. These

null 12 Jun 29, 2022
A clock created for the Flutter Clock challenge which achieved an honourable mention.

Circle Clock A clock created for the Flutter Clock challenge. Shaded circles representing hour, minute and second hands move across the screen, while

Max 11 Apr 18, 2022