Magnetic Field Clock, created in flash with ActionScript 3

Continuing with clocks in ActionScript I created this slightly less abstract clock, loosely inspired by magnetic fields. I’m happy with the way it turned out. I plan to create a screen saver from this as well. If you’re interested it should be available soon. Leave a comment if you have any thoughts or criticisms.

I had a few little battles trying to get everything functioning. Some functions in Actionscript 3 use radians, namely the trigonometry functions, while other more basic functions use degrees. Having to switch frequently between the two tripped me up a few times. Another issue, not directly related to ActionScript, was dealing with the different number sets. Each dial object has an array of text objects. Some begin with zero, so they line up with the array indexes, while others start with one and throw everything off.

Get Adobe Flash playerYou are not able to view this interactive flash applet. You might need to install or update your flash player. If you are getting this message in an RSS reader you might have to go to the page to view it.


9 comments

  • Pingback: Some Random Dude

  • Pingback: NoMoreSleep™ » Detail » Magnetic Field Clock

  • Me
    04.08.09

    I like it!


  • Josh Hepworth
    04.11.09

    Glad to see this game together. I liiiiiike it. But maybe for the seconds it should be all gray, rotate, then turn red. Only because visually, that’s kind of what’s happening with the milliseconds.


  • dim
    04.12.09

    very creative !


  • Lokesh
    05.04.09

    I love this! One idea, allow users to enter a custom date+time and have it transition/spin to that date+time. Why this would be nice is that you could get a chance to see the other time unit circles spin w/o having to stare at this for a day waiting for the hour or day to change. Just an idea, I do think this representation is genius.


  • Og2t
    06.11.09

    Excellent idea Anthony! It reminded me of the one made by Simon Heys, he’s actually sharing the source code to make a Mac screensaver (http://www.simonheys.com/2008/09/23/open-source-flash-screensaver/) – might be helpful for you – I’d definitely download this clock as a screensaver.


  • me
    10.26.09

    Beautiful


  • alx
    11.03.09

    Beautiful!