nowfound

Work · April 30, 2015

LP

L1-path-finder, a fast path planner for grids

L1-path-finder, a fast path planner for grids launched on April 30, 2015 with 30 votes, #993 of 3,600 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 11 years on.

In plain words

L1-path-finder is a JavaScript library that finds shortest paths in grid-based mazes and environments. Users provide a binary ndarray representing a grid layout, and the tool builds a data structure that enables fast path queries. The .search() method then computes the shortest route between any two points on the grid. It is designed for developers building games, robotics applications, or other systems requiring efficient pathfinding on discrete grids.

written from the facts on this page · September 2026

From the sources

Given a binary ndarray encoding a grid, calling l1-path-finder constructs a data structure for shortest path queries. You can then query the planner by calling .search(), which computes the shortest path between a pair of points. That's it! var ndarray = require ( ' ndarray ' ) var createPlanner = require ( ' l1-path-finder ' ) //Create a maze as an ndarray var maze = ndarray([ 0 , 1 , 0 , 0 , 0 , 0 , 0 , 0 , 1 , 0 , 1 , 0 , 0 , 0 , 0 , 1 , 0 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 1 , 0 , 0 , 0 , 0 , 1 , 0 , 1 , 0 , 0 , 0 , 0 , 1 , 0 , 1 , 0 , 0 , 0 , 0 , 1 , 0 , 1 , 0 , 1 , 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , ], [ 8 , 7 ]) //Create path planner var planner = createPlanner(maze) //Find path var path =…from mikolalysenko.github.io

Does a similar job

all alternatives →

More work this month

the category →

Source: Show HN post ↗

Launched alongside, April 2015

the whole month →
  • Hunter▲1,703

    Find any company logo by domain with Hunter’s free logo API. No account, no API key. The simplest Clearbit Logo API replacement, switch in 30 seconds.

    Growth · 2015 · hunter.io

  • View Mac keyboard shortcuts in the current application

    Work · 2015 · mediaatelier.com

  • Helium▲794

    A floating browser window for your Mac

    Work · 2015

  • saas that helps convert

    Life & fun · 2015 · transformy.io

  • AR

    Life & fun · 2015 · tiffzhang.com

  • Operator▲546

    Looking for something? Make a request and we'll find it.

    AI · 2015 · operator.com