added the curve generator, only generates lines though...