Recommended for you
Featured in groupsSee All
injust29's avatar
Rect Clock [1.0]
15 5 12K (5 Today)
By injust29   |   Watch
Published: December 10, 2012
Rectangular Clock

I had the idea in my head to break out of the mold of traditional round analog clocks and make one rectangular. But with Rainmeter as opposed to a real, physical clock, I could make it a little more interesting: morph the hands so that they stretch out toward the edge of the rectangle.

Applying a bit of math, I devised this clock. The tick marks are dynamically cut to the border of the rectangle, no matter what size or proportions, so that the tick marks are always precise. The clock can be scaled and skewed however you'd like.

Also, all of the colors can be easily changed, just follow my many, many comments in the skin code. The only images used are for the tick marks, but this is rendered in high resolution to support any amount of scaling and sizing you could imagine; the rest is generated with meters in Rainmeter, so everything is very easy to customize to a suitable appearance for your desktop.

If you have any questions or suggestions, let me know! Thanks!
Recommended for you
Featured in groupsSee All
Comments5
anonymous's avatar
Join the community to add your comment. Already a deviant? Sign In
johnniekim's avatar
nice work..... I love it.....
GreenoApple's avatar
cool one I love how the red line fits its self when moving :D
injust29's avatar
injust29Hobbyist Digital Artist
All of the clock hands stretch based on their position, not just the red second hand. It's just most obvious in the second hand since it moves the most and is the longest.
JohnBurns's avatar
Very inventive and nice. Thanks
injust29's avatar
injust29Hobbyist Digital Artist
Thanks for the comment! I'm glad you like it! You're welcome!
©2019 DeviantArt
All Rights reserved