Hello! I’m releasing a new library for p5.js today. I’m hoping that this thread can encourage other people to try it out, and test if before I add it officially to the p5.js homepage.
Github Repository: https://github.com/bmoren/p5.localmessage
p5.localmessage provides a simple interface to send messages locally from one sketch to another. This is a very useful tool for multi window sketches, or allowing sketches to communicate with one another across multiple displays connected to the same machine. A typical application is having one sketch as a controller window and another sketch as the visual output.