HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
Momciloo
fun-with-sockets
JavaScript2023–2023
Momciloo / fun-with-sockets

fun-with-sockets

Discover this repository through its Hacker News conversations.

2Distinct people
2Mentions
0Explicit recommenders
556GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A public description has not been verified.

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by 3-hour interval2 dated mentions

Observed mentions: 2023-11-25 14:16:49 UTC to 2023-11-28 03:25:05 UTC.

012023-11-25 12:00:00 UTC to 2023-11-25 15:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsNov 25, 12:002023-11-25 15:00:00 UTC to 2023-11-25 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-25 18:00:00 UTC to 2023-11-25 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-25 21:00:00 UTC to 2023-11-26 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-26 00:00:00 UTC to 2023-11-26 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-26 03:00:00 UTC to 2023-11-26 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-26 06:00:00 UTC to 2023-11-26 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-26 09:00:00 UTC to 2023-11-26 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-26 12:00:00 UTC to 2023-11-26 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-26 15:00:00 UTC to 2023-11-26 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-26 18:00:00 UTC to 2023-11-26 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsNov 26, 18:002023-11-26 21:00:00 UTC to 2023-11-27 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-27 00:00:00 UTC to 2023-11-27 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-27 03:00:00 UTC to 2023-11-27 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-27 06:00:00 UTC to 2023-11-27 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-27 09:00:00 UTC to 2023-11-27 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-27 12:00:00 UTC to 2023-11-27 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-27 15:00:00 UTC to 2023-11-27 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-27 18:00:00 UTC to 2023-11-27 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-27 21:00:00 UTC to 2023-11-28 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-28 00:00:00 UTC to 2023-11-28 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-28 03:00:00 UTC to 2023-11-28 06:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsNov 28, 03:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Nov 25, 12:002023-11-25 12:00:00 UTC2023-11-25 15:00:00 UTC110
Nov 25, 15:002023-11-25 15:00:00 UTC2023-11-25 18:00:00 UTC000
Nov 25, 18:002023-11-25 18:00:00 UTC2023-11-25 21:00:00 UTC000
Nov 25, 21:002023-11-25 21:00:00 UTC2023-11-26 00:00:00 UTC000
Nov 26, 00:002023-11-26 00:00:00 UTC2023-11-26 03:00:00 UTC000
Nov 26, 03:002023-11-26 03:00:00 UTC2023-11-26 06:00:00 UTC000
Nov 26, 06:002023-11-26 06:00:00 UTC2023-11-26 09:00:00 UTC000
Nov 26, 09:002023-11-26 09:00:00 UTC2023-11-26 12:00:00 UTC000
Nov 26, 12:002023-11-26 12:00:00 UTC2023-11-26 15:00:00 UTC000
Nov 26, 15:002023-11-26 15:00:00 UTC2023-11-26 18:00:00 UTC000
Nov 26, 18:002023-11-26 18:00:00 UTC2023-11-26 21:00:00 UTC000
Nov 26, 21:002023-11-26 21:00:00 UTC2023-11-27 00:00:00 UTC000
Nov 27, 00:002023-11-27 00:00:00 UTC2023-11-27 03:00:00 UTC000
Nov 27, 03:002023-11-27 03:00:00 UTC2023-11-27 06:00:00 UTC000
Nov 27, 06:002023-11-27 06:00:00 UTC2023-11-27 09:00:00 UTC000
Nov 27, 09:002023-11-27 09:00:00 UTC2023-11-27 12:00:00 UTC000
Nov 27, 12:002023-11-27 12:00:00 UTC2023-11-27 15:00:00 UTC000
Nov 27, 15:002023-11-27 15:00:00 UTC2023-11-27 18:00:00 UTC000
Nov 27, 18:002023-11-27 18:00:00 UTC2023-11-27 21:00:00 UTC000
Nov 27, 21:002023-11-27 21:00:00 UTC2023-11-28 00:00:00 UTC000
Nov 28, 00:002023-11-28 00:00:00 UTC2023-11-28 03:00:00 UTC000
Nov 28, 03:002023-11-28 03:00:00 UTC2023-11-28 06:00:00 UTC101

What Hacker News says

2 sources
A link to try this yourself: https://bgstaal.github.io/multipleWindow3dScene The popular version by the same author with the very fancy graphics: https://twitter.com/_nonfigurativ_/status/172732259457002734... (Code is not public, this demo sparked the whole thing) The other project like this on HN the other day used Broadcast Channels instead of localStorage, so it didn't have the delay this one has: GitHub (has a GIF): https://github.com/Momciloo/fun-with-sockets/ HN discussion: https://news.ycombinator.com/item?id=38413660
In Synchronize a 3D scene across multiple windows using Three.js and localStorage
momciloo·Nov 25, 2023Submission

Show HN: I saw this mind-blowing experiment, so I made a simple version of it

Two browser windows (acting as socket clients) communicate their: - Screen dimensions - (screen.width, screen.height) - Window dimensions - (window.innerWidth, window.innerHeight) - Window X/Y position - (window.screenX, window.screenY) ...or whichever calculation works best for you. The original work by Bjorn Staal https://twitter.com/_nonfigurativ_/status/172732259457002734 used localStorage, but I found sockets more fun, because if tweaked a bit, this can be shared with friends. Here's a demo of how it works and the codebase: https://github.com/Momciloo/fun-with-sockets/
403 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.