GUI for controlling sketches from separate windows/places

How do people run interactive full-screen p5js sketches while also being able to see controls?

  • do people pipe OSC around?
  • is there an easy way to create a second window so that you can have controls on one window and the sketch running in a separate window?

I’d love some advice!

cheers,

-j-

Hi,

You can use a WebSockets implementation ie. with Node.js, so one window(client) with controls can send information via server to another Window(client) with fullscreen graphics. You can look on howto by the following example from Dan: 12.1: Introduction to Node - WebSockets and p5.js Tutorial - YouTube

Cheers
—mnse

1 Like

Ah, ok - thanks for the link! I figured it’d be something like that…