# P5.localmessage (testing, feedback, & discussion)

**URL:** <https://discourse.processing.org/t/p5-localmessage-testing-feedback-discussion/10889>\
**Category:** Libraries\
**Created:** [May 3, 2019, 6:49pm UTC](https://discourse.processing.org/t/p5-localmessage-testing-feedback-discussion/10889 "2019-05-03T18:49:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bmoren](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/bmoren/32/68_2.png) [@bmoren](https://discourse.processing.org/u/bmoren)\
**Post date:** [May 3, 2019, 6:49pm UTC](https://discourse.processing.org/t/p5-localmessage-testing-feedback-discussion/10889/1 "2019-05-03T18:49:55Z")

</div>

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](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.

![localmessage](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/d/d20aea8c6e9a14f07bf9c74317e9e64ffa872c39.png)

Example Sketches:

- [Basic Example](http://bmoren.github.io/p5.localmessage/basic_example/index.html)
- [Draw Example](http://bmoren.github.io/p5.localmessage/draw_example/index.html)
- [Basic Communication between a controller sketch & display sketch](http://bmoren.github.io/p5.localmessage/two_sketch_communication_example/index.html)
- [Advanced Communication with multiple pieces of data](http://bmoren.github.io/p5.localmessage/advanced_communication_example/index.html)
