var handleIn = new Point(-500, 0);
var handleOut = new Point(500, 0);
var firstPoint = new Point(0, 400);
var firstSegment = new Segment(firstPoint, null, handleOut);
var secondPoint = new Point(800, 200);
var secondSegment = new Segment(secondPoint, handleIn, null);
var path = new Path(firstSegment, secondSegment);
path.strokeColor = 'black';