Show HN: Find someone in the dark – light them or light yourself? (Three.js)

modinfo2 pts0 comments

GitHub - skorotkiewicz/signal-in-the-dark: What is more effective? A 3D simulator of finding someone in the dark – shine the light on yourself or on them? · GitHub

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

skorotkiewicz

signal-in-the-dark

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star

main

BranchesTags

Go to file

CodeOpen more actions menu

Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit

History<br>1 Commit<br>1 Commit

README.md

README.md

index.html

index.html

View all files

Repository files navigation

Signal in the Dark

A one-page Three.js experiment comparing two simplified strategies:

Sweep searchlight: the rescuer moves through an expanding search pattern and must illuminate the missing person.

Raise beacon: the rescuer stays put while a mobile missing person tries to recognize and approach an omnidirectional light.

Run

cd signal-in-the-dark<br>python3 -m http.server 8080

Open http://localhost:8080.

The page imports Three.js from a pinned CDN URL, so the first load needs internet access.

Experiment

Use the presets first:

Mobile hiker usually favors the beacon.

Injured makes the stationary beacon ineffective because the missing person cannot approach it.

Dense forest increases line-of-sight occlusion and can produce mixed results.

Run the Monte Carlo comparison after each change. Both strategies receive the same random worlds and starting positions.

Important limitation

This is a conceptual toy model, not validated search-and-rescue guidance. It intentionally isolates a few variables and omits weather, terrain elevation, batteries, sound, radios, group behavior, panic, injuries, and official rescue protocols.

About

What is more effective? A 3D simulator of finding someone in the dark – shine the light on yourself or on them?

a.sekor.eu.org/signal-in-the-dark/

Resources

Readme

Uh oh!

There was an error while loading. Please reload this page.

Activity

Stars

stars

Watchers

watching

Forks

forks

Report repository

Contributors

Uh oh!

There was an error while loading. Please reload this page.

Languages

HTML<br>100.0%

You can’t perform that action at this time.

dark search light signal reload commit

Related Articles