Binary clock - Free javascript!

Dec 14, 2007 at 2:44 pm - 0 Comments

What is a binary clock?

A binary clock uses LEDs or other on/off displays to represent the time.

Binary Clock

Click Here To View Javascript Binary Clock

How do you read it?

Each column represents one digit of the time. From left to right, the first two columns are HH (hours), the middle two columns are MM (minutes), and the last two columns are SS (seconds). Each LED of the column has its own value; either 1, 2, 4, or 8. The top being 1. Most binary clocks have 1 start at the bottom, but I wanted to be different :) You determine that column's value by adding together the values of the lit LEDs in the row. So lets say 1 and 4 are on, that digit would be 5. If 1 and 8 were lit, the digit would be 9. In the image above, the time displayed is 14:54:24, or 5:54pm.

Javascript binary clock

Here is the Javascript Binary Clock script that I wrote. The script utilizes the jQuery Javascript Library. I am releasing the code with no restrictions. You may take it and use it as you like! If you put it on your site, perhaps you could at least link back to me somewhere on your site :)

Do you want a desktop version with real LEDs?

A stylish desktop binary clock would be a great gift for family/friends or yourself!

binary clock for your desk

This topic has the following tags:

  • Digg
  • Reddit
  • Sphinn
  • del.icio.us
  • Slashdot
  • StumbleUpon
  • Technorati
  • Facebook
  • Mixx
  • Google
  • Live
  • TwitThis
  • YahooMyWeb
  • blinkbits
  • BlinkList
  • blogmarks
  • BlogMemes
  • Blogosphere News
  • Blue Dot
  • Bumpzee
  • Fark
  • Furl
  • IndianPad
  • LinkedIn
  • Ma.gnolia
  • MisterWong
  • Netvouz
  • Propeller
  • description
  • Socialogs
  • SphereIt
  • Blogsvine
  • connotea
  • eKudos
  • IndiaGram
  • LinkaGoGo
  • LinkArena
  • Linkter
  • Meneame
  • NewsVine
  • PlugIM
  • ThisNext

Related Topics

Last 5 Linkbacks

Post Comment

You are replying to cancel reply

Your email address will not be visible to the public

Avatars by Gravatar. Join Gravatar for free to have your avatar shown everywhere you post.

page counter

Loading Ad