53GB

Code Train Live 30: Creating Real-Time Shared Canvas with WebSockets



Code Train Live 30: Creating Real-Time Shared Canvas with WebSockets

Live from sfpc.io!
In this video, using p5.js and WebSockets, I look at how to create a real-time collaborative drawing canvas between multiple users through client-server programming. Topics covered: Node.js, Express.js, Socket.io, p5.js.
Plus the beginning of a new segment: The 10 Minute Coding Challenge!

πŸ’» https://thecodingtrain.com/challenges/1-starfield

Timestamps:
12:40 – Starfield Coding Challenge in Processing
46:57 – Presentation of today’s project
51:00 – How to install and use Node.js
1:04:59 – Add web framework Express.js to host files
1:24:29 – Install Socket.io to establish socket connections with server
1:41:38 – Connecting clients to server to share drawing canvas
1:53:10 – Conclusion

πŸš‚ Website: http://thecodingtrain.com/
πŸ‘Ύ Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide
🚩 Suggest Topics: https://github.com/CodingTrain/Suggestion-Box
πŸ’‘ GitHub: https://github.com/CodingTrain
πŸ’¬ Discord: https://thecodingtrain.com/discord
πŸ’– Membership: http://youtube.com/thecodingtrain/join
πŸ›’ Store: https://standard.tv/codingtrain
πŸ–‹οΈ Twitter: https://twitter.com/thecodingtrain
πŸ“Έ Instagram: https://www.instagram.com/the.coding.train/

πŸŽ₯ Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
πŸŽ₯ Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

πŸ”— p5.js: https://p5js.org
πŸ”— p5.js Web Editor: https://editor.p5js.org/
πŸ”— Processing: https://processing.org
πŸ”— https://github.com/CodingTrain/website-archive/tree/main/Node/sockets

Node: https://nodejs.org/en/
Socket.io: http://socket.io/
Express: http://expressjs.com/
p5.js: https://p5js.org/

Learn JavaScript basics:
https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

More about data and APIs:
https://www.youtube.com/playlist?list=PLRqwX-V7Uu6a-SQiI4RtIwuOrLJGnel0r

Help us caption & translate this video!

πŸ“„ Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct

Exit mobile version