The Grand Prize-winning entry of the #FlutterClock challenge.

Overview

Flutter Particle Clock

For my entry in the Flutter Clock Challenge I wanted to build something colorful, animated and playful that changes appearance with time. Ideally, I wanted it to look different every time I looked at it. I also wanted to explore the custom painting features of Flutter. 👨‍🎨

I ended up with an analog watch face featuring a simple particle system. It randomizes the color palettes while also maintaining legibility by calculating the luminance in real-time.

Building this was a bit of a struggle as I'm not very good with math, but the framework and the developer experience (hot reload, in particular) helped me out a lot. Being able to iterate quickly is a great way to learn new things. I guess the code could be improved in several ways, both in terms of elegance and performance. However, I've managed to easily stay far below the 16ms/frame benchmark (average 5ms/frame on my iPad while debugging). Flutter's rendering engine performs fantastically, even with my horrible math! 😅

Visit Ultimate Machine for a detailed write-up on how this was built.

Highlights

  • 🎨 Randomly selects color palettes while still maintaining legibility at all times.
  • 🌤 Supports both light mode and dark mode, by filtering background color by luminance.
  • 📱 Scales to fit the screen space available and adjust calculations & rendering accordingly.
  • 🚀 At least 60 FPS on modern devices.
  • 🌈 Constantly shifting and moving, making it fun to look at.

Preview


🎬 Watch it in action on Twitter 🎬

License

MIT License

Copyright (c) Mickel Andersson [email protected] (ultimatemachine.se & tayl.app)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

You might also like...

Humanbeans Flutter Clock Challenge Submission

Humanbeans Flutter Clock Challenge Submission

Eventually Humanbeans Flutter Clock Challenge Submission by Milen Trendafilov (design, concept) and Boris Brestnichki (development) Concept: Bird visi

Nov 24, 2022

Google's Flutter Clock Challenge Novelty 🚀 of Idea Award 🏆 winner (https://flutter.dev/clock)

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

Dec 26, 2022

Clock for the Flutter clock challenge

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

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

Apr 18, 2022

Iso Clock - Flutter Challenge

 Iso Clock - Flutter Challenge

Iso Clock - Flutter Challenge This is my take on a classic digital clock look with a modern 3D "flat" design and playful animations. I come from a web

Oct 22, 2022

Flutter Events App Ui Challenge Speed Code

Flutter Events App Ui Challenge Speed Code

Flutter Events app made with Flutter, Hosted on Codemagic. Don't forget to star ⭐ the repo it motivates me to share more open source Design Credits Uv

Dec 29, 2022

Flutter Ui Challenge Speed Code

Flutter Ui Challenge Speed Code

Live Demo : http://bit.ly/flutterecomapp Design Credits : https://gumroad.com/l/kamartaj Youtube Video : https://youtu.be/OQ-6Zo0vbAk Created & Mainta

Aug 15, 2022

Tonal : UI Coding Challenge For Flutter

Tonal : UI Coding Challenge For Flutter

Tonal - UI Coding Challenge Modern UI engineering is all about components. When we build components to be reusable, we enable faster iteration and hig

Mar 10, 2022

PayPal UI Redesign Project inspired by the winner of the Uplabs Challenge made in Flutter

PayPal UI Redesign Project inspired by the winner of the Uplabs Challenge made in Flutter

Paypal Redesign UI App (Challenge) This project is developed for iOS & Android, using Flutter and inspired from the winner Vadim Demenko of the Uplabs

Nov 26, 2022
Comments
  • Request for Web Demo

    Request for Web Demo

    Please add a live web demo using Flutter for web in the readme. It would be very nice to see this clock like this in realtime instead of just in video. BTW github hosting can be used.

    opened by Fayiz-A 2
creativecreatorormaybenot's entry to the Flutter Clock challenge.

clock creativecreatorormaybenot's playful entry to the Flutter clock challenge (is it weird to say it like that?). This is a clock display that uses e

null 280 Nov 12, 2022
This is my entry for the Flutter Clock Face Contest.

Star Clock This is my entry for the Flutter Clock Face Contest. Build instructions below. TLRD: Clone with --recurse-submodules Here's a small demo vi

Philipp Bauer 47 Oct 22, 2022
Challenge cannabis - Challenge for Slicing UI Cannabis from FLutter Fan Indonesia

challenge_cannabis Challenge buat Slicing UI Cannabis dari om Kipas Angin FLutte

wind city 3 May 11, 2022
Flutter UI challenge (with Box2D physic)- Smart washing machine app

Flutter UI Challenge- SMART Washing Machine About project The application was written based on this great UI concept: https://dribbble.com/shots/11018

Tomasz Pawlikowski 754 Dec 27, 2022
Challenge yourself every weekend with flutter. Join me to implement challenging UI & digital designs using Flutter.

Weekend With Flutter This is my new challenge. Every weekend, I want to implement challenging UI & digital designs using Flutter. you can join me with

Payam Zahedi 16 Feb 24, 2022
flutter development bootcamp layout challenge #2.1

MiCard App Challenge Hey folks! This app is the continuation of the layout_challenge_app. I coded this app from scratch because unfortunate things hap

Damla Çim 1 Jan 6, 2022
Challenge friends on fitness goals

Fitness Challenge Pursuing your fitness goals is fun together with friends. Challenge your friends for daily activities and see who's leading. You can

Gireesh Puthumana 25 Oct 8, 2022
This is my participation Repo for the 100 days of coding challenge

hundred_days_of_coding Day 1: Started creating Project and using advanced tools to make the development easier Day 2: Added DataClasses with the help

jxstxn__ 3 Nov 21, 2021
AppandUp recruitment challenge

appandup_challenge This repository contains the source code of an Android/iOS/Web application developed as a requirement for Flutter Developer Remote

ALgy Aly 4 Oct 19, 2021
My participation on the Flutter Clock Challenge of 2020 with Francisco Frutuoso design

Cloom Clock ?? "Visual Beauty Winner" of the 2020 Clock Challenge, announcement post ?? You can read our blog post describing the process here How to

Filipe Barroso 77 Dec 26, 2022