webrtc setup (Link)
  • cd express_server –> npm run watch
  • cd browser_client –> python -m SimpleHTTPServer 8000
  • cd (the folder ngrok is at) –> ./ngrok http 80
  • p5.js editor –> upload webrtc_peer_client.js –> put  in index.html –> write code in sketch.js

In the sketch.js,

  • const mirror = false;
  • WebRTCPeerClient.setDebug(false);
  • WebRTCPeerClient.initSocketClient(‘ngrok link from the terminal’);
* it should be https not http
Designing two people interaction that encourages user to co-present
“It takes two to tango: 6-foot-rule”

Reference on generative art idea