[rel] Binary Clock

Now this is something different ... well at least a bit.

Instead of hands or digits this clock has 11 LEDs to show the time in binary format...

bc.png

http://sysstats.needlemen.com/details.php?id=78

New Version 1.1.1 Released...

For pictures see further down the thread of get it here:

http://avedesk.philc.ca

Any comments welcome.

Chris.

#332695

I like the idea, but I think the glow effect on the leds is a little too bright.

#332734

wow, i think it looks just fine. good job i know my bro is gonna love it.

#332739

[Edit V1.0.1] Adjusted the glow effect a bit ... was too bright on some displays.

#332763

neat idea!

#332797

What are the odds of you porting this with avescripter? GREAT job!

#332951

What are the odds of you porting this with avescripter? GREAT job!

Probably I'll port it to avescripter next week... as I want to check out widget development with avescripter.

Any idea what the benefits of a version with avescripter would be?

Chris.

#332960

Any idea what the benefits of a version with avescripter would be?

Chris.

I would like to use it and I don't have Sysstats installed.

#333023

i like it alot, i love the idea of a binary clock, its funny :P

how hard was it to create?

#333024

That is SO geeky, and it will fit in nicely with my binary wrist-clock, hehe.

#333067

I've just released V1.1.0 which uses AveScripter instead of SysStats :o .

You cannot change the color of the LEDs by clicking on them any more, you have to use the configuration dialog on the backside ;)

about.png

You can get it here...

DockEx

or here

avedesk.philc.ca

Chris.

#334359

Cool Stuff.

Can you upload to http://avedesk.philc.ca too.. Trying to have 1 place that will have all the desklets to download with no linking to possible dead links

You need to register to upload

#334361

I have added some small changes to the VBScript for the AveScripter version to make the desklet use less CPU time :) :

	this.LockAllUpdates()

updatecol(this.Parameters("ColHour").value+1)

updatecol(this.Parameters("ColMin").value+6)

updatetime

this.Refresh()

Basically, this does batch-updates (updating multiple layers) in one update, rather than doing 12 or so small updates every second. You tell AveScripter with this.LockAllUpdates() to not perform any updates to any layer directly. With this.Refresh() the pending updates are performed.

I have also used a function as follows to maybe kill a small AveScripter "bug":

Function ChangeLayerTo(name, file)

if this.Layers(name).src <> file then

this.Layers(name).src = file

end if

End Function

This only changes the layer if there is really something to change.

#334419

I have added some small changes to the VBScript for the AveScripter version to make the desklet use less CPU time :) :

	this.LockAllUpdates()

updatecol(this.Parameters("ColHour").value+1)

updatecol(this.Parameters("ColMin").value+6)

updatetime

this.Refresh()

Basically, this does batch-updates (updating multiple layers) in one update, rather than doing 12 or so small updates every second. You tell AveScripter with this.LockAllUpdates() to not perform any updates to any layer directly. With this.Refresh() the pending updates are performed.

Cool, thanks... I've been looking for a function like this but didn't find it in any of the desklets I "analyzed"... there isn't a doc around, is it? Not that I would have read it... :D

I have also used a function as follows to maybe kill a small AveScripter "bug":

Function ChangeLayerTo(name, file)

if this.Layers(name).src <> file then

this.Layers(name).src = file

end if

End Function

This only changes the layer if there is really something to change.

I was also aware of this issue, but honestly thougt AveScripter (or rather AveDesk) was smart enough to do this by itself... I even think I read in a german computer magazine something that put me on this track...

Anyway, thanks for your help! And AveDesk is great btw...

Chris.

#334426

Sorry.. scripter is dumb :P but it will get smarter with each version.

Have you looked in the SDK directory for the doc?

#334431

Sorry.. scripter is dumb :P but it will get smarter with each version.

Have you looked in the SDK directory for the doc?

Yes, I looked at the XML now... I should have looked before ... thanks.

Just uploaded V1.1.1 to DockEx.

#334437