A computer-implemented method of designing an antenna assembly for radiating an electromagnetic field for electromagnetic navigation is provided. Multiple diagonal lines are computed, relative to a coordinate system of a substrate having a boundary, based on a seed rectangle having multiple vertices. Each diagonal line bisects a respective vertex of the seed rectangle, and extends from that vertex to the boundary. For each diagonal line, distances between adjacent pairs of planar antenna vertices to be positioned along the respective diagonal line are determined, and the planar antenna vertices are positioned along the respective diagonal line based on the determined distances. The distances increase in a direction from the respective vertex of the seed rectangle to the boundary. A planar antenna layout is generated by interconnecting the planar antenna vertices by way of respective straight linear portions to form multiple loops that sequentially traverse each of the diagonal lines.