I hate this the most!

I need help again with codes again. I am trying to get the battery meter & the step meter to go downward and can’t seem to figure it out. Grrrr!!! Obviously, I’m doing something wrong. Would love some help. Also, if possible going to need help with heart rate and ummmm, damn it, just slipped my mind, and I can’t think of it now, but it deals with all the curved meters that people do.

Can someone look at this face I’m working on so you can see what I’m trying to do?

For battery I am using: (#BLN#/337)
For steps I am using: ((clamp(#ZSC#, 0, 10000)/10000)*.297)

And when I put -(#BLN#/337)
-((clamp(#ZSC#, 0, 10000)/10000)*.297)
it all goes wonky!!

TIA!!!

1 Like

It’s always one to get you until it clicks.

For the W Battery:
You are starting with this:
image

You would click Reverse Fill and adjust the rotation.
The amount to adjust by is 360*max fill ratio (0.297 in this case) giving you ~145 (38+107).
If the arc is on the right add it. If it is on the left take it away Though generally it works out of the box on the left.

4 Likes

Sorry I suck at this type of math equations

2 Likes

Also put it in reverse and adjusted the rotation to 145 and when I take the battery level to 0 I’m getting a whole green circle. To me something is right

2 Likes

Opacity: $#BLN#>0?100:0$

Makes it transparent at zero to cope with that glitch.

3 Likes

ok, that worked, Thanks

3 Likes

I am clueless to what all this means. Is why I am asking for help. That is what this forum is for. :slightly_smiling_face: :upside_down_face:

2 Likes

So, if I do this on the opposite side what would it be or even at the top or bottom of the face?

1 Like

Fair enough. It should at least give you keywords to search on for others having asked the same questions, or to help us help you.

Plenty of folks happy to help here.

2 Likes

I know, that’s why I ask :slight_smile:

1 Like

I’ve been away from a computer for a couple of years and only really back a week or so.

2 Likes

Just noticed this but looks like you sussed it

1 Like

?? :thinking:

Steps on left was working correctly when I looked

2 Likes

You know how you can put different colors (Green, Yellow, Orange, Red) on the Battery text or meters? Can this be done on steps too or no?

1 Like

You will have to play with the Transision numbers you will sort it soon . It is a little subjective around when it will be green .

1 Like

One way is to make 2 copies for orange and red. You can either then set opacity for green and orange to turn off when below a certain amount ($BLN#>50?100:0$) as a snap or just copy a complex set to slowly fade.
I keep a template to copy from for new faces:

1 Like

Yes and yes.
inspect this face to see how the battery meter changes color From green trough yellow to red. Similar feature can be arranged for steps.
If you mean only to have a progressbar with colorgradient, then you can make one fixed and cover it with a black progressbar, that grows as the battery depletes.

3 Likes