We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/program-in-chinese/p5js_in_chinese/blob/master/3D/%E5%9F%BA%E6%9C%AC/%E6%BC%94%E7%A4%BA.js
在官方论坛提问, 还未有结果: saveFrames for canvas with WEBGL renderer
另外看到一处开发者评论, 似乎不支持: http://qiita.com/hp0me/items/1570694d9f61368f3ae6#comment-28790f29e14af374d5ae
その後jsgifなどのライブラリを使って直接CanvasからGIFに落とせないか検討してみたのですが、WEBGLでcreateCanvas()した場合、p5.js側で{preserveDrawingBuffer: false}が指定されており、p5.jsに手を入れない限りはcanvasのイメージ取得ができないようでした。saveFrames()などの関数もWEBGLモードでは動いていないようですね。
The text was updated successfully, but these errors were encountered:
刚试了好像和上面的preserveDrawingBuffer: false有关. 改成true之后保存出的文件不是空了, 但显示有问题:
preserveDrawingBuffer: false
Sorry, something went wrong.
No branches or pull requests
https://github.com/program-in-chinese/p5js_in_chinese/blob/master/3D/%E5%9F%BA%E6%9C%AC/%E6%BC%94%E7%A4%BA.js
在官方论坛提问, 还未有结果:
saveFrames for canvas with WEBGL renderer
另外看到一处开发者评论, 似乎不支持:
http://qiita.com/hp0me/items/1570694d9f61368f3ae6#comment-28790f29e14af374d5ae
The text was updated successfully, but these errors were encountered: