The isochrone problem of Leibniz

To find a curve in a vertical plane with the property that a heavy point sliding without friction along this curve has constant vertical component of its velocity.