The Z-Curve