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

Performances issue when above a video element #1071

Closed
vincentwinkel opened this issue Jun 8, 2020 · 1 comment
Closed

Performances issue when above a video element #1071

vincentwinkel opened this issue Jun 8, 2020 · 1 comment

Comments

@vincentwinkel
Copy link

I saw many tickets about performances, but none of them can fix my issue.

I cannot show any code here, but I'm using Flickity as slider on top on video + canvas elements (including face tracking + 3d rendering, very resource-consuming).

When the video is off, the slider works well. The video being on, the perfs drastically decrease and the sliding effect is jerky.

Checking a bit the code, I'm wondering why you use some CSS properties that you update every milliseconds instead of just using CSS animations / transitions. Also, using 3d transformations in CSS seems less resource-consuming.

I made a video here: https://beta.winky.fr/flickity.webm

@vincentwinkel
Copy link
Author

Here is an interesting article about animations: https://github.com/vincentwinkel/MIDISequencer/blob/master/screen.png

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

No branches or pull requests

2 participants