Back to Learn

Drawing the Riemann Zeta Function in Sand: One Hit, One Compromise, One Failure

Three tracks from the same mathematics, and what a steel ball did with each of them

Key takeaways

  • Prime Waves came out best. The large bends are where the track put them. The sharp teeth at the smallest numbers were rounded off by the ball.
  • Zeta Rosette became a different picture. Each pass erased the crossings under it, so a lattice of nine-fold petals turned into a swirl.
  • Zeta Curve did not work, so it is not in our download list. It starts and ends at the rim, and two lines that are not in the track cut across the sand.
  • A line on its own was about twice as wide as we had assumed: roughly 7–9% of the table radius from ridge to ridge, read off the photos, instead of 4%.
  • Our time estimates were too low for all three: 6, 8 and 2 minutes against 8:04, 17:50 and 3:18.

By the CymaVis team · Updated

What we were trying to draw

The Riemann zeta tool on this site draws two things on a screen: the path of the zeta function, which keeps passing through zero, and the staircase of the prime numbers built from waves. The story behind both is in Can You Hear the Primes?. Here we wanted to know whether a steel ball in sand could draw them too.

We made three tracks, checked them in simulation, and ran them on the Sisyphus table we have at home. CymaVis is not affiliated with Sisyphus Industries.

  • Prime Waves. Once around the table is the numbers 2 to 60. Each lap is bent by a sum of zeta waves: none at the center, 100 at the outside.
  • Zeta Rosette. The path of the zeta function from its first zero to its fifth, repeated nine times around the center. The path is real; the repetition is our design.
  • Zeta Curve. The plain path from t = 0 to about 45.6, through the first eight zeros, with nothing added.

In the comparison pictures below, the left side is the track file plotted as a thin line. The right side is a photo, stretched from the tilted camera view into a circle so that the two can be compared. The drawing was turned to match the photo. It did not have to be mirrored.

Prime Waves: the one that worked

This is the most complete result of the three. The middle is a plain spiral, and as the laps move outward they pick up bends in fixed directions, which line up from lap to lap like the rays of a shell.

Prime Waves finished in the sand of a Sisyphus table: a plain spiral in the middle that becomes a wavy, angular spiral toward the rim
Prime Waves finished. Real photo. The ball rests at the rim, at the bottom of the picture.

We cleared the sand first with Clean Sweep, which ends in the center, exactly where this track begins. In the photo taken during the run you can still see its fine rings in the part the ball has not reached.

Prime Waves being drawn: the steel ball on the last laps, with the fine rings of Clean Sweep still visible outside
Prime Waves during the run. A frame from our video. Outside the ball, the fine rings left by Clean Sweep.
Left: the Prime Waves track plotted as a thin line. Right: the same track in real sand
Left, the track file. Right, the sand (photo straightened). The large bends match. The small teeth at the lower left of the drawing became gentle waves.

What is missing matters too. The staircase of the primes jumps at 2, 3, 4, 5, 7, 8, 9, 11, 13 and so on, and one unit is only about 6 degrees of a lap. In the track file those jumps are sharp teeth, at the lower left of the drawing. In the sand they are soft. The ball is about as wide as the teeth, so it cannot draw them. Farther along the lap the jumps are spaced more widely, and there the corners survive.

Low-angle close-up of Prime Waves: raised ridges of sand with corners that line up from lap to lap
The same run from a low angle. Real photo. The corners line up from lap to lap.

Zeta Rosette: attractive, but not the drawing

On paper this track is a lattice of crossing petals. In the sand it is a swirl. To us the lines looked too thick for the design.

Left: the Zeta Rosette track, nine-fold petals crossing each other. Right: the sand, a swirl of thick curved grooves around the ball
Left, the track file (not turned to match). Right, the sand (photo straightened). Only the newest pass at each place survives.

The reason is that lines in sand cannot cross. On a screen, a crossing shows both lines. In sand, the second pass cuts through the first and pushes its ridge over it. This track crosses itself all over, so each of the nine copies erased part of the one before, and one direction of curve won. The small closed loop next to the ball is from the last copy, the only one that nothing drew over.

We still publish it, because the swirl is good to look at. But it should be described as what the sand makes of it, not as a lattice.

It was also far slower than we expected: 17:50 against our estimate of 8 minutes. Our estimate counts only the length of the line. This track passes through the center many times, where the arm has to turn a long way for a very short line. That is our likely explanation; we did not measure the arm.

Zeta Curve: the one that failed

This is the purest of the three, and it did not come out as intended.

Left: the Zeta Curve track, loops meeting at one point. Right: the sand, with an extra line from the left rim and an extra straight line to the top
Left, the track file. Right, the sand (photo straightened; the white dot is a lamp reflection). The line from the left rim and the straight line up to the top are not in the track.

Look for the two extra lines: one comes in from the left rim, and one runs straight up to the top, making a closed flap. Neither is in the file. We had cleared the sand with the built-in R-L wipe, which leaves the ball at the rim, on the left in this photo. Our reading is that the ball had to travel from there to the start of the track, and drew a line across clean sand on the way.

Starting from the center would not have saved it. Both ends of this track are at the rim, so after a spiral that ends in the center the ball would have had to cross the table as well. That is a mistake in our design, not in the table.

The second problem is width. Near the point where all the loops meet, which is the zero of the function and the whole reason to draw it, the grooves are so wide that the early loops were buried under the later ones. The picture reads as an apple, not as eight returns to zero.

We decided not to add it to the download list. If we make it again, it will start and end in the center and use fewer loops.

The numbers

Prime WavesZeta RosetteZeta Curve
Our estimate before the run6 min8 min2 min
Time noted for the run8:0417:503:18
Starts → endscenter → rimcenter → centerrim → rim
Crosses itselfnoeverywhereat one point, many times
Resultclose to the tracka different picturenot published

We have replaced the estimates on the track page with these times, rounded.

We also have to correct ourselves. In our first table test we judged a groove to be about 4% of the table radius, and we used that number to choose these designs. In these photos a line on its own measures about 7–9% from the top of one ridge to the top of the other, close to the size of the ball itself. Packed laps look thinner because each lap covers the ridge of its neighbor, which is probably how we got the smaller number. The Studio preview now draws lines at about 8%, and with that width it shows the swirl of Zeta Rosette and the buried loops of Zeta Curve before anything touches sand.

What we will do differently

  • Do not cross lines if the crossings matter. A spiral that never meets itself keeps everything it draws. Prime Waves is one.
  • Plan for a line about 8% wide. Details smaller than that get rounded off, like the teeth at the small primes.
  • Start where the last track ended. Clean Sweep ends in the center, so a track that starts in the center wastes no line.
  • Draw the important part last. Later passes erase earlier ones.
  • Do not estimate time by length alone when a track keeps passing near the center.

To try it: run Clean Sweep to the very end, then Prime Waves. The ball is already in the right place.

What this test does not prove

  • One table, one run of each track. Another ball, sand or table may give different results.
  • The times are single notes. We did not record the speed setting next to them, so compare them with each other rather than with your table.
  • Widths were read off photos taken at an angle, so treat 7–9% as approximate.
  • A picture is not a proof. These tracks show values of a known function. They say nothing about whether the Riemann hypothesis is true.

Frequently asked questions

Can I download these sand table tracks?

Prime Waves and Zeta Rosette are free .thr files on the Sand Table Studio page. Zeta Curve is not published because it did not come out as intended in our test.

Why do crossing lines disappear on a sand table?

The ball pushes sand aside as it rolls, so a new groove cuts through the old one and covers part of it with its ridge. Only the newest line stays whole.

Why did the ball draw a line that is not in the track?

In our run the ball rested at the rim after a wipe, away from where the track starts. The likely reason is that it drew a line while moving to the start. Choosing a track that starts where the last one ended avoids this.

How wide is a line on a sand table?

In our photos, a line on its own was roughly 7–9% of the table radius from ridge to ridge, about the size of the ball.

Keep reading