Skip to content
项目

关于

OSC for p5.js with examples

学习与教育

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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:

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.

探索相关项目

加载中…