[sharing is...] MaxMSP/Jitter and P5*js

    Jun 17 2016 | 2:20 pm
    MaxMSP/Jitter and P5*js - a simple solution for interfacing "patches" created in MaxMSP/Jitter and "sketches" written in P5*js (http://p5js.org).
    This is a side effect of my current work on some projects with WRO Art Center, dæd bɑɪtz, and others. It's an simple interface allowing communication between the MaxMSP and P5*js sketches loaded into Max [jweb] object, but can be very useful... for small number of people.
    This "solution" is very basic, but may be easily adapted to individual needs, so I decided to share it with you.
    Btw: Using the P5*js together with Max is opening some new horizons (I explore this issue for some time). I will try to elaborate on this in the near future.

    • Jun 19 2016 | 10:17 am
      thx for sharing
    • Jul 27 2016 | 5:55 pm
      Thank you for sharing this! Huge p5.js fan!
    • Nov 29 2018 | 1:19 pm
      Dear Friends!
      I have updated (and simplified) the instructions a bit.
      Generally, to communicate P5js sketches loaded into Max [jweb] object with the parent patcher we have to avoid namespaces conflict between Max and P5js APIs. Fortunately, there is a very simple solution for this: just run your P5js sketch in so called "instance mode" (not default "global mode").
      Example project and details: https://www.paweljanicki.jp/projects_maxandp5js_en.html