p5js-osc

by genekogan

genekogan /p5js-osc

OSC for p5.js with examples

136 Stars 22 Forks Last release: Not found 22 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

osc in p5.js

adapted from osc-web.

setup

Install node

Clone this repo and run npm to get required libraries.

$ git clone https://github.com/genekogan/p5js-osc
$ cd p5js-osc/
$ npm install

Start node.

$ 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

setupOSC
you give it the input and output ports (default 3333, 3334).

Applications

Thanks Tega Brain for extended notes on the included applications.

There is a demo video of the included examples.

Examples: - Processing (needs oscP5) - Ableton Live (needs LiveOSC and KinectOSC) - FaceTracker (needs FaseOSC) - Kinect (needs KinectOSC)

Low-hanging fruits. - TouchOSC to control p5 from a phone/tablet

p5.js - arduino bridge

@lorenzoromagnoli made this into a standalone application using electron which bridges p5.js to arduino over OSC.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.