Automatic algebraic coordinate generation