Luna · a way of seeing

Data is a point space.
Clusters are the shapes in it.

Everything below is one idea, drawn twice. There is no product here and no benchmark. There is a way of looking at a problem that made it tractable, and two animations that show it.

01 / Framing

What Luna is for

Luna is a small navigation system. But the thing worth saying about it is not that it drives. It is the question it was built to answer, which is older and simpler than robotics:

If you cannot label your data, how do you find the structure in it?

The answer Luna commits to is to stop thinking of the data as a picture or a grid, and start thinking of it as a cloud of points in a space. A point per cell of the map. Nearby points are similar; far points are different. That is the whole setup.

Once the data is a point space, structure stops being something you impose and becomes something you observe. Where are the points dense? Where are they sparse? The dense regions are the structure. They are called clusters, and no one had to tell the algorithm how many there are.

02 / The picture

Points, density, clusters

The animation runs in three beats. First the data arrives as a scatter of points. Then it is read as a density — a landscape that is high where points gather. Then the high ground is named: each dense region becomes one cluster, found rather than given.

One cloud, three readings. Points (top) are the data. Density is what those points imply. Clusters are the dense regions, coloured once the density says they are separate.
cluster A cluster B low density

03 / The analogy

A map is a point cloud

Now put a robot on that cloud. Each cell the robot has seen becomes a point. Two points are similar when they are both open space; different when a wall separates them. The clusters that fall out are exactly the things a driver cares about:

a dense, roomy region is a room. The thin, sparse neck between two rooms is a doorway. The whole map becomes a small graph of rooms and doorways — and it was never labelled by hand. The structure was read off the density.

That is the bridge from an abstract idea to a working one. The same sentence that describes a point cloud also describes a building.

04 / The catch

When two clusters are really one

There is one hard question left, and it is the whole difficulty. Two dense regions might be genuinely separate, or they might be one region pinched in the middle. How deep must the pinch be before you call it a doorway rather than a wobble?

The animation answers it the only honest way: lower a threshold and watch. As the level drops, the two clusters hold together until it reaches the height of the valley between them — then they merge. The depth of that valley is how real the separation was. It is called persistence.

The merge is the measurement. The dashed level sweeps down. While it sits above the valley the two peaks are two clusters; when it passes the valley they become one. The valley depth is the persistence — a number, not a guess.
level above valley → 2 clusters level below valley → 1 cluster

05 / Why it matters

One idea, three jobs

The reason to fix on a single idea is that a single idea can be reused. Persistence — the depth of that valley — turns out to answer three questions that are normally three separate pieces of machinery: which regions are separate, which regions are worth keeping in memory, and which regions are worth going to look at next.

Finding clusters, deciding what to forget, and choosing where to explore are usually three different problems with three different tunings. Here they are one number, read off the same shape. That is the whole claim, and it is why the page is one page.