It is currently March 28th, 2024, 9:45 pm

Simple Odometer Style Clock

Clocks and timer skins
Wheely
Posts: 1
Joined: August 13th, 2015, 5:03 am

Simple Odometer Style Clock

Post by Wheely »

I upgraded to Windows 10 and of course all my Windows 7 gadgets went bye bye ... Rainmeter will be tasked with replacing them.

I thought I'd start with something simple and get the clock done first. There are plenty of very nice looking analog clocks out there and I'm not very good with graphics so I'll use an existing one.

I did some messing around and came up with a car odometer style clock cropping the digits from a bitmap.

Code: Select all

[Rainmeter]
Update=50

[MeasureTime]
Measure=Time
AverageSize=5

[MeasureRotate]
Measure=Calc
Formula=Floor(MeasureTime*10)%10

[MeasureSecond]
Measure=Calc
Formula=Floor(MeasureTime%10)

[MeasureSecondCrop]
Measure=Calc
Formula=MeasureSecond*10+MeasureRotate

[Measure10Second]
Measure=Calc
Formula=Floor((MeasureTime%60)/10)

[Measure10SecondCrop]
Measure=Calc
Formula=MeasureSecond=9?Measure10Second*10+MeasureRotate:Measure10Second*10

[MeterBackground]
Meter=Image
ImageName=Background.png

[Meter10SecondDigit]
Meter=Image
ImageName=Digits6.png
ImageCrop=0,[Measure10SecondCrop:],5,10
DynamicVariables=1
X=42
Y=1

[MeterSecondDigit]
Meter=Image
ImageName=Digits10.png
ImageCrop=0,[MeasureSecondCrop:],5,10
DynamicVariables=1
X=50
Y=1
The top clock is straight from the Rainmeter tutorial.
You do not have the required permissions to view the files attached to this post.
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Simple Odometer Style Clock

Post by jsmorley »

That is really well done...
User avatar
FuzzyLizard530
Posts: 75
Joined: August 5th, 2014, 2:09 am

Re: Simple Odometer Style Clock

Post by FuzzyLizard530 »

Very Nice! I really like it & would like an .rmskin for it [or a link to the .png so I can recreate it myself!], if I may...
I may or may not have a signature in this, very location...