Binary Clock

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
thoughtjourney
Posts: 61
Joined: Thu 05 May 2005, 01:30
Location: Sutton, NSW

Binary Clock

#1 Post by thoughtjourney »

I really love binary clocks, but have not found one in a format that I liked. Instead, I wrote my own: dotted_clock

Image

The image above shows dotted_clock version 0.1 in action. The clock displays local time in binary format, as follows:

hour : minutes

To read the clock, you should understand how the binary number system works. Basically, the binary system is a positional notation with a radix of two. This means that the positional values of '1' bits are added to give the decimal equivalent. The dotclock is a true binary clock, in contrast to a binary-coded decimal clock. So, the positional values are:

128 64 32 16 8 4 2 1

Look at the screenshot of dotclock above. The time is:

hour: 16+4+1 = 21
mins: 32 = 32


ie: 21:32 or 9:32pm.

Code is based on binary_clock version 0.5, by
Magnus Palsson (magnus@ordkunskap.se)

Merry Christmas!
Attachments
dotted_clock.pup
(8.54 KiB) Downloaded 612 times
in the beginning was the Logos

http://thoughtjourney.aus.cc

User avatar
1ColdBeer
Posts: 36
Joined: Sun 02 Oct 2005, 14:39

Re: Binary Clock

#2 Post by 1ColdBeer »

Hi,
thoughtjourney wrote:I really love binary clocks
I like binary clocks too. I'll give your's a try.
CHMOD reads the same way, so if ya can read one ya can read the other.
(some may find this useful)
Image

Merry Xmas from Amherst, NY USA
Visit my [url=http://waltonpond.com]Backyard[/url] cam. Try [url=http://mepis.org]Mepis Linux[/url] today! See my avitar's[url=http://pupview.com]NEW PUPPIES HERE[/url]

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#3 Post by Lobster »

I like Beat time
http://www.timeanddate.com/time/internettime.html
I never know what time it is here, let alone anywhere else and Beat time is a way of standardising a time for a net meeting across timezones - but a time zone clock would be a neat project - must be a few out there too . . .

:)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
1ColdBeer
Posts: 36
Joined: Sun 02 Oct 2005, 14:39

#4 Post by 1ColdBeer »

Hi,
Lobster wrote:- but a time zone clock would be a neat project - must be a few out there too . . .
:)
That's a great idea........... Maybe a time zone/sunclock... Those are easy for an old guy like me to understand... :-)

I would make a .pup of just that if I had a clue how.. :(

Maybe someone will make one..

Dave
Visit my [url=http://waltonpond.com]Backyard[/url] cam. Try [url=http://mepis.org]Mepis Linux[/url] today! See my avitar's[url=http://pupview.com]NEW PUPPIES HERE[/url]

Post Reply