2023-12-04 20:44:19 +01:00
2023-11-23 11:03:45 +01:00
2023-11-23 11:03:45 +01:00
2023-11-23 11:05:49 +01:00
2023-12-03 13:33:21 +01:00
2023-11-25 14:44:04 +01:00
2023-12-04 20:44:19 +01:00
2023-11-23 11:03:45 +01:00

A simple code exploration, inspired by (and stollen from) Björn Staal. More info here.

Screen Recording 2023-11-23 at 11 12 57

How to run this experiment locally:

  1. npm i
  2. Then, open one more terminal.
  3. In the first terminal: node server/server.js
  4. In the second terminal: cd client && http-server
  5. Open localhost:8080?b=1 in one tab, and
  6. Open localhost:8080?b=2 in another tab

Future ideas

  1. I plan to add a flag to run this in localStorage mode only
  2. I plan to add an option for an infinity number of windows and remove the need for the query in the URL
  3. Move to WebRTC
Description
No description provided
Readme 76 KiB
Languages
JavaScript 71%
CSS 20.6%
HTML 8.4%