Advertisement
Corvust

RadialClock Rewrite

Jul 15th, 2018
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; ===================================================================================
  2. ; Rewrite of RadialClock (https://www.deviantart.com/pvoijen/art/RadialClock-1-02-539127755) by PVOIJEN, a skin in Rainmeter
  3. ; I don't know if this violates Creative Commons, if PVOIJEN would like me to take it down please PM me on reddit at u/Cubic_Corvust
  4.  
  5. ; Allows for customization size
  6.  
  7. ; The ring size, text size and text position are proportional to #size# (so changing #size# will change them).
  8. ; Change #Size# to change how large the skin is. #size# is the width / height of the entire skin (Top of ring to Bottom of ring).
  9.  
  10. ; The ring width is proportional to #RingWidthActive# and #RingWidthInactive#.
  11. ; #RingWidthActive# determines how thick the 'ring overlay' is.
  12. ; #RingWidthInactive# determines how thick the 'base ring' is.
  13. ; ===================================================================================
  14.  
  15. ; ===================================================================================
  16. ; 12 h ver.
  17. ; ===================================================================================
  18.  
  19. [Rainmeter]
  20. Update=1000
  21. Group=Config
  22.  
  23. [Metadata]
  24. Author=Paul van Oijen
  25. Name=Radial
  26. Version=1.02
  27. License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0 - Not To Be Distributed
  28. Information=http://paulvanoijen.com
  29.  
  30. [Variables]
  31. White=255,255,255,255
  32. Size=250
  33.  
  34. RingWidthActive=4
  35. RingWidthInactive=2
  36.  
  37. ;Time
  38. [MeasureS]
  39. Measure=Time
  40. Format=%S
  41.  
  42. [MeasureHM]
  43. Measure=Time
  44. Format=%I:%M
  45.  
  46. [MeasureAMPM]
  47. Measure=Time
  48. Format=%p
  49.  
  50. ;Calculate Seconds
  51. [CalcS]
  52. Measure=Calc
  53. Formula=MeasureS/59
  54.  
  55. ;Meters
  56. [MeterS]
  57. Meter=Roundline
  58. MeasureName=CalcS
  59. X=0
  60. Y=0
  61. W=#Size#
  62. H=#Size#
  63. StartAngle=(Rad(270))
  64. RotationAngle=(Rad(360))
  65. LineStart=((#Size#/2)-#RingWidthActive#)
  66. LineLength=(#Size#/2)
  67. Solid=1
  68. LineColor=#White#
  69. AntiAlias=1
  70.  
  71. [MeterSBG]
  72. Meter=Roundline
  73. X=0
  74. Y=0
  75. W=#Size#
  76. H=#Size#
  77. StartAngle=(Rad(270))
  78. RotationAngle=(Rad(360))
  79. LineStart=((#Size#/2)-(#RingWidthActive#/2)-(#RingWidthInactive#/2))
  80. LineLength=((#Size#/2)-(#RingWidthActive#/2)+(#RingWidthInactive#/2))
  81. Solid=1
  82. LineColor=#White#
  83. AntiAlias=1
  84.  
  85. [TextStyle]
  86. FontFace=Roboto
  87. Fontcolor=#White#
  88.  
  89. [MeterHM]
  90. Meter=String
  91. MeterStyle=TextStyle
  92. MeasureName=MeasureHM
  93. X=(#Size#/2)
  94. Y=(#Size#/2)
  95. FontSize=(35*(#Size#/150))
  96. AntiAlias=1
  97. StringAlign=CenterCenter
  98.  
  99. [MeterAMPM]
  100. Meter=String
  101. MeterStyle=TextStyle
  102. MeasureName=MeasureAMPM
  103. X=(#Size#/2)
  104. Y=(#Size#*0.69)
  105. StringAlign=CenterCenter
  106. FontSize=(15*(#Size#/150))
  107. AntiAlias=1
  108. StringStyle=Bold
  109.  
  110. ; ===================================================================================
  111. ; 24 h ver.
  112. ; ===================================================================================
  113.  
  114. [Rainmeter]
  115. Update=1000
  116. Group=Config
  117.  
  118. [Metadata]
  119. Author=Paul van Oijen
  120. Name=Radial
  121. Version=1.02
  122. License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0 - Not To Be Distributed
  123. Information=http://paulvanoijen.com
  124.  
  125. [Variables]
  126. White=255,255,255,255
  127. Size=250
  128.  
  129. RingWidthActive=4
  130. RingWidthInactive=2
  131.  
  132. ;Time
  133. [MeasureS]
  134. Measure=Time
  135. Format=%S
  136.  
  137. [MeasureHM]
  138. Measure=Time
  139. Format=%H:%M
  140.  
  141. ;Calculate Seconds
  142. [CalcS]
  143. Measure=Calc
  144. Formula=MeasureS/59
  145.  
  146. ;Meters
  147. [MeterS]
  148. Meter=Roundline
  149. MeasureName=CalcS
  150. X=0
  151. Y=0
  152. W=#Size#
  153. H=#Size#
  154. StartAngle=(Rad(270))
  155. RotationAngle=(Rad(360))
  156. LineStart=((#Size#/2)-#RingWidthActive#)
  157. LineLength=(#Size#/2)
  158. Solid=1
  159. LineColor=#White#
  160. AntiAlias=1
  161.  
  162. [MeterSBG]
  163. Meter=Roundline
  164. X=0
  165. Y=0
  166. W=#Size#
  167. H=#Size#
  168. StartAngle=(Rad(270))
  169. RotationAngle=(Rad(360))
  170. LineStart=((#Size#/2)-(#RingWidthActive#/2)-(#RingWidthInactive#/2))
  171. LineLength=((#Size#/2)-(#RingWidthActive#/2)+(#RingWidthInactive#/2))
  172. Solid=1
  173. LineColor=#White#
  174. AntiAlias=1
  175.  
  176. [TextStyle]
  177. FontFace=Roboto
  178. Fontcolor=#White#
  179.  
  180. [MeterHM]
  181. Meter=String
  182. MeterStyle=TextStyle
  183. MeasureName=MeasureHM
  184. X=(#Size#/2)
  185. Y=(#Size#/2)
  186. FontSize=(35*(#Size#/150))
  187. AntiAlias=1
  188. StringAlign=CenterCenter
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement