CranberryClock.Ideas / Systems / Design

INDEPENDENT TOOLGrid pathfinding

Wayfinder

A little direction. A world to explore.

Help a letter find the quietest path through a world that keeps changing.

MIT LICENSEv0.1.0MODULAR BY DESIGN
MOONPOST DISPATCH — Wayfinder showcase identity

Moonpost / Night shift 023

Moonpost
Dispatch

Letters find a way.
Help this one find the quietest path.

12 × 10 COURIER GARDEN
RoutePlantersLavender ×5
00 letters delivered

A route is waiting. Try a new destination, or plant a little obstacle in its way.

Grid in. Directions out.

Integration tutorial ↗
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); // Plain { x, y, z } coordinates.
Zero runtime dependenciesDeterministic 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
Download archive ↓Read the integration guide ↗