INDEPENDENT TOOL / Grid pathfinding
Wayfinder A little direction. A world to explore.
Help a letter find the quietest path through a world that keeps changing.
MIT LICENSE v0.1.0 MODULAR BY DESIGN
Moonpost / Night shift 023
Moonpost Dispatch
Letters find a way. Help this one find the quietest path.
12 × 10 COURIER GARDEN
Route Planters Lavender ×5
Reset view ↗
Dispatch desk
Make a way.
✉
↗ Deliver
▦ Planter
✾ Lavender
◇ Erase
Click a pale tile to set the destination. Drag the garden to orbit.
Route ready REV 01
— Travel cost
— Tile steps
— Explored
Send the moonpost →
Your courier is ready at the southern gate.
Garden arrangement
The lavender detour
A winding way home
The closed garden
A blank canvas
Movement policy
Diagonal · keep corners clear
Four directions only
Diagonal · allow corner cuts
Keyboard & touch cell map ↗
Arrow keys move focus. Enter applies your selected brush. Columns
and rows start at 1.
Export JSON ↓ Import JSON ↑ Reset ↺
00 letters delivered
A route is waiting. Try a new destination, or plant a little obstacle in
its way.
const garden = new Wayfinder ({ width : 12 , height : 10 });
garden.setCell ({ x : 4 , z : 3 }, { cost : 5 });
const route = garden.findPath (courier, destination);
world.setRoute (route.points );
Zero runtime dependencies Deterministic A* Atomic grid edits
A map with clear boundaries
The route knows the tiles.
Planters block a cell. Lavender makes entering it cost five times
more. Stairs, arches, and buildings decorate the garden’s edge; the
navigator operates on one flat XZ grid.
Explore the API ↗
FROM SHOWCASE TO YOUR PROJECT
Take the good parts with you. Edit a grid, adjust travel costs, and compare routes. Take the pathfinding core into your own world.
Download the archive, then install locally.
npm install ./cranberry-forge-wayfinder-0.1.0.tgz