Gauge animations based on input values

Please add the ability to scale the image and text sensor depending on the set value at the input.
In this way, we will be able to move as if in three-dimensional space along the Z axis.

You confused me. Are you tryna scale the image? If so I believe you can do this with animation XML. You can set the image copy the coordinates? And then upscale and position it again and copy the coordinates.

do I need to copy and set the value for each kilometer/meter? Are you serious?

Please explain in more detail of what you are trying to achieve. Your question is too generic and hard to understand.

Yeah, one minute it sounds like you want an image animation to scale up and down size. Next you’re talking about kilometers/meters. I don’t know if there’s a translation issue but you lost me here.

Hi. I mean, increasing or decreasing an object, such as a picture or text, depending on the input value to which it is connected. For example, if we connect text to the speed input, it can have a size of 20x20 pixels with a value of “0 km/h” at the input, and if the input is 160 km/h, the text will increase proportionally to the speed and will be 50 x 50 in size.

You added this to your to-do list a couple of years ago, and then you said you were interested! But then I apparently forgot.

I have a faint memory that we have been discussing this years back. I think I dismissed this as implementation time/benefit did not make sense. This is after all very specific thing that would allow very rare use case.

I will put this into feature request list, but no promises. This is not as simple to implement as it may feel. Our gauge animation system is already, shall we say “fragile”.

2 Likes

Good. Let’s hope so.

By the way, you have already implemented this) When we click on the “Button” object, it decreases, and you can even adjust these settings! Should I do this with text and image sensors?

Yes and it’s also implemented with animations where you can have an image change size and location. I believe what he’s saying though is that their animation coding can easily break trying to implement an animation that’s constantly changing size depending on variable. A button press is a simple one time animation for the most part and same with other animations. But a continuous one, especially with text could cause issues within RealDash.

enjoying the post. DEV can I create new pointers and animate them? If so, is it through the xml code or can I import it into the real dash editor itself?

Last I checked you need XML to animate changing positions. Only fade in and fade out can be done without an XML.

1 Like

Alright. I typically do not implement any feature requests that I do not fully understand the use-case for, but maybe this will be useful for some sort of crazy animations. See:

RealDash-extras/Dashboard-animation-examples at master · janimm/RealDash-extras

There is a new animation example: value_anim_example.rd with associated _anim.xml file. That demonstrates the concept of animating gauges by input value.

In order to experiment with this example, RealDash 2.4.7-prerel1 (or newer) is required. It is available via testers Dropbox link. If you want to try, but do not have pre-release Dropbox link, request link from contact@realdash.net.

1 Like

Edit: Forum is English only.

I don’t understand what you mean. All messages here are in English.

Message above by CoTECH was written in some other language. I moderated it and left a note.

I’m sorry! I want to report on the excellent work of the pre-release. The function works great. Thank you for that. I have only one question. Is it possible to make the animation smoothness parameter in XML similar to the smoothness in the editor?

Would it be ok if animation just uses the value smoothing from the gauge that is animated?

1 Like

Yes. That’s what I meant!