Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roadmap for upcoming features #32

Closed
hannojg opened this issue Dec 17, 2021 · 12 comments
Closed

Roadmap for upcoming features #32

hannojg opened this issue Dec 17, 2021 · 12 comments

Comments

@hannojg
Copy link
Contributor

hannojg commented Dec 17, 2021

Hey 👋
Thank you so much for this great work!

I was wondering whether there is an official roadmap where we can see which features you guys are still working on? For example, I thought about getting into all of this by bringing over the Skottie module(?). However, I don't know whether someone else is already working on it. So, for contributors, I think it'd be great to have a shared roadmap?

(asking because in the presentation video of Skia you guys gave estimates when you will have 100% feature completeness)

@wcandillon
Copy link
Contributor

Thanks! We do have some planned milestones, we just need to import them into this report. We will get to it, maybe after the holidays ;-)

@arasrezaei
Copy link

1++ for the skottie

@yaaliuzhipeng
Copy link

how about the Shadow ?
The shadow of android has always been sucked for years compare to iOS . The flutter showed us the great example of shadow usage based on skia-engine . Perhaps it's the most gentle way to bring the featured shadow to android for RN.

@wcandillon
Copy link
Contributor

@arasrezaei may I ask about your use-cases for Skottie support? You may want to file a separate issue for this.
I'm closing this for now. Feel free to reopen if needed

@wcandillon
Copy link
Contributor

@hannojg @arasrezaei may we ask about your use cases with Skottie? Why are you considering it versus using LottieView?

@hannojg
Copy link
Contributor Author

hannojg commented Jun 23, 2022

@wcandillon The main issue we face with LottieView is performance. Due to the fact that it uses the platform's animation API to run the animation continually, it comes with a certain CPU cost. For "complex" lottie animation this can be pretty high.
(For that very reason we were investigating using rlottie in react-native as it prerenders all the frames and so we just animate a bunch of bitmaps)

Mostly this is concerning low-end devices, especially on Android.
(The high CPU cost then causes a drop on the UI FPS/thread, meaning we are skipping frames and not running on 60 FPS anymore :( )

It would be very interesting for us to see the performance of skottie VS lottie-ios/android. I am not sure how skottie works internally and whether there is a good chance it will provide performance improvements.

@robertherber
Copy link

Not sure how much of a low-hanging fruit this is but it sure would be nice.

I see three main use-cases for this:

  • Consistency between platforms. Using it in react native now results in some inconsistencies between platforms (esp. web) regarding positioning and size, which has to be compensated for with platform-specific styles for each Lottie file.
  • Performance. As @hannojg mentioned.
  • Bundle size. Lottie is big, at least for web. Obviously CanvasKit as well. Being able to deal with it all through Skia would be nice.

@iway1
Copy link

iway1 commented Feb 4, 2023

LottieView has pretty horrific performance. Can make even high end devices lag.

Would be awesome to get Skottie =D

@arasrezaei
Copy link

arasrezaei commented Feb 4, 2023

I agree, we need a wrapper around skottie with all features, lot's of people are heavily depend on lottie animations, but lottie react native is slow.

Also with react native skia we can get a great support for rive animations too :))

May be @hannojg could help us.

@damikdk
Copy link

damikdk commented Apr 12, 2023

Some time has passed since the latest updates, but it has not become easier to overcome manual skia/skottie setup yourself! Do you still have plans for skottie module?

in addition to the advantages of skottie listed in this issue and pull request, I would like to note skottie's much broader support for after effects features.

From your blog post it seems obvious that some kind of working implementation exists, but there are no actual supported public implementations? Looks like this two branches is the closest code to success?

Thanks @hannojg for this, btw!

@hannojg
Copy link
Contributor Author

hannojg commented Apr 13, 2023

Hey @damikdk to be honest I forgot about this project since I left the project I initially start building rn-skottie for. However, there seems to be a lot of interest and I have some spare capacity.
Will try to work on it in the following weeks, will keep y'all updated 😊

@qalqi
Copy link

qalqi commented Sep 4, 2023

Skia Lottie for game elements will be super cool. or, we need Image sprites similar to css background position implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants