-
Notifications
You must be signed in to change notification settings - Fork 5
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
Browser locks up on download #8
Comments
The locking thing is inevitable right now from our point. |
I can't really help technically on this issue, but i can tell you how i embraced the freeze, for a project where users can make frame to frame animations (like traditional animation), and then thanks to you, can download a animated Gif from their creation. In P5Gif.js, i added a callback function that triggers a message after the file is downloaded. The scenario is :
It's an UX solution, not quite satifying, but it works like this for now ... Cheers. |
@fffiloni Thanks for your suggestion, I will look into them. It's really helpful in term of the UX design. |
i get some verbose console.log from p5 while exporting to Gif for each frame :
Maybe this is related to the freeze problem ? |
Can I have a context of how such verbose is made since in my environment I didn't see these warning? |
I get these when i fire the download function. In the chrome console, i activated all the type of log (verbose, error, info, etc) . So for each image that is processed, we get the first message once, then we have 960 occurences of the second one. And this happen for each frame being processed by p5gif i guess |
The browser page locks when I call
download()
-- I am able to interact again a few seconds later once the file downloads. I've tested in both the web editor and just serving the files locally (only tested with latest chrome on mac os)https://editor.p5js.org/codingtrain/sketches/WfEih8mL7
The text was updated successfully, but these errors were encountered: