p5.localmessage provides an interface to send messages locally from one sketch to another with a service worker for multi-window sketching!