Replies: 1 comment 3 replies
-
Hello, @peter100u ! I like your question, for a couple of reasons. I am happy to hear of your motivation to share your py5 work with others. py5 is usually run on a local machine. It is possible to run py5 on a server with JupyterHub, including free services like binder. It can run in Google Colab but Colab has some weird issues that I can't deal with now. But anyway, when run on a server, the question becomes, how do you see it and how do you interact with it? For a while py5 had a ipython widget called a SketchPortal that let you see the running Sketch and even responded to mouse and keyboard inputs. The frame rate wasn't perfect but it did in fact work. Unfortunately it broke a few releases ago because of changes in Jupyter. I have a idea for how to address this and will look into that later this year. If I got it to work again, it might be possible to do something interesting with Mercury. That's on my list of things to play around with when I get a chance. Finally, I'll point out you can always record a Sketch and make a video out of it. That probably isn't what you had in mind when you asked about sharing though. If sometime you do want to do that you can save a sequence of frames using |
Beta Was this translation helpful? Give feedback.
-
As far as I know, it only runs on local machines. Good works deserve to be shared, so my question is, can it run on the browser so we can share it with more friends
Beta Was this translation helpful? Give feedback.
All reactions