lovelace-fluid-level-background-card icon indicating copy to clipboard operation
lovelace-fluid-level-background-card copied to clipboard

Amend animation speed

Open shogun168 opened this issue 1 year ago • 4 comments

Is your feature request related to a problem? Please describe. Nope

Describe the solution you'd like A way to control the speed at which the animation happens.

Describe alternatives you've considered Nothing

Additional context Currently for very large cards, it's pretty slow.

shogun168 avatar Jun 18 '24 23:06 shogun168

First: Very Nice Card, I love it!

It would also be nice to have some control over when the animation starts, so that if you have multiple cards, they don’t all follow the same rhythm.

i4mr000t avatar Apr 16 '25 15:04 i4mr000t

they don’t all follow the same rhythm

Sorry, how do you expect to define “when animation starts”? Also, different starting points (as expected since UI is shown card by card) simulate a real life situation.

ildar170975 avatar Apr 16 '25 23:04 ildar170975

The definition for triggering an animation at different times can be implemented in a variety of ways.

animation_start: 0 ← starts immediately

animation_start: 0.5 ← starts half a second later

animation_delay: 0.5 ← adds a delay before the animation begins

animation_speed: 0.7 ← adjusts the animation speed (slower or faster)

I’ve created the following card (printer card) where each column moves in sync with the others. This looks a bit static at the moment, and introducing slight variations in the animation’s start time (through delay or speed adjustments) could make the overall effect appear smoother and more dynamic imho.

Image

i4mr000t avatar Apr 17 '25 04:04 i4mr000t

We can use a random delay if enabled

swingerman avatar Apr 17 '25 07:04 swingerman