-
Notifications
You must be signed in to change notification settings - Fork 120
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
Can p5 be used as headless library? #339
Comments
Thank you for submitting your first issue to p5py |
There isn't direct support as of now for p5py to be used headlessly, you could however use virtual frame buffers. |
How would one go about this ? |
I did some digging, I can some a long way by running the rendering process in a separate thread. |
Is there any progress on this front? |
@ivanlen it's still a WIP, but you can checkout https://py5coding.org/index.html which supports this. |
Yes thanks!, already saw that one but they are using ipython kernel as backend which is not currently compatible with ARM mac architecture. I was able to make work |
@ivanlen one of our 2D rendering backend skia supports this feature - but it's still a WIP and I am not sure if I can find time for it soon. |
I am using pycairo as headless canvas. But its API isn't compatible with processing's.
If P5 can be used as headless canvas, it would be great.
If yes, how to use it? I couldn't find such information from doc.
Thanks
The text was updated successfully, but these errors were encountered: