worldmaking / manifolds

1 stars 0 forks source link

some progress working with catart-mubu <> ws #7

Open michaelpalumbo opened 4 years ago

michaelpalumbo commented 4 years ago

I've hacked a catart-mubu patch to be controlled by mouse position in a browser. the mousestate is sent over websocket to a server, which broadcasts via websocket to the max patch. note 2 things: the website also sends the window dimensions so that the max patch can scale correctly (you can resize the browser at any time and max will scale correctly to it.

The following works in the develop branch (but remember to checkout a new branch if you want to experiment!!)

  1. run 'node server.js'
  2. open a browser at 'localhost:3000' (webpage is blank for now)
  3. open the browser's dev console (i.e. if using chrome, hit cmd-option-J for web console)
  4. move your mouse around the blank webpage
  5. optional: open 'manifolds_catart.maxpat'