genekogan / p5js-osc

OSC for p5.js with examples
219 stars 39 forks source link

Modified p5-basic sketch and ProcessingOSC to send and receive #3

Closed aatishb closed 7 years ago

aatishb commented 8 years ago

Hi Gene,

I tested out the p5-basic sketch, and modified it so each sketch sends its mouse position, and draws at the mouse position received from the other sketch. This way we can quickly test send and receive at the same time with both sketches (p5 & Processing) open.

Some modifications I made:

Tested it a bunch for reliability and it seems to work very well.

Feel free to include any of these changes if you like.

Cheers, Aatish