Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
michaelpalumbo opened this issue Mar 15, 2020 · 0 comments
Open

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

michaelpalumbo opened this issue Mar 15, 2020 · 0 comments
Assignees

Comments

@michaelpalumbo
Copy link
Collaborator

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'
@michaelpalumbo michaelpalumbo self-assigned this Mar 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant