poring
08-19-2003, 09:10 PM
Duno if this will be "useful" and of benefit to others, but here: http://users.pandora.be/fourtyseven/clock2.htm :)
(view source for code)
(view source for code)
|
||||
Binary clockporing 08-19-2003, 09:10 PM Duno if this will be "useful" and of benefit to others, but here: http://users.pandora.be/fourtyseven/clock2.htm :) (view source for code) brothercake 08-19-2003, 09:17 PM That's wicked .. if you don't mind I might make a "tiny subliminal" version of that - something that takes up maybe 50px by 50px with no labels - just dots that pulse and it does people's head in trying to work what it is .... :) Nicely done :thumbsup: allida77 08-19-2003, 09:24 PM Thats really cool and creative poring. wickford 08-19-2003, 09:33 PM One of the best eye candy yet. Great work! :D MotherNatrsSon 08-19-2003, 09:39 PM Originally posted by brothercake That's wicked .. if you don't mind I might make a "tiny subliminal" version of that - something that takes up maybe 50px by 50px with no labels - just dots that pulse and it does people's head in trying to work what it is .... :) Nicely done :thumbsup: It looks cool but how does one actually tell time with it? LOL I need some instructions. MNS Spookster 08-19-2003, 10:31 PM Originally posted by MotherNatrsSon It looks cool but how does one actually tell time with it? LOL I need some instructions. MNS You mean you don't think in binary like the rest of us? Right now it reads 17:27 Each square from left to right computes to be: Hours: 16-8-4-2-1 Minutes: 32-16-8-4-2-1 Seconds: 32-16-8-4-2-1 Tenth of Seconds 8-4-2-1 Adding up each black dot for a single row gives you the number of time units for that row. MotherNatrsSon 08-19-2003, 10:36 PM Originally posted by Spookster You mean you don't think in binary like the rest of us? Right now it reads 15:27 Each square from left to right computes to be: Hours: 16-8-4-2-1 Minutes: 32-16-8-4-2-1 Seconds: 32-16-8-4-2-1 Tenth of Seconds 8-4-2-1 Adding up each black dot for a single row gives you the number of time units for that row. Not yet. LOL I am still a "newbie"...:) I guess it is the military time that really threw me off. I wonder how many people other than coders can actually read it without the instructions? MNS Spookster 08-19-2003, 10:50 PM So basically the black dots are equivalent to 1's and the white dots are equivalent to 0's. So for example the number 51 in binary would be: 2^5 2^4 2^3 2^2 2^1 2^0 ---> 2's raised to a power 32 16 8 4 2 1 ----------------------- 1 1 0 0 1 1 MotherNatrsSon 08-19-2003, 11:22 PM Have to add a <tr> and some <td>'s on the top of the table with the values for each column and change the background color a little. Now it makes sense. Thanks! MNS rrrrrappi 08-21-2003, 12:28 AM Very neat. Excellent job. :thumbsup: Skyzyx 08-24-2003, 04:46 PM HAHAHAHAHAHAHAHAHA!!!! This is one of the coolest things I've ever seen! Haha! I think I'm gonna show it to some of my friends so that I can get that "What the hell is wrong with you" look... shlagish 09-13-2003, 09:20 PM That's pretty great I like it Although I couldn't find a reason to have it on a website. What made you think of doing this? beetle 09-18-2003, 05:52 PM Nice work. Very creative. :thumbsup: :thumbsup: Len Whistler 10-15-2003, 08:17 PM Instead of a clock that gets its time from the computer or server I would like it to get the EXACT time from the Atomic Clock, where ever that may be located. Does anyone know if this is possible. Leonard Whistler www.stubby.ca liorean 10-15-2003, 08:25 PM You could probably have the server pull the time from an Atomic clock, tapping into a Atomic Clock driven time server. Don't make it pull the time too often, however (update the server clock once an hour or so, and base the time from the server clock), and make sure you correct for the timezone of the user (we're in a global world, you know). shlagish 10-15-2003, 09:49 PM global world, lol. Kind of redundant don't you think;) But for atomic clock thing... Is there a way to know where the user is ? (and therefore what time zone he is in) liorean 10-15-2003, 10:20 PM Well, most users have their computers localised, haven't they? You can use the JavaScript Date object for detection, or the a bit less reliable location detection through IP. Global world redundant? I don't think so. World is not equal to the planet Earth. And even if you interpret it that way, there's nothing saying that I don't mean the disc-formed world the Church believed in, back in the middle age. No, I would generally take the word "world" to mean our existence in general, and the concept that is sometimes in Sci-Fi/Fantasy context mentioned as "our dimension". shlagish 10-15-2003, 10:24 PM How can the date find the location?? liorean 10-15-2003, 10:28 PM <http://devedge.netscape.com/library/manuals/2000/javascript/1.5/reference/date.html#1193844> shlagish 10-15-2003, 10:31 PM wow, didn't know about that... liorean 10-15-2003, 10:54 PM Note that it's the amount of minutes you have to add to the local time zone to get UTC and not the other way around, so you have to remove the timezone offset from a UTC time instead of add it to get the local time. (ie I'm in GMT+1h, and currently we have daylight savings time, so it's effectively GMT+2h. This function returns -120 (min) however, not +120...) JAVAEOC 10-25-2003, 07:18 PM i like the script but the clock doesnt work in the seconds it coundt strait form 4 to 6 but other then a few binarey flaws nice work :thumbsup: Spookster 10-25-2003, 08:14 PM Originally posted by JAVAEOC i like the script but the clock doesnt work in the seconds it coundt strait form 4 to 6 but other then a few binarey flaws nice work :thumbsup: I think you are mistaken. I just looked at it and it went from 4 seconds to 5 seconds and then to 6 seconds. |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum