A maze that you walk in the river

Jorge Luis Borges wrote many stories about labyrinths. In one very short piece, he also wrote about a map as large as the empire that it shows.

The Narrows connects to both ideas. It is the slot canyon of the North Fork Virgin River. The walls close in on both sides, and the trail is the river itself.

Lidar is a laser survey from an aircraft. It records the ground as millions of points. This survey has about 2 points for each square foot. That is not a map at the scale of the empire, but it is closer than most maps.

The walk

We walked the Narrows on May 7, 2026, with a GoPro. The reel starts with that footage in the river. Then it rises out of the slot into the lidar and draws the trail.

Watch the reel (40 seconds)
The reel in 40 seconds, without sound. All text is on screen. Footage: GoPro, May 7, 2026. Download the reel.

The reel opens with GoPro footage in the river, between sunlit sandstone walls. Then the view rises out of the slot into the lidar. A counter goes up to 108.8 million points, and 51.5 million are drawn. A dotted line draws the trail from the Temple of Sinawava to Orderville Canyon. The cross-section A–B follows. The reel ends with the credits.

The map follows about 2.5 miles of trail, as OpenStreetMap maps it. The walk starts at the Temple of Sinawava. The paved Riverside Walk ends after 0.9 miles. From there, the route is in the river. Orderville Canyon joins at 2.5 miles.

In the narrowest part below Orderville, the walls of the slot rise about 650 to 700 feet above the river. The rims are 1,000 to 1,200 feet above the river.

From points to a picture

Four USGS lidar tiles cover the canyon. They hold 209 million points. The block on the map holds 108.8 million of them, after noise is removed. The block is about 1 mile by 1.9 miles.

Blender draws each point as a small sphere. The color shows the height above the river:

  • Blue-gray is at the water.
  • Warm red is low on the walls.
  • A pale color is near the rims.
  • Green marks trees and shrubs.

The laser looks down, so steep walls get fewer points than flat ground. At first, the dark background showed through the gaps. An elevation model is a grid of ground heights. A 1 m elevation model now sits 2.5 m inside the rock, behind the points. The gaps show shadowed rock.

Two straight lines

The first full render showed two straight lines that ran up the frame. They were not in the canyon.

The aircraft flew the survey in overlapping strips. Where two strips overlap, the points differ a little in brightness and height. Each strip edge became a line in the render.

The lidar files mark these overlap points. In the block, 67% of the points have the mark. When I removed all of them, the lines went away. But the steep walls lost their detail, because the second strip carries much of it.

So the final map keeps a share of the overlap points that depends on the slope. Below 45 degrees, it keeps none. Above 70 degrees, it keeps all of them. Between the two, the share rises smoothly. The map draws 51.5 million points.

Inside the scripts

Three Python scripts build the map. day14_points_prep.py reads the lidar tiles with laspy. day14_points_view.py builds the scene in Blender and renders it. day14_still.py adds the labels, the panels and the insets.

The scripts pass the default checks of the ruff linter and use its code format. The excerpts below are trimmed. A # ... line marks a cut.

This function sets the chance that an overlap point stays. The slope comes from the 1 m elevation model under each point.

def keep_steep_overlap(xyz, lo, hi, seed=14):
    # ...
    d = np.load(DIR / "mesh_narrows.npz")
    # The 1 m elevation grid: 3,000 rows south to north by 1,600 columns west to east.
    z = d["verts"][:, 2].reshape(3000, 1600)[::-1].astype(np.float32)  # z[y, x]
    gy, gx = np.gradient(z)
    slope = np.degrees(np.arctan(np.hypot(gx, gy)))
    s = slope[
        np.clip(xyz[:, 1].astype(int), 0, 2999), np.clip(xyz[:, 0].astype(int), 0, 1599)
    ]
    p = np.clip((s - lo) / (hi - lo), 0, 1)
    return np.random.default_rng(seed).random(len(xyz)) < p
From day14_points_view.py. A seeded random number gives the same points in each render.

This part builds the surface behind the points. It moves each vertex 2.5 m into the rock along the normal. A vertex is a corner of the surface mesh. The normal points straight out from the surface.

def backing_object(floor, m, step=2, inset=2.5, shade=0.55):
    # ...
    dz_row, dz_col = np.gradient(z, step)
    nrm = np.stack(
        [-dz_col, dz_row, np.ones_like(z)], axis=-1
    )  # rows run south, so dz/dy = -dz_row
    nrm /= np.linalg.norm(nrm, axis=-1, keepdims=True)
    verts = (
        (np.stack([X, Y, z], axis=-1) - inset * nrm).reshape(-1, 3).astype(np.float32)
    )
From day14_points_view.py. A move straight down did not work. On a vertical wall, it put the surface in front of the real wall points.

How to read the map

  • The white dotted line is the hike, as OpenStreetMap maps it.
  • Each label gives the distance along the trail from the Temple of Sinawava.
  • The river is dark because water returns almost no lidar.
  • A point is green only when its laser pulse had more than one return. Part of the pulse hit leaves, and part went through.
  • The orange line A–B marks the cross-section. The cross-section shows a 66 ft slice of points across the slot, with no vertical exaggeration.
  • The small map at the lower right shows where the view is in Zion Canyon.

Method

  • The lidar is the USGS 3D Elevation Program project UT_ZionNP_QL2_2016, in four tiles. Points in the noise classes are removed.
  • The camera is 2,700 m above the river, south of the block. It looks north and down into the slot.
  • Blender's Cycles renderer makes the image at 2160 by 2700 pixels. A light haze darkens the far ground a little.
  • The labels use the camera of the render. A line-of-sight test on the 1 m elevation model finds the places that the walls hide.
  • Trail distances come from the OpenStreetMap trail lines. The full route is 4,031 m, or 2.5 miles.
  • Wall heights come from the 1 m elevation model at the cross-section. The slot walls are the highest ground within 150 m of the river. The rims are the highest ground within 300 m.

Data notes

  • The real walk is longer than the mapped line, because the route crosses the river many times.
  • The National Park Service gives rounded distances. It describes the Riverside Walk as about 1 mile.
  • Airborne lidar looks down. It records fewer points on vertical walls, and it cannot see under overhangs.
  • The cross-section shows one slice. Other parts of the canyon are narrower or wider.

Data and credit

The reel opens with our GoPro footage from May 7, 2026.

The U.S. Geological Survey 3D Elevation Program provides the lidar and the elevation models. The place names come from the USGS Geographic Names Information System and from OpenStreetMap contributors, under the Open Database License. The National Park Service (NPS) Land Resources Division provides the park boundary. The trail and the roads come from OpenStreetMap.