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

OrbFusion - Measure Monitor

Skins with graphics and animations
Post Reply
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5382
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA
Contact:

OrbFusion - Measure Monitor

Post by eclectic-tech »

... I must have had too much coffee when creating the earlier versions :D

===
Measure displays don't have to be just text, graphs, bars, or circles.

Any measure that returns a value of 0-100 can be used.

This skin is using the CPU measure.

The orbs will vary in size, color, and alpha based on the values returned by the measure.

The orbs compress as the measure usage increases until they are 'Fused' into a single red image at 100% usage.

It will randomly re-scales each orb and this version uses averaging of the measure value to smooth the action (... cut back on the caffeine!)

You can set the initial scale of each orb in the @Resources\FusionVariables.inc file
===
Realized there is a 'Fusion' suite out there, so renamed this to OrbFusion...
EDIT: Corrected !WriteKeyValues to access new file location and name in @Resources...
Latest version:
Attachments
OrbFusion_2.09.20.2014.rmskin
(21.5 KiB) Downloaded 320 times
Last edited by eclectic-tech on September 20th, 2014, 8:25 pm, edited 5 times in total.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5382
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA
Contact:

Re: Fusion - CPU Monitor

Post by eclectic-tech »

An updated-update version is posted on the first entry :sly:

With this version, you can scroll the mouse up/down over the skin, to 'slowly' change the scale of the orbs. The initial size of each orb and orb color can be set in the included @Resources\Fusion4Variables.inc file...
Fusion.gif
As the skin runs, the size, color, and opacity will change corresponding to the CPU usage and a randomized orb size shift. When the usage reaches 100%, the 4 orbs will 'Fuse' into 1 large red orb.
Last edited by eclectic-tech on November 5th, 2015, 2:11 am, edited 1 time in total.
User avatar
JonPeyton
Posts: 23
Joined: November 3rd, 2015, 1:39 am
Location: Tennessee

Re: OrbFusion - Measure Monitor

Post by JonPeyton »

Awesome concept!
Of course I have a wish to tinker that promps a question...
Could I dispense with the "fusion" and just have one pulsing color changing orb?
And if so could I then have one for say GPU , Memory ect..?

Thanks so much for your hard work !
JP
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5382
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA
Contact:

Re: OrbFusion - Measure Monitor

Post by eclectic-tech »

Haven't really thought about this code for over a year, (I just updated the animation example today)...
but it should be fairly simple to only display 1 orb versus 4...

If I get some time later this week, I will post some code for a simplified version.

Thanks for your interest. :thumbup:
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5382
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA
Contact:

Re: OrbFusion - Measure Monitor

Post by eclectic-tech »

Here's a sample code for a single orb, sized, and colored based on a CPU measure.
For a GPU orb, you would need to replace [mCPU] measure (and all references to it), with a measure for your GPU (you will also need to set Min/Max values on the GPU measure to obtain a percentage).

Orb image (save in the @Resources\Images folder you create for the skin code below)
globe-ringed.png

Code: Select all

[Rainmeter]
Update=250
AccurateText=1
DynamicWindowSize=1
MouseOverAction=[!ShowMeter Number]
MouseLeaveAction=[!HideMeter Number]
MouseScrollUpAction=[!WriteKeyValue Variables ImageSize (#ImageSize#+8)][!Refresh]
MouseScrollDownAction=[!WriteKeyValue Variables ImageSize (#ImageSize#-8)][!Refresh]

[Metadata]
Name=Fusion 1 - Single Orb Measure Monitor
Author=Eclectic Tech
Information=A scale-able measure monitor; can be used to display any measure that returns values (0-100). As the measure approaches 100, the orb is largest (see 'InvertMeasure=1' below for alternate), fully visible, and deepest color image.
License=Creative Commons V3.0 BY-NC-SA
Version=1.2015.11.4

[Variables]
MainTextColor=255,255,255
FontName=Arial
FontHeight=10
ImageSize=80
; To reach "Full Fusion" the zoom value should equal "1" when the measure used equals "100" or max value
; These set the size ratio and multiplier for the orb (Min size and Multiplier); the size plus the mult should equal 1.0 to ensure a fullsize image at 100% level
size0=0.10
mult0=0.90
; To reach "Full Fusion" the zoom value should equal "1" when the measure used equals "100"
zoom0=(#size0#+(([mCPU]*#mult0#)/100))

[mCPU]
Measure=CPU
Processor=0
; Processor=0 show average of all cores
; The value of a CPU measure is from 0 to 100.
AverageSize=4
; Averaging reduces jitters in the display
InvertMeasure=1
; InvertMeasure=1 is used to have the Orb largest at lowest level, versus largest at highest value when InvertMeasure=0 is used

[Orb0]
Meter=Image
ImageName="#@#Images\globe-ringed.png"
; Uncomment the next line to color from RED when (low) to GREEN (when high)
ImageTint=(255-[mCPU]),(55+[mCPU]*2),20
; Uncomment the next line to color from GREEN (when low) to RED (when high)
;ImageTint=(55+[mCPU]*2),(255-[mCPU]*2),20
ImageAlpha=(127+12.8*[mCPU])
W=#ImageSize#
H=#ImageSize#
Hidden=0
DynamicVariables=1
; Comment the next line to eliminate resizing the orb
TransformationMatrix=#zoom0#; 0; 0;#zoom0#; ((1-#zoom0#)*[#CURRENTSECTION#:W]/2);((1-#zoom0#)*[#CURRENTSECTION#:H]/2)
; This Orb color, size, and opacity are controlled by the CPU measure

[Number]
Meter=string
Measurename=mCPU
FontColor=#MainTextColor#
StringStyle=NORMAL
FontSize=(#FontHeight#-(80/#ImageSize#))
StringAlign=CenterCenter
FontFace=#FontName#
StringEffect=Border
FontEffectColor=192,192,192,128
SolidColor=0,0,0,1
AntiAlias=1
X=(#ImageSize#/2)
Y=(#ImageSize#/2)
Text=%1%
Hidden=1
DynamicVariables=1
Edit: Added image file...
Post Reply