WenheLI / p5.gif

P5.js gif helper
MIT License
38 stars 4 forks source link

custom filename? #6

Closed shiffman closed 5 years ago

shiffman commented 5 years ago

I'm calling

    recorder.download('codingtrain.gif');

But the file is still named "default.gif". Perhaps I'm setting the filename the incorrect way?

Full code: https://editor.p5js.org/codingtrain/sketches/WfEih8mL7

WenheLI commented 5 years ago

This problem is probably because of caching a wrong version of the library file. The temporary solution is to download the file from the release and manually import it into your project.

WenheLI commented 5 years ago

Custom filename solved. Please use the least cdn.