HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
matthiasgibis
2d-grid-reachability-check
HISTORICAL RECORD2025–2025
matthiasgibis / 2d-grid-reachability-check · Not publicly available

2d-grid-reachability-check

Discover this repository through its Hacker News conversations.

2Distinct people
2Mentions
0Explicit recommenders
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 hour2 dated mentions

Observed mentions: 2025-06-05 18:55:01 UTC to 2025-06-06 01:42:56 UTC.

012025-06-05 18:00:00 UTC to 2025-06-05 19:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsJun 5, 18:002025-06-05 19:00:00 UTC to 2025-06-05 20:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-05 20:00:00 UTC to 2025-06-05 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-05 21:00:00 UTC to 2025-06-05 22:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsJun 5, 21:002025-06-05 22:00:00 UTC to 2025-06-05 23:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-05 23:00:00 UTC to 2025-06-06 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-06 00:00:00 UTC to 2025-06-06 01:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-06 01:00:00 UTC to 2025-06-06 02:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJun 6, 01: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
Jun 5, 18:002025-06-05 18:00:00 UTC2025-06-05 19:00:00 UTC110
Jun 5, 19:002025-06-05 19:00:00 UTC2025-06-05 20:00:00 UTC000
Jun 5, 20:002025-06-05 20:00:00 UTC2025-06-05 21:00:00 UTC000
Jun 5, 21:002025-06-05 21:00:00 UTC2025-06-05 22:00:00 UTC000
Jun 5, 22:002025-06-05 22:00:00 UTC2025-06-05 23:00:00 UTC000
Jun 5, 23:002025-06-05 23:00:00 UTC2025-06-06 00:00:00 UTC000
Jun 6, 00:002025-06-06 00:00:00 UTC2025-06-06 01:00:00 UTC000
Jun 6, 01:002025-06-06 01:00:00 UTC2025-06-06 02:00:00 UTC101

What Hacker News says

2 sources

O(1) memory, no-preprocessing reachability algorithm for 2D grids

I’ve been working on a reachability checker for 2D grids that: - uses *O(1) memory* - requires *no preprocessing* - handles *arbitrary obstacle maps* - and finishes in under 0.1ms even on large grids (e.g. 16,000×16,000 from bottom-left to top-right) It works without BFS, DFS, A, or flood fill. The core idea is a hybrid of greedy movement toward the goal and robust outline-following (wall tracing) that switches direction when needed and detects loops to ensure correctness. The algorithm is fully deterministic and guarantees correctness for any map and any pair of walkable start/end points. My motivation: I want to make traditional flood fill obsolete for any project that uses it purely for reachability checks. In many real-time systems (like games), a full BFS/DFS or even region-preprocessing is overkill when you just need to answer
Read the rest
: “Can I reach tile B from tile A?”* Here’s the Swift version of the main logic https://github.com/MatthiasGibis/2D-Grid-Reachability-Check/blob/main/mgReachabili… A variant that considers *height differences* is also available. https://github.com/MatthiasGibis/2D-Grid-Reachability-Check/blob/main/mgReachabili…
4 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.