OSC for p5.js with examples
adapted from osc-web.
Clone this repo and run npm to get required libraries.
$ git clone https://github.com/genekogan/p5js-osc $ cd p5js-osc/ $ npm install
$ node bridge.js
Then run any of the sketches in a browser or from the editor. Can also be run locally (i.e. just open index.html).
Inside each sketch, when you run
setupOSCyou give it the input and output ports (default 3333, 3334).
There is a demo video of the included examples.
Low-hanging fruits. - TouchOSC to control p5 from a phone/tablet