It is currently March 28th, 2024, 5:07 pm

Hi All

Introduce yourself to the Rainmeter community!
Post Reply
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Hi All

Post by CyberTheWorm »

Just got started playing with Rainmeter and just created my first skin.

I used the Rotator Meter example to make a 12-24 hour clock.
I edited it a bunch and can flip between the 2 different faces.
Need to get a better 24 clock face I just threw that one together.
Attachments
24Capture.PNG
12Capture.PNG
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Hi All

Post by balala »

Welcome to Rainmeter (an indeed great tool) and this forum.
If these are your first skins, congratulations.
The 24-hour clock is an interesting idea. Please post the code.
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: Hi All

Post by CyberTheWorm »

OK here you go, I made 2 ini files in the same directory to allow a variant switch

Original Rotator Meter Example

Code: Select all

[Rainmeter]
Update=1000

[Metadata]
Name=ExampleMeterRotator
Author=The Rainmeter Team
Information=Example of the Rotator meter
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Version=1.0

[MeasureTime]
Measure=Time

[MeterClockFace]
Meter=Image
ImageName=#@#Images\ClockFace.png
W=110
H=116

[MeterHoursHand]
Meter=ROTATOR
MeasureName=MeasureTime
X=0
Y=0
W=110
H=116
ImageName=#@#Images\Hours.png
OffsetX=3
OffsetY=3
StartAngle=4.7124
RotationAngle=6.2832
ValueRemainder=43200

[MeterMinutesHand]
Meter=ROTATOR
MeasureName=MeasureTime
X=0
Y=0
W=110
H=116
ImageName=#@#Images\Minutes.png
OffsetX=3
OffsetY=3
StartAngle=4.7124
RotationAngle=6.2832
ValueRemainder=3600

[MeterSecondsHand]
Meter=ROUNDLINE
MeasureName=MeasureTime
X=0
Y=0
W=110
H=116
LineLength=52
LineColor=247,220,129,255
LineWidth=2
AntiAlias=1
StartAngle=4.7124
RotationAngle=6.2832
ValueRemainder=60
My edited 12 Hour clock I took out the image files for the hands and added ROUNDLINE and adjusted the colour

Code: Select all

[Rainmeter]
Update=1000

[Metadata]
Name=12HourClock
Author=Graham Wedepohl
Information=Edited from the Example of the Rotator meter
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Version=1.0.0

[MeasureTime]
Measure=Time

[MeterClockFace]
Meter=Image
ImageName=#@#\Images\12hour.png
W=110
H=116

[MeterHoursHand]
Meter=ROUNDLINE
MeasureName=MeasureTime
X=0
Y=0
W=110
H=116
LineLength=28
LineColor=255,0,0,255
LineWidth=5
AntiAlis=1
StartAngle=4.7124
RotationAngle=6.2832
ValueRemainder=43200

[MeterMinutesHand]
Meter=ROUNDLINE
MeasureName=MeasureTime
X=0
Y=0
W=110
H=116
LineLength=40
LineColor=0,127,255,255
LineWidth=4
AntiAlis=1
StartAngle=4.7124
RotationAngle=6.2832
ValueRemainder=3600

[MeterSecondsHand]
Meter=ROUNDLINE
MeasureName=MeasureTime
X=0
Y=0
W=110
H=116
LineLength=52
LineColor=247,220,129,255
LineWidth=2
AntiAlias=1
StartAngle=4.7124
RotationAngle=6.2832
ValueRemainder=60
My edited 24 Hour clock, created a different face and doubled the ValueRemainder from 43200 to 86400

Code: Select all

[Rainmeter]
Update=1000

[Metadata]
Name=24HourClock
Author=Graham Wedepohl
Information=Edited from the Example of the Rotator meter
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Version=1.0.0

[MeasureTime]
Measure=Time

[MeterClockFace]
Meter=Image
ImageName=#@#\Images\24hour.png
W=110
H=116

[MeterHoursHand]
Meter=ROUNDLINE
MeasureName=MeasureTime
X=0
Y=0
W=110
H=116
LineLength=28
LineColor=255,0,0,255
LineWidth=5
AntiAlis=1
StartAngle=4.7124
RotationAngle=6.2832
ValueRemainder=86400

[MeterMinutesHand]
Meter=ROUNDLINE
MeasureName=MeasureTime
X=0
Y=0
W=110
H=116
LineLength=35
LineColor=0,127,255,255
LineWidth=4
AntiAlis=1
StartAngle=4.7124
RotationAngle=6.2832
ValueRemainder=3600

[MeterSecondsHand]
Meter=ROUNDLINE
MeasureName=MeasureTime
X=0
Y=0
W=110
H=116
LineLength=42
LineColor=247,220,129,255
LineWidth=2
AntiAlias=1
StartAngle=4.7124
RotationAngle=6.2832
ValueRemainder=60
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Hi All

Post by balala »

CyberTheWorm wrote:My edited 24 Hour clock, created a different face and doubled the ValueRemainder from 43200 to 86400
Although I don't have the 24hour.png image, it's an interesting idea. Congratulations. Keep working and go on. But be careful, Rainmeter is addictive...
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: Hi All

Post by CyberTheWorm »

Here you go, I'm not addicted I can quit any time :rolmfao:

And thanks for the code snippet in the other post, I have now added this to make dragging better

Code: Select all

BackgroundMode=2
SolidColor=0,0,0,1
Attachments
24hour.png
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Hi All

Post by balala »

CyberTheWorm wrote:Here you go, I'm not addicted
Yet...
starchip
Posts: 2
Joined: October 27th, 2016, 4:28 pm

Re: Hi All

Post by starchip »

Not addicted?

Only a developer needs a 24-hour clock face (insert emoji here)

Or maybe an alcoholic insomniac - but I repeat myself..

Welcome - I'm new too.
User avatar
jumper77
Posts: 132
Joined: October 13th, 2016, 2:07 am

Re: Hi All

Post by jumper77 »

That's funny starchip!

Welcome Cyber. It's a great place here with many helpful people. And smart ones too :)
Hope you enjoy your stay!
Post Reply