bartbutenaers / node-red-contrib-ui-svg

A Node-RED widget node to show interactive SVG (vector graphics) in the dashboard
Apache License 2.0
94 stars 27 forks source link

How-to suggestions required. #112

Open snowfrogblues opened 2 years ago

snowfrogblues commented 2 years ago

Raising issue as requested by Bart (over 2 months ago :-(

1 - I'm trying to figure out how I could chain animations, so that when one finish it chains with another.

2 - Also, Is there a way, say I have an animation that moves something from X=0 to 100 and an event legitimately stops the animation. I would like to retrieve the value of X after the stop event so I can resume the animation where it left off.

Any suggestions would be greatly appreciated.

bartbutenaers commented 2 years ago

@snowfrogblues,

  1. I have added a new tutorial on the wiki about chaining animations.

  2. I can't think of a way to get that value at the moment. Isn't the "freeze" option (see the new tutorial above) enough for your purpose?

Bart