Drag to look. W A S D or the arrows to fly, E and Q to rise and sink, Shift to go faster. On a touch screen, pinch to fly and drag two fingers to slide.
I draw a line by counting up from 1. On a prime, the line turns left on the spot; on any other number, it moves one step forward. When the next step would land somewhere the line has already been, I send it up a level instead, and I bring it back down as soon as the spot below is free, so it builds towers and bridges as it goes. The camera floats over the tip: drag to swing it round, zoom in or out, or pause and fly around it yourself.
Here are the rules in full. Each step goes forward unless the spot ahead is already part of the line, in which case it goes up. Once the line is off the ground, a step toward somewhere new goes down instead, unless the spot below is already taken. I mark each prime with a yellow bead where the line turned.
The camera hovers over the tip while it draws, drifting slowly around and up and down. Drag to swing it round or tilt it (the arrow keys do the same), and scroll, pinch or press + and − to zoom in or out.
If you pause the walk, you can press Fly to leave the tip and fly anywhere you like. Press Fly again, or Play, and the camera glides back.
Press H to hide or show these controls.
This experiment needs WebGL, which this browser doesn't offer.