now generating curve from only keyframe information