Page 1 of 1

Yet Another round clock

Posted: May 26th, 2013, 4:26 pm
by ikarus1969
Hi!

as my second contribution i decided to show you my round clock which displays date & time components on circle bars.

It doesn't use pictures but pure text.

Current weekday, hour, month and year are highlited.

You can control the radius of the clock by changing the variable "Clock.Radius" in the ini-file which is the radius of the outermost section.

ikarus1969
YetAnotherRoundClock_1.rmskin
YetAnotherRoundClock - screenshot.jpg

Re: Yet Another round clock

Posted: May 26th, 2013, 4:38 pm
by Seahorse
Shiny! 8-)

Re: Yet Another round clock

Posted: May 27th, 2013, 1:39 pm
by eclectic-tech
Nice!

I wanted to have the Date included, so I added it to the center with these additions and a change to 1 style (to make changing the size simpler):

Code: Select all

; ---------------------------------------------
; VARIABLES ------------------------------------
; ---------------------------------------------
TextSize=16

; ---------------------------------------------
; MEASURES ------------------------------------
; ---------------------------------------------
[MeasureDate]
Measure=Time
Format=%d

; ---------------------------------------------
; STYLES --------------------------------------
; ---------------------------------------------
[Style_Round_Data]
X=0
Y=0
W=20
H=26
FontFace=Courier New
FontSize=#TextSize#
FontColor=FFBD3AFF
StringAlign=CENTERCENTER
StringStyle=BOLD
StringEffect=BORDER
FontEffectColor=000000FF
AntiAlias=1

; ---------------------------------------------
; METERS --------------------------------------
; ---------------------------------------------
[MeterDate_BG]
Meter=ROUNDLINE
MeterStyle=Style_Weekdays_BG
LineStart=0
LineLength=(#SSDMini.Width#/2)

[MeterDate]
Meter=String
MeasureName=MeasureDate
MeterStyle=Style_Round_Data
Fontsize=(#TextSize#*4)
X=(#SSDMini.MitteX#)
Y=(#SSDMini.MitteY#)
Which gives me this:
Image

Thanks for this creation! :thumbup:

Re: Yet Another round clock

Posted: May 27th, 2013, 3:22 pm
by ikarus1969
eclectic-tech wrote:Nice!

I wanted to have the Date included, so I added it to the center with these additions and a change to 1 style (to make changing the size simpler):
Nice addition - looks good!

I thought of making the day-of-month a separate section (which would be easy) but then i thought i wouldn't need it.

Re: Yet Another round clock

Posted: May 30th, 2013, 12:11 pm
by moshi
i don't understand Lua, but as far as i can see you are calculating the position of each single letter separately?
very clever. :)

Re: Yet Another round clock

Posted: May 31st, 2013, 5:16 am
by ikarus1969
moshi wrote:i don't understand Lua, but as far as i can see you are calculating the position of each single letter separately?
very clever. :)
yes, you're right - each letters position is calculated & displayed separately.
I need a string-meter for each letter and some measures.

Locally i have a version of the skin which includes the date (day-of-month) as a circle section (see eclectic-tech's screenshot above).

It has 300 Meters and 87 measures 8-)
...and of course this skin begins to test the limits of rainmeter regarding handling a large number of meters/measures... ;-) ->

it's Friday, May 31 2013, 7:22
Rainmeter - screenshot.jpg
I was inspired by some "corner-clock" skins on deviant-art and thought that must be done without graphics.

rainmeter (transformation-matrix) + lua + some trigonometry = :thumbup:

Re: Yet Another round clock

Posted: May 31st, 2013, 6:26 am
by moshi
pretty cool. the year seems to be wrong though. now at the end of may, shouldn't it be almost in the middle of the sector?

Re: Yet Another round clock

Posted: May 31st, 2013, 7:33 am
by ikarus1969
moshi wrote:pretty cool. the year seems to be wrong though. now at the end of may, shouldn't it be almost in the middle of the sector?
:oops: You're absolutely right - thanks moshi for your observantly check!

I corrected my local version (incl. date), update the english version during the day and post a corrected version as an edit in my first post here.

Thanks again!

(screenshot shows Friday, May 31 2013 - 9:29)
Rainmeter - screenshot.jpg

Re: Yet Another round clock

Posted: June 14th, 2013, 3:03 pm
by Lsw781916
very nice . thanks for your share .