Running Scripts in Multiplayer
I had not heard about BlueSky before, just joined.
And I finally tried MultiPlayer and of course ran through some of my api scripts. Seems to be working. I was alone in Room 1 (this is a good default room for beta testing). This would be a great way to share my api scripting creations live and be able to explain through my work for those interested...
5 Replies
It's interesting to hear you're exploring multiplayer's potential for sharing your API scripts.
Please, keep in mind that API scripts generate long chains of brush strokes. This brush stroke chains synchronize across the network slower than how they appear in your local sketch environment.
Furthermore, once a long brush stroke queue are generated, any newly manually created brush strokes will be added to the end of the queue. These strokes won't be visible to your peers until the entire queue has been broadcasted, which might cause delays in real-time collaboration.
Local Sketch Environment
[Script Stroke 1] --> Instant
[...]
[Script Stroke 50] --> Instant
[...]
[Script Stroke 100] --> Instant
[Manual Stroke (executed after script)] --> Instant
Peers’ View
[Script Stroke 1] --> Delay
[...]
[Script Stroke 50] --> Longer Delay
[...]
[Script Stroke 100] --> Significant Delay
[Manual Stroke (executed after script)] --> Longest Delay
[Script Stroke 1] --> Instant
[...]
[Script Stroke 50] --> Instant
[...]
[Script Stroke 100] --> Instant
[Manual Stroke (executed after script)] --> Instant
Peers’ View
[Script Stroke 1] --> Delay
[...]
[Script Stroke 50] --> Longer Delay
[...]
[Script Stroke 100] --> Significant Delay
[Manual Stroke (executed after script)] --> Longest Delay
It's going to be fun to see how plugins interact with multiplayer: https://www.youtube.com/watch?v=ZfUjupbjMOM
(although to be fair - you can get that many pointers going at once with the existing multimirror feature)
this looks amazing !!!
okay that's good info. I guess I'll only be able to quantify these delays when I try MP with another guest. Initially I imagine just sharing an api creation, so a slow motion rendering from a guest's perspective is a desirable experience as they have time absorb the script's mechanics. I've tried creating a webpage to share a small sample of my works as well. Here is an example if you're interested in this use case of re-generating an "artist's" work via locally executed api commands triggered from the artist's webpage:
https://x.com/DwillingtonWest/status/1868191241109983527
dwillington (@DwillingtonWest) on X
Inspired by a recent @poetengineer__ creation, I remixed my own in @openbrushapp. Meant to be viewed in VR, so you can visit https://t.co/6jyWkys72A in browser in VR while running Open Brush. Then click the 🪷, see video.
bonus points for guessing the animation...
Twitter