新規登録

ウィジェット » Fuzzy Clock

Fuzzy Clock V1.3 2006/02/21 14:18:20

A clock which displays the current time in a fuzzy way.
Bugs Fixed


Thanks to Jonah,this widget now updates every minute instead of every second so CPU,take a nap.

Now with more multi language support and it follows the style guide.


コメント 26 通

ページのトップからログインしコメントする

1 - 26 中 20

I round time in the same way as rslite and implemeted essentially the same code change. Didn't read the comments first - doh! The only significant difference is that I return "minutes modulo 60" instead of "if 60 make it 0". I prefer my way 'cos I it looks tidier to my eyes :-) but I would guess my way is less efficient. Yes? No? How much does it matter in this case?

On the subject of when to update the display, I added this code near the other time initialisation bits at the top of fuzzyMe():
var sec=d.getSeconds();
var interval_secs=60-sec;
Also, to complete that hack, change the setTimeout line (also in fuzzyMe()) to:
setTimeout("fuzzyMe()",1000*interval_secs);

Yes I know that's a bit long-winded but I'm establishing some structure for some more ideas.
Just to spell out what it does: whatever time you start the clock, each update will be spot on the top of every minute.

I love fuzzy clocks and predictably this one appeals to me. As a little aside here: a coffee shop near work has a clock with just an hour hand. It has no numerals but instead has regions like "tea-break", "elevenses", "lunch" and so on. They ought to have one for closing time like "It's been great to have you

発言者 cheesemeister, # 2008/03/19 4:13:03

I really like the idea of this clock. I think it needs to be fuzzier. Example; 53 minutes before or after the hour of five o-cock. 17 minutes before the half hour of ten-thirty. Two hours and ten minutes before noon. It would force everyone to use his or her best computer. Their brain! Well . . . maybe in some cases not their BEST.

発言者 jim0214, # 2007/10/28 10:50:44

Your clock is very nice. I took the liberty of hacking it a little :smile: because I like to round the times. For example 2:48 and 2:52 mean "ten to three" for me. To accomplish this I changed the code in getMin function to this (it's also shorter):

rounded_min = 5 * Math.round(m/5);
if (rounded_min == 60)
rounded_min = 0;
return rounded_min;

Also you might consider reducing the sleep time from 59 sec to something less (I put a quarter of a minute), since otherwise you might catch the clock change almost a minute too late (say you start the fuzzy clock at 1:59:55 - the next check will be at 2:00:54, but it's been 2 o'clock for 54 sec). This is even more visible in the clock with the original version of getMin and was noticed by some of the previous users.

発言者 rslite, # 2007/05/16 14:06:23

cool... but it would be better if there were settings to maybe switch the color or something like that...

発言者 mnjopp, # 2007/01/15 17:11:43

Thats very nice , I liked the blue color a lot better though.
I have just changed the name of my/your widget to "DELETE ME (Slet den her og hent Shadowk's Fuzzy Clock)"
The part in danish say's "delete this and get Shadowk's Fuzzy Clock".

発言者 Thomas-T, # 2006/10/01 4:55:19

@Thomas-T i have updated the widget it now complies with the style guide and it also has your Translation in it :smile:

発言者 shadowk, # 2006/09/26 17:56:16

Ok, now i figured it, the fuzzy.js -file is just a text-file! I can cut and paste it...
But it's too late now.

発言者 Thomas-T, # 2006/09/18 16:00:37

I have just uploadet a Danish version of Fuzzy Clock, I call it Tekst-ur so that they don't get confused.
I did see your post about Translations but I don't know how to PM the file.

EDIT...

Now its later and got this mail, but it's really for you, i don't know how to fix it myself:

Hi,

Thanks for uploading a great widget!

I have one small request to make before I can push it to the new widgets page. Could you please add a close button to your widget.

As described on this page, http://my.opera.com/community/dev/widgets/styleguide/, it is very important for all widgets to be easy to use - and being able to close a widget when not needed is one of the visual requirements.

Your widget is currently located on your personal widgets page:
http://widgets.opera.com/author/Thomas-T
and it will always be available there.

It would be great if you could edit your widget and help us make widgets as popular and easy to use as possible!
Thanks for your support

Regards,
Gautam

ps. For free images and widget templates, view this page: http://my.opera.com/community/dev/widgets/resources/ - you will just need to copy+paste to give your widget some more style!

発言者 Thomas-T, # 2006/09/18 7:24:44

More sarcasm, I like the clock but it's just not vague enough...

発言者 acondon747, # 2006/08/31 19:29:45

nice thing.....

:-)

a little bit more transparent, and it´s perfect

発言者 themanupstairs, # 2006/08/26 22:06:22

The clock runs from accurate to 5 minutes slow (i.e. at 20-24 minutes past it displays 20 past): having it run from five minutes fast to accurate would be more useful (i.e. at 21-25 minutes past, have it show 25 past)

発言者 nickoli, # 2006/08/06 21:33:13

despite all the comments having the time improperly announced, mine works just fine. and yes, i'd love to see the clock more fuzzy. a lion skin would be fantabulous. hehe... :wink:)

発言者 hmoh005, # 2006/07/25 15:31:47

Yeah, it appears to be constantly a minute behind; didn't switch from "five to nine" to "nine" until 9:01pm, didn't switch from "nine" to "ten past nine" until 9:11pm, and didn't switch from "ten past nine" to "quarter past nine" until 9:16pm. (watching it again, it made the "twenty-five past nine" right on the mark.)

Love it nonetheless. =]


Don't suppose you could give it a skin that actually makes it look fuzzy as though it has fur or is carpeted? =D

発言者 Ejrech, # 2006/07/16 6:09:19

it's 2:45 right now, and the clock says "twenty to three...."

発言者 Michaeldee, # 2006/07/11 23:45:38

I PM-ed you with a link to German and North German translations, did you receive them? Please note that I updated them early this morning, and make sure to use the fuzzy.zip file that's 1,707 bytes long. The earlier versions were buggy.

発言者 ermel, # 2006/07/01 12:05:59

After posting this widget i saw that it did not get much attention so i decided not to translate it. But as i can see now, i was wrong so in this weekend i'll make it possible to use language packs. :smile: Also a new UI will be added an maybe even a new feature?how knows?

@Rijk, it is better if i make a multi-langual fuzzy clock, so that people don't have to search for the widget which is in their language :smile:

@Skrooks,good idea...but then..that needs translating too :wink:

@Everybody, please PM-me with the fuzzy.js that you have translated so come monday i can upload it. :smile:This is an invitation to everyone to translate the fuzzy.js file and send it to me :smile:

発言者 shadowk, # 2006/06/22 17:37:11

Think you can add different levels of fuzz? Like the highest level would be something like, "Sometime in the afternoon". Feel free to add a bit of sarcasm too, like "Why are you still up?"

発言者 Skrooks, # 2006/06/22 5:41:51

ciaastek, you can put the edited js file back in the widget zip file, and then reload the widget using its context menu.

発言者 Rijk, # 2006/06/22 2:09:44

Help! I want to translate this to polish. I edited the fuzzy.js file and change this what I need, but now, how to apply this in installed widget or how make new and install it?

発言者 ciaastek, # 2006/06/20 23:21:17

Hi! I made a Dutch version. This required a few script changes, because we say 'half two' instead of 'half past one', for example. Would you mind if I upload this? If you want, you could alsocreate a multi-lingual version (like the calendar) of course.

I think I would prefer a thinner widget with a single line text actually, but that would require some changes to the images.

発言者 Rijk, # 2006/06/20 0:41:45

  1. ページ:
  2. 1
  3. 2

Copyright © 2001 - 2008 Opera Software. All rights reserved. About | Contact | Privacy | Disclaimer | Web analytics powered by HitsLink.HitsLink Logo