PolarClock Dashboard Widget

widget.jpg

A lot of people had been asking for this as a widget. So i've put together this version for the OS X Dashboard. The options are limited to language selection only.

Download:
[zip] PolarClock OSX Widget 356Kb

I had no idea how widgets were built until this morning, and to my pleasant surprise, they are basically Safari (WebKit) running on a transparent background. A good place to start is on the apple site.

The PolarClock widget is basically a blend on HTML, JavaScript and Flash, embedded using SWFObject. The one major issue was that I couldn't get Flash movies to display in my widget. All you have to do is add an extra flag in the info.plist file named "AllowInternetPlugins" and set it to true.

XML:
  1. <key>AllowInternetPlugins</key>
  2. <true />

29 Comments so far

  1. Si / July 19th, 2007 9:20 pm

    GET A JOB

  2. LR6 / July 21st, 2007 4:12 pm

    And for Vistas gadgets? ^^

  3. pixelbreaker / July 22nd, 2007 11:11 pm

    please?

    Well, I wont be making "gadgets" anyway.

  4. hornung / July 24th, 2007 12:18 pm

    Polar Clock:

    in German, it should be "Uhr" instead of "Stunden"

    best regards,
    ch

  5. Sam Gwilym / July 31st, 2007 5:42 pm

    Hey man, really nice clock and widget but I have a request that seems that it might be doable - is there any chance of getting a transparent background version of this clock?

  6. gabriel / July 31st, 2007 9:11 pm

    I tried that, but there are issues with WebKit (safari, which widgets are rendered through), it doesn’t support transparent SWFs, so I was forced to do a solid background, or nothing at all. If this issue is fixed in the WebKit that ships with Leopard later this year, I will change it for that.

  7. Si / August 2nd, 2007 9:24 pm

    Safari 3 / new WebKit supports transparent backgrounds - have seen it with my own eyes, but not tried it on a widget. Have you tried it with the Safari 3 beta version?

  8. aliab / August 2nd, 2007 11:28 pm

    I really love your polar clock. Thank you for great design and functionality.

  9. gabriel / August 2nd, 2007 11:56 pm

    si, i have safari 3, but I think OS X uses a v2 webkit for widgets, until leopard is released that is...

  10. PolarClock / August 6th, 2007 6:43 am

    [...] Qui per il Download Aggiungi a del.icio.us 1 Views ZN utilizza WordPress Revolution v4.1 basato su iTheme di N.Design Studio grafica Simone Dalle Carbonare [...]

  11. Widget PolarClock / August 6th, 2007 5:18 pm

    [...] trovate il link per poterlo scaricare [link] Autore: [...]

  12. maria / August 15th, 2007 2:27 pm

    i love this clock, but there is one thing that bothers me.. wouldn't it be even more gorgeous if, when the circle is completed, the "tail" went clockwise (instead of bouncing backwards) so that the front could continue it's beutiful flow?

    do I make sense? :)

  13. kadabra / August 21st, 2007 6:15 am

    Have you tried a circle shaped background instead of the square? I think it would look nicer if the borders were thinner or the background were just as large as the outer circle

  14. ahoge / August 21st, 2007 11:05 pm

    Realy like the widget, like how lines catch up to the current time when showing dashboard.
    Thanks gabriel!

  15. dnny / August 25th, 2007 11:21 pm

    really nice widget, in the Finnish translation there is a translation mistake, instead of "työtunti" whitch means working hour, it should say "tuntia" whitch is hours.

    thanks, but anyway i don't mind it's actually nice when the hours are dispalyed as working hours :)

  16. overview / September 15th, 2007 8:37 pm

    Gorgeous.

    I love this. Love it.

  17. Stephen Bird / September 19th, 2007 4:52 pm

    I just swapped the display language from English to Finnish and I would like to confirm what dnny said last month - I was bemused to see 19:00 is still työtunti!
    When you update the text, perhaps you can use "1 tunti", "2-23 tuntia", "0 tuntia".
    Thanks for this smart screensaver.

  18. Paul Hasselgren / September 22nd, 2007 9:23 am

    Interestingly enough, I had the same idea, but applied to the LST instead. Since you already have done most of the work already on the polar clock, I wonder if you would consider making a slightly tweaked version that would show the Lunar Standard Time. Regardless, thanks for a great clock!

  19. stu taylor / October 15th, 2007 10:17 am

    Any chance of a vista version as this look very cool :)

  20. birder / October 23rd, 2007 6:44 am

    thx,这个屏保我很喜欢,收在我的博客里了,谢谢

    http://www.zfnn.com/post/56.html

  21. Jean-Christophe / October 26th, 2007 6:26 pm

    Thanx for such a cool thing! It is just beautiful.
    I installed it as screensaver on vista. But I would be so happy to have it as a gadget, do you think it will come like this one day?

  22. Austen / October 29th, 2007 10:07 am

    hey guys, just so you know there is a conflict with the screen saver and leopard. when returning from screen saver most command functions (f keys, mouse commands, and command keys) DO NOT WORK.

    very odd problem but would love an update if you can figure this out.

    thanks fellas.

  23. chels / November 4th, 2007 7:53 pm

    Hope a Vista version of this awesome widget ;)

  24. Benson / November 9th, 2007 5:50 pm

    to cross comment from another post. if you having problems with command functions dying after the screen saver running and you have a dual monitor setup, set the screen saver to "main screen" only and it'll fix the problem.

    a quick fix before an update comes out.

  25. mac_fun / January 8th, 2008 12:03 am

    My 3-year-old daughter got glued to my iMac...

  26. FaCuX / April 26th, 2008 4:12 am

    how can i do to use this as a Vista wallpaper.

    Do a Dreamscene with this!!

  27. chels / May 7th, 2008 9:47 am

    A vista widget would be cool ;)

  28. gabriel / May 7th, 2008 4:44 pm

    nothing about vista is cool.

  29. Raúl / May 10th, 2008 5:37 pm

    thanks for this screen saver, excellent design, but can be added an image to the center of the clock? that would be fantastic, excuses by my English I am of Chile, South America.

    Raúl.

Leave a reply

*
To prove that you're not a bot, enter this code
Anti-Spam Image