trois icon indicating copy to clipboard operation
trois copied to clipboard

Animation API

Open klevron opened this issue 4 years ago • 2 comments

It could be great to have a simple animation api to handle add and remove object with tweens, I needed this for https://troisjs.github.io/little-planet/

It could be nice to use the same directives of https://github.com/vueuse/motion, thanks @Tahul for the idea and the great work on your lib 👍

klevron avatar Mar 20 '21 20:03 klevron

Would love to help on this!

I released useSpring recently that uses Popmotion straight and accepts any kind of object (reactive or not).

I think we could easily implement some kind of direct bindings with your API as another module exported from @vueuse/motion providing some compatibility?

Tahul avatar Mar 20 '21 20:03 Tahul

👍 will try this soon

klevron avatar Mar 20 '21 20:03 klevron