# SImultaneous sketch excecution on different computers

**URL:** <https://discourse.processing.org/t/simultaneous-sketch-excecution-on-different-computers/8479>\
**Category:** Libraries\
**Created:** [February 17, 2019, 1:19pm UTC](https://discourse.processing.org/t/simultaneous-sketch-excecution-on-different-computers/8479 "2019-02-17T13:19:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcovvv](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@marcovvv](https://discourse.processing.org/u/marcovvv)\
**Post date:** [February 17, 2019, 1:19pm UTC](https://discourse.processing.org/t/simultaneous-sketch-excecution-on-different-computers/8479/1 "2019-02-17T13:19:06Z")

</div>

Hi,  
Is there a library to start simultaneously, in sync, two or more different sketches, each one in a different computer on a internal LAN and projecting on different projectors?  
any latency issue?

thanks  
marco

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [February 20, 2019, 8:00pm UTC](https://discourse.processing.org/t/simultaneous-sketch-excecution-on-different-computers/8479/2 "2019-02-20T20:00:26Z")

</div>

@marcovvv – do you want two different (totally unrelated) sketches, or do you want the same sketch?

Will there be message passing – e.g. a ball bouncing between two screens, like in MostPixelsEver?

Do they need to just start in sync, or do they need to _stay_ in sync? If so, what kind of content and what level of precision do you need – seconds, milliseconds? For example, video sync.

I wrote a few little library components to deal with the problems of starting and stopping shared sync applications across different machines – whether or not they shared an internal LAN – as long as their system clocks were in sync. I never released it, but I could take another look.

---

<div class="post-metadata">

**Author:** ![marcovvv](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@marcovvv](https://discourse.processing.org/u/marcovvv)\
**Post date:** [February 21, 2019, 11:40am UTC](https://discourse.processing.org/t/simultaneous-sketch-excecution-on-different-computers/8479/3 "2019-02-21T11:40:42Z")

</div>

Hi @jeremydouglass  
thank you for you answer.  
It is a video installation made out of three different sketches. They have same origin but they evolve in different way that’s why i need to start all the three in sync, and after they start it is just a matter of the coding to keep them in sync.
