margelo / react-native-skottie

▶️ Efficient lottie animations using Skia's Skottie module
https://margelo.io
MIT License
868 stars 24 forks source link

Could we use skottie inside rn-skia canvas #6

Open laxman-stan opened 9 months ago

laxman-stan commented 9 months ago

I am exploring the use of react-native-skottie in a project. I'm interested in knowing if there's a possibility or future plans to integrate react-native-skottie within a react-native-skia Canvas.

something like this

<Canvas>
  <Skottie/>
  <OtherCanvasChildern/>
</Canvas>

This integration could enable combining Lottie animations with Skia's drawing capabilities, offering enhanced UI possibilities in React Native apps.

Is this a feasible enhancement for future releases?

hannojg commented 9 months ago

That could be possible yes. react-native-skia would need to add an API to register new node types 🤔 Will discuss this internally 😊