The Binary Clock HTML5 Canvas demo has proved to be one of the most popular demos on this blog. I thought it would be interesting to visit it again in a Polymer project. It is a fairly simple rewrite as custom Polymer.dart element. I didn't see the need for databinding it. Some initialisation is carried out as required - I am still clearing up in my mind the lifecyle of a custom element. All a learning process!
The code is available on Github. It is part of a larger Polymer project, rather having a repo per demo. It was a little tricky to deploy to HTML/JS and there's important optimisation bugs which the Dart team are still working on. Once these are cleared up, there'll be a nice demo site with all the examples from the blog on it. Not too far in the future!!