power-distribution-card icon indicating copy to clipboard operation
power-distribution-card copied to clipboard

Animation speed

Open littlbee opened this issue 1 year ago • 3 comments

Hey I love this card for my small dashboard on a Lenovo M7 tablet. Just wondering if you could add a parameter to change the speed of the arrows depending on the related sensor value ? The highest the value the highest the speed of the arrow animation.

littlbee avatar Mar 09 '23 10:03 littlbee

Hey there 👋 I have actually played around with something similar in the past and as far as i remember it tends to look atrocious when having either similar or very different values. In addition to that the ability for sensors to consume and produce, doesn't help that either. ATM an animation cycle takes 3 seconds, so the only way to influence that woul dbe to change the keyframe timings.

Do you have a specific example where you would think that this will improve design? I am open to be proved wrong. Take care and stay safe!

JonahKr avatar Mar 17 '23 15:03 JonahKr

I just found this after asking the exact same thing in issue #138

So I guess this gets a +1 from me

The use case would be to see at a glance the difference between something using 238W and something using 817W Also, nice to see power coming from the solar faaaast :)

georgepauna avatar Mar 31 '23 18:03 georgepauna

Perhaps a change in the animated shape to a line with dots moving along it, or a line with a flowing gradient?

jaymunro avatar Nov 05 '23 21:11 jaymunro