These three example projects show how to use websockets (Socket.io) to send data back and forth between Max and a website over the internet (computers running Max and devices accessing the website can be in different parts of the world). This video discusses Max, Node for Max, JavaScript, HTML, CSS, Websockets (Socket.io), Servers, Node.js, Chat, and JavaScript Objects.
File Assets & Written Instructions:
https://github.com/benjohansen/Websoc...
00:00 Intro
00:14 Demo
02:00 Understanding Websockets
Setting Up Github Files:
05:38 web-server.js setup (Glitch)
06:15 web-client.js setup (W3Schools Space)
06:51 max-client.js setup (Max)
How Each Project Works:
07:41 "bang" project
10:53 "simple chat" project
12:37 "objects" project
Suggested Tools:
Max = https://cycling74.com/
new Glitch project = https://glitch.new/blank
basic W3Schools Space = https://spaces.w3schools.com/createspace
https://benjohansen.com/
==========================================================
Credits:
Music: Bensound.com/royalty-free-music
License code: WC6KOUDKUOSIK5O4
Music from Uppbeat (free for Creators!):
https://uppbeat.io/t/philip-anderson/...
License code: O1JF0UKUMYDNGIU3
Music from Uppbeat (free for Creators!):
https://uppbeat.io/t/aaron-paul-low/f...
License code: FDE8XWVJKTGBMUDJ
Music from Uppbeat (free for Creators!):
https://uppbeat.io/t/mark-july/chase-...
License code: V4B6AO8557XP7MLE
#cycling74 #maxmsp #websockets #socketio #javascript #nodejs #html #css #glitch #w3schools