CurveEditor2D first draft