Skycoder RGB theme for rainmeter (Codes).
SCREENSHOTS
Quick Start:
- Download and install Rainmeter (link is given below) on your pc.
- Download the installer package of skin.
- Double click on the file to open it and click install.
- Load the skin from rainmeter and align it according to your screen.
-------------------------------------------------------------------------
GDrive links:
Rainmeter - https://www.rainmeter.net/
Skycoder RGB (installer package) - https://drive.google.com/file/d/1mEULHA7uoRUoFtxEyp44swp-0kJkbUB-/view?usp=sharing
Skycoder RGB (files) - https://drive.google.com/drive/folders/12lwd8Z1nMEuNDwmX3P3iCTaZqTBqWF_x?usp=sharing
-------------------------------------------------------------------------
Skycoder.ini (File)
;Skycoder.ini;by Sceleri & NighthawkSLO
[Rainmeter]
Update=1
ContextTitle=Open settings file
ContextAction=["#@#settings.inc"]
[Variables]
@Include=#@#settings.inc
;Access settings from the rightclick menu
SIZE=(194*#SCALE#)
;SIZE is constant, do not change, change SCALE in settings instead
[MeasureMyColor]
Measure=Script
ScriptFile=ColorRotate.lua
; MySaturation and MyBrightness can be 0.0 (none) to 1.0 (full)
MySaturation=0.75
MyBrightness=1.0
DynamicVariables=1
[MeasureAudio]
Measure=Plugin
Plugin=AudioLevel
Port=
Bands=10
Sensitivity=40
FFTSize=2048
FFTOverlap=1024
FFTAttack=80
FFTDecay=40
FreqMin=20
FreqMax=16000
AverageSize=5
[MeasureAudioRMSskull]
Measure=Plugin
Plugin=AudioLevel
Parent=MeasureAudio
Type=Band
Bandidx=2
[MeasureAudioRMS]
Measure=Plugin
Plugin=AudioLevel
Parent=MeasureAudio
Type=Band
Bandidx=3
[MeasureAudioRMS1]
Measure=Plugin
Plugin=AudioLevel
Parent=MeasureAudio
Type=Band
Bandidx=4
[MeasureAudioRMS2]
Measure=Plugin
Plugin=AudioLevel
Parent=MeasureAudio
Type=Band
Bandidx=6
[MeasureAudioRMS3]
Measure=Plugin
Plugin=AudioLevel
Parent=MeasureAudio
Type=Band
Bandidx=7
[MeasureRotate]
Measure=Calc
Formula=(((MeasureRotate % (#RotateSustain# * #SCALE#)) + (MeasureAudioRMS * (#RotateIntensity# * #SCALE#) + 1)))
MaxValue=(#RotateSustain# * #SCALE#)
MinValue=0
[MeasureRotate1]
Measure=Calc
Formula=(((MeasureRotate1 % (#RotateSustain1# * #SCALE#)) + (MeasureAudioRMS1 * (#RotateIntensity1# * #SCALE#) + 1)))
MaxValue=(#RotateSustain1# * #SCALE#)
[MeasureRotate2]
Measure=Calc
Formula=(((MeasureRotate2 % (#RotateSustain2# * #SCALE#)) + (MeasureAudioRMS3 * (#RotateIntensity2# * #SCALE#) + 1)))
MaxValue=(#RotateSustain2# * #SCALE#)
[Shape]
Meter=Shape
Shape=Ellipse #SIZE#,#SIZE#,(110*#SCALE#) | Fill Color 0,0,0,0 | Stroke Color [MeasureMyColor] | StrokeWidth (18*#SCALE#) | StrokeDashes (220*PI/81),(440*PI/1323),(3520*PI/3969),(440*PI/1323),(220*PI/147),(440*PI/1323),(4730*PI/3969),(440*PI/1323),(220*PI/147),(440*PI/1323),(7150*PI/3969),(550*PI/567) | Rotate (#RotationDirection# * [MeasureRotate:%]*3.6)
Shape2=Ellipse #SIZE#,#SIZE#,(134*#SCALE#) | Fill Color 0,0,0,0 | Stroke Color [MeasureMyColor] | StrokeWidth (18*#SCALE#)
Shape3=Ellipse #SIZE#,#SIZE#,(158*#SCALE#) | Fill Color 0,0,0,0 | Stroke Color [MeasureMyColor] | StrokeWidth (18*#SCALE#) | StrokeDashes (1580*PI/3969),(632*PI/1323),(158*PI/189),(632*PI/1323),(6794*PI/3969),(790*PI/441),(4582*PI/1323),(3634*PI/3969),(5056*PI/3969),(632*PI/1323),(6794*PI/3969),(632*PI/1323),(158*PI/189),(632*PI/1323),(1580*PI/3969),(632*PI/1323),(1580*PI/3969),(1264*PI/1323) | Rotate (#RotationDirection1# * [MeasureRotate1:%]*3.6)
Shape4=Ellipse #SIZE#,#SIZE#,(184*#SCALE#) | Fill Color 0,0,0,0 | Stroke Color [MeasureMyColor] | StrokeWidth (20*#SCALE#) | StrokeDashes (184*PI/441),(92*PI/2205),(184*PI/441),(92*PI/2205),(184*PI/441),(92*PI/2205),(184*PI/441),(92*PI/2205),(184*PI/441),(368*PI/735),(184*PI/441),(368*PI/735),(184*PI/441),(368*PI/735),(184*PI/441),(92*PI/2205),(184*PI/441),(368*PI/735),(184*PI/441),(92*PI/2205),(184*PI/441),(92*PI/2205),(184*PI/441),(92*PI/2205),(184*PI/441),(368*PI/735),(184*PI/441),(92*PI/2205),(184*PI/441),(368*PI/735),(184*PI/441),(92*PI/2205),(184*PI/441),(92*PI/2205),(184*PI/441),(92*PI/2205),(184*PI/441),(368*PI/735),(184*PI/441),(3128*PI/2205),(184*PI/441),(92*PI/2205),(184*PI/441),(92*PI/2205),(184*PI/441),(92*PI/2205),(184*PI/441),(368*PI/735),(184*PI/441),(92*PI/2205),(184*PI/441),(92*PI/2205),(184*PI/441),(736*PI/735) | Rotate (#RotationDirection2# * [MeasureRotate2:%]*3.6)
DynamicVariables=1
[overlaySkull]
Meter=Shape
X=#SIZE#
Y=#SIZE#
Shape = Path Path1 | StrokeWidth 0
Shape2 = Path Path2 | StrokeWidth 0
Shape3 = Path Path3 | StrokeWidth 0
Shape4 = Path Path4 | StrokeWidth 0
Shape5 = Path Path5 | StrokeWidth 0
Shape6 = Path Path6 | StrokeWidth 0
Shape7 = Path Path7 | StrokeWidth 0
Shape8 = Path Path8 | StrokeWidth 0
Shape9 = Path Path9 | StrokeWidth 0
Shape10 = Path Path10 | StrokeWidth 0
Shape11 = Path Path11 | StrokeWidth 0
Shape12 = Path Path12 | StrokeWidth 0
Shape13 = Path Path13 | StrokeWidth 0
Shape14 = Path Path14 | StrokeWidth 0
Shape15 = Path Path15 | StrokeWidth 0
Shape16 = Path Path16 | StrokeWidth 0
Shape17 = Ellipse 0,0,95 | Fill Color [MeasureMyColor] | StrokeWidth 0
Shape18 = Combine Shape1 | XOR Shape2 | XOR Shape3 | XOR Shape4 | XOR Shape5 | XOR Shape6 | XOR Shape7 | XOR Shape8 | XOR Shape9 | XOR Shape10 | XOR Shape11 | XOR Shape12 | XOR Shape13 | XOR Shape14 | XOR Shape15 | XOR Shape16 | Offset (-255/4),(-405/6.5)
Shape19 = Combine Shape17 | Exclude Shape18 | Scale #SCALE#,#SCALE#
Path1 = 127.685, 36.841 | LineTo 127.685, 81.828 | LineTo 105.654, 96.083 | LineTo 105.654, 88.122 | CurveTo 98.249, 93.306, 105.654, 88.122, 103.063, 91.233 | LineTo 98.249, 104.784 | LineTo 86.956, 111.634 | LineTo 86.956, 99.415 | LineTo 82.143, 99.415 | LineTo 82.143, 112.559 | LineTo 73.257, 118.113 | LineTo 73.257, 103.673 | LineTo 68.444, 103.673 | LineTo 68.444, 120.705 | LineTo 64, 122.557 | LineTo 59.557, 120.706 | LineTo 59.557, 103.674 | LineTo 54.744, 103.674 | LineTo 54.744, 118.114 | LineTo 45.858, 112.56 | LineTo 45.858, 99.415 | LineTo 41.045, 99.415 | LineTo 41.045, 111.634 | LineTo 29.752, 104.784 | LineTo 29.752, 93.306 | CurveTo 22.347, 88.122, 24.938, 91.234, 22.347, 88.122 | LineTo 22.347, 96.083 | LineTo 0.315, 81.828 | LineTo 0.315, 36.841 | LineTo 64, 4.443 | LineTo 127.685, 36.841 | ClosePath 1
Path2 = 97.257, 38.561 | CurveTo 85.535, 60.669, 89.428, 39.503, 84.18, 49.401 | CurveTo 102.166, 79.366, 86.89, 71.937, 94.337, 80.308 | CurveTo 113.888, 57.258, 109.995, 78.424, 115.243, 68.526 | CurveTo 97.257, 38.561, 112.533, 45.99, 105.087, 37.619 | ClosePath 1
Path3 = 82.606, 65.222 | LineTo 82.606, 55.114 | LineTo 75.386, 60.168 | LineTo 82.606, 65.222 | ClosePath 1
Path4 = 116.818, 55.114 | LineTo 116.818, 65.222 | LineTo 124.038, 60.168 | LineTo 116.818, 55.114 | ClosePath 1
Path5 = 111.713, 76.535 | LineTo 104.565, 83.683 | LineTo 113.244, 85.215 | LineTo 111.713, 76.535 | ClosePath 1
Path6 = 95.268, 83.682 | LineTo 88.12, 76.534 | LineTo 86.588, 85.213 | LineTo 95.268, 83.682 | ClosePath 1
Path7 = 87.102, 41.949 | LineTo 94.25, 34.801 | LineTo 85.57, 33.27 | LineTo 87.102, 41.949 | ClosePath 1
Path8 = 104.565, 34.802 | LineTo 111.713, 41.95 | LineTo 113.245, 33.271 | LineTo 104.565, 34.802 | ClosePath 1
Path9 = 72.123, 91.547 | CurveTo 64.432, 83.077, 74.826, 87.59, 64.432, 83.077 | CurveTo 56.741, 91.547, 64.432, 83.077, 54.038, 87.59 | CurveTo 64.432, 90.992, 59.444, 95.504, 64.432, 90.992 | CurveTo 72.123, 91.547, 64.432, 90.992, 69.42, 95.504 | ClosePath 1
Path10 = 14.111, 57.257 | CurveTo 25.833, 79.365, 12.755, 68.525, 18.003, 78.423 | CurveTo 42.464, 60.668, 33.663, 80.307, 41.109, 71.936 | CurveTo 30.742, 38.56, 43.82, 49.4, 38.572, 39.502 | CurveTo 14.111, 57.257, 22.913, 37.619, 15.467, 45.989 | ClosePath 1
Path11 = 52.614, 60.168 | LineTo 45.394, 55.114 | LineTo 45.394, 65.222 | LineTo 52.614, 60.168 | ClosePath 1
Path12 = 3.962, 60.168 | LineTo 11.182, 65.222 | LineTo 11.182, 55.114 | LineTo 3.962, 60.168 | ClosePath 1
Path13 = 14.755, 85.214 | LineTo 23.434, 83.682 | LineTo 16.286, 76.534 | LineTo 14.755, 85.214 | ClosePath 1
Path14 = 41.411, 85.214 | LineTo 39.879, 76.535 | LineTo 32.731, 83.683 | LineTo 41.411, 85.214 | ClosePath 1
Path15 = 42.43, 33.27 | LineTo 33.751, 34.802 | LineTo 40.899, 41.95 | LineTo 42.43, 33.27 | ClosePath 1
Path16 = 14.755, 33.27 | LineTo 16.287, 41.949 | LineTo 23.435, 34.801 | LineTo 14.755, 33.27 | ClosePath 1
DynamicVariables=1
-------------------------------------------------------------------------
ColorRotate.lua (File)
function Initialize()
dofile(SKIN:GetVariable('@')..'HSBLib\\HSBLib.lua')
hue = 0.0
saturation = SELF:GetOption('MySaturation') or 1.0
brightness = SELF:GetOption('MyBrightness') or 1.0
end
function Update()
red, green, blue = HSBtoRGB(hue, saturation, brightness)
hue = Clamp(hue + 0.005, 0.0, 1.0)
if hue == 1.0 then hue = 0.0 end
return red..','..green..','..blue
end
function Clamp(num, lower, upper)
return math.max(lower, math.min(upper, num))
end
-------------------------------------------------------------------------
HSBLib.lua (File) @resources
function RGBtoHSB(colorArg)
inRed, inGreen, inBlue = string.match(colorArg, '(%d+),(%d+),(%d+)')
percentR = ( inRed / 255 )
percentG = ( inGreen / 255 )
percentB = ( inBlue / 255 )
colorMin = math.min( percentR, percentG, percentB )
colorMax = math.max( percentR, percentG, percentB )
deltaMax = colorMax - colorMin
colorBrightness = colorMax
if (deltaMax == 0) then
colorHue = 0
colorSaturation = 0
else
colorSaturation = deltaMax / colorMax
deltaR = (((colorMax - percentR) / 6) + (deltaMax / 2)) / deltaMax
deltaG = (((colorMax - percentG) / 6) + (deltaMax / 2)) / deltaMax
deltaB = (((colorMax - percentB) / 6) + (deltaMax / 2)) / deltaMax
if (percentR == colorMax) then
colorHue = deltaB - deltaG
elseif (percentG == colorMax) then
colorHue = ( 1 / 3 ) + deltaR - deltaB
elseif (percentB == colorMax) then
colorHue = ( 2 / 3 ) + deltaG - deltaR
end
if ( colorHue < 0 ) then colorHue = colorHue + 1 end
if ( colorHue > 1 ) then colorHue = colorHue - 1 end
end
return colorHue, colorSaturation, colorBrightness
end
function HSBtoRGB(colorHue, colorSaturation, colorBrightness)
degreesHue = colorHue * 6
if (degreesHue == 6) then degreesHue = 0 end
degreesHue_int = math.floor(degreesHue)
percentSaturation1 = colorBrightness * (1 - colorSaturation)
percentSaturation2 = colorBrightness * (1 - colorSaturation * (degreesHue - degreesHue_int))
percentSaturation3 = colorBrightness * (1 - colorSaturation * (1 - (degreesHue - degreesHue_int)))
if (degreesHue_int == 0) then
percentR = colorBrightness
percentG = percentSaturation3
percentB = percentSaturation1
elseif (degreesHue_int == 1) then
percentR = percentSaturation2
percentG = colorBrightness
percentB = percentSaturation1
elseif (degreesHue_int == 2) then
percentR = percentSaturation1
percentG = colorBrightness
percentB = percentSaturation3
elseif (degreesHue_int == 3) then
percentR = percentSaturation1
percentG = percentSaturation2
percentB = colorBrightness
elseif (degreesHue_int == 4) then
percentR = percentSaturation3
percentG = percentSaturation1
percentB = colorBrightness
else
percentR = colorBrightness
percentG = percentSaturation1
percentB = percentSaturation2
end
outRed = math.floor(percentR * 255)
outGreen = math.floor(percentG * 255)
outBlue = math.floor(percentB * 255)
if (outRed < 0 or outGreen < 0 or outBlue < 0)
or (outRed > 255 or outGreen > 255 or outBlue > 255) then
return inRed, inGreen, inBlue
else
return outRed, outGreen, outBlue
end
end
Risikoversicherung Vergleich
Comments