(Diagramatically, Lull's "miliaria in mari" is measured by constructing a right-angled triangle by running a cord from the distance sailed on the actual course to the intended course, meeting the latter at a 90° angle).Llull is a little more explicit in his "Ars magna generalis et ultima" (written c. 1305).