<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Daniel D. Johnson (Posts about clock)</title><link>https://www.danieldjohnson.com/</link><description></description><atom:link href="https://www.danieldjohnson.com/categories/clock.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2025 &lt;a href="mailto:daniel.dw.johnson@gmail.com"&gt;Daniel D. Johnson&lt;/a&gt; </copyright><lastBuildDate>Mon, 01 Sep 2025 09:09:05 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Spiral Clock for Pebble</title><link>https://www.danieldjohnson.com/2016/08/12/spiral-clock-for-pebble/</link><dc:creator>Daniel D. Johnson</dc:creator><description>&lt;p&gt;I had some free time recently, and felt like making a new watchface for my Pebble Time. The basic idea is that the outer spiral makes one revolution every hour, but the previous path of the spiral remains. Over time, the whole watchface fills up with the growing spiral.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://www.danieldjohnson.com/media/uploads/2016/08/spiral-clock.png" alt="Spiral Clock" width="144" data-imported-height="168" class="aligncenter"&gt;&lt;/p&gt;
&lt;p&gt;As with my previous watchface, the code is available on &lt;a href="https://github.com/danieldjohnson/spiral-watchface"&gt;GitHub&lt;/a&gt;. You can also download it from the &lt;a href="https://apps.getpebble.com/en_US/application/57ae8921bb85ed9aa5000310"&gt;Pebble App Store&lt;/a&gt; if you have a Pebble (it should work on the original Pebble, the Pebble Time, and the Pebble Time Round).&lt;/p&gt;</description><category>art</category><category>clock</category><category>Pebble</category><category>time</category><guid>https://www.danieldjohnson.com/2016/08/12/spiral-clock-for-pebble/</guid><pubDate>Fri, 12 Aug 2016 00:00:00 GMT</pubDate></item><item><title>Squared 3.0 for Pebble Time</title><link>https://www.danieldjohnson.com/2015/06/13/squared-3-0-for-pebble-time/</link><dc:creator>Daniel D. Johnson</dc:creator><description>&lt;p&gt;For a few years, I've had a Pebble, and I recently upgraded to a Pebble Time. So far I really like it: its more comfortable, it looks cooler, and it has a color display! However, my favorite watchface for Pebble (&lt;a href="http://forums.getpebble.com/discussion/5017/animated-watchface-squared"&gt;Squared&lt;/a&gt; by lastfuture) was only black-and-white, and it seemed like a waste to use a non-color watchface on my color Pebble. So, naturally, since the watchface was open-source and Pebble has great development tools, I was able to make a color version!&lt;/p&gt;
&lt;p&gt;I present, Squared 3.0:
&lt;a href="https://www.danieldjohnson.com/media/uploads/2015/06/Screenshot.png"&gt;&lt;img src="https://www.danieldjohnson.com/media/uploads/2015/06/Screenshot.png" alt="Screenshot" width="144" data-imported-height="168" class="aligncenter size-full wp-image-280"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The code is available on &lt;a href="https://github.com/danieldjohnson/Squared_3.0"&gt;GitHub&lt;/a&gt;, and you can download it from the &lt;a href="http://apps.getpebble.com/en_US/application/557c9df3db598ba3db000084"&gt;Pebble App Store&lt;/a&gt; if you have a Pebble Time yourself. Enjoy!&lt;/p&gt;</description><category>art</category><category>clock</category><category>Pebble</category><category>time</category><category>Uncategorized</category><guid>https://www.danieldjohnson.com/2015/06/13/squared-3-0-for-pebble-time/</guid><pubDate>Sat, 13 Jun 2015 14:52:28 GMT</pubDate></item><item><title>Shift Clock</title><link>https://www.danieldjohnson.com/2014/08/18/shift-clock/</link><dc:creator>Daniel D. Johnson</dc:creator><description>&lt;div&gt;&lt;p&gt;I'm really happy with how this experiment turned out. It's a clock that spells out the time with squares, and then shifts those squares into their new positions whenever the time changes. It draws the time text into a hidden tiny &lt;code&gt;canvas&lt;/code&gt; element at each minute, then uses &lt;code&gt;getImageData&lt;/code&gt; to extract the individual pixels. Any pixel that has been drawn with an alpha &amp;gt; 0.5 is set as a destination for the next squares animation. The animations themselves are performed using &lt;a href="http://d3js.org/"&gt;d3.js&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The picture above is of the &lt;a href="https://www.danieldjohnson.com/experiments/shiftclock/white.html"&gt;black-on-white version&lt;/a&gt;. There is also a &lt;a href="https://www.danieldjohnson.com/experiments/shiftclock/black.html"&gt;grey-on-black version&lt;/a&gt;, if you prefer that color scheme. &lt;/p&gt;&lt;p&gt;&lt;a href="https://www.danieldjohnson.com/2014/08/18/shift-clock/"&gt;Read more…&lt;/a&gt; (6 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>algorithm</category><category>art</category><category>canvas</category><category>clock</category><category>Experiments</category><category>javascript</category><category>text</category><category>time</category><guid>https://www.danieldjohnson.com/2014/08/18/shift-clock/</guid><pubDate>Mon, 18 Aug 2014 23:19:06 GMT</pubDate></item><item><title>QR Clock</title><link>https://www.danieldjohnson.com/2014/06/30/qr-clock/</link><dc:creator>Daniel D. Johnson</dc:creator><description>&lt;p&gt;A ridiculously useless but rather cool looking clock. Every second, it creates a QR code that encodes the time and date, and then animates each pixel of the QR code to its new state. It attempts to move the dark pixels between locations, sliding from one location to another, but if a given pixel cannot be animated using motion, it simply fades away. You'll need a QR reader to actually use this.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Edit: A smaller, non-animated version of this is now available &lt;a href="https://www.danieldjohnson.com/experiments/qrclock/simplified.html"&gt;here&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;</description><category>clock</category><category>css</category><category>Experiments</category><category>javascript</category><category>QR code</category><category>time</category><guid>https://www.danieldjohnson.com/2014/06/30/qr-clock/</guid><pubDate>Mon, 30 Jun 2014 04:32:29 GMT</pubDate></item><item><title>Stacked Clock</title><link>https://www.danieldjohnson.com/2014/06/30/stacked-clock/</link><dc:creator>Daniel D. Johnson</dc:creator><description>&lt;div&gt;&lt;p&gt;This is one of my favorite experiments. I had the original idea during a vacation to Hawaii. Basically, I wanted to make a clock where the hands were connected end-to-tip instead of all being connected to the center of the clock, making a sort of time arm (second hand starting where minute hand ended, etc). I made a version of that using Rainmeter on my desktop for a while.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.danieldjohnson.com/2014/06/30/stacked-clock/"&gt;Read more…&lt;/a&gt; (1 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>art</category><category>canvas</category><category>clock</category><category>Experiments</category><category>javascript</category><category>time</category><guid>https://www.danieldjohnson.com/2014/06/30/stacked-clock/</guid><pubDate>Mon, 30 Jun 2014 04:20:46 GMT</pubDate></item></channel></rss>