The Hilbert curve defines a mapping between the points on a line segment and the points in a square. Click on the line segment to reveal the corresponding point in the square. Click anywhere in the square to show a corresponding point on the segment.
You can also plot points by entering numeric values for the t coordinate on the segment or the x and y coordinates in the square. These values should be between 0 and 1; they can be entered either as decimals or as fractions in the form m/n. Tip: Entering */n generates all fractions from 0/n through n/n.
The Hilbert curve drawn in the square is a fifth-order approximation, but the calculations of coordinates employ much higher precision. Thus the points plotted in the square won't necessarily fall on the approximated curve.