Gallery

71 figures · Open a figure to explore its code.

layout (11)

geometry (10)

plotting (16)

maps (9)

networks (6)

text (5)

math (12)

api (2)

(unit_distance)

Unit Distance

A finite set of coefficient vectors in Q(i, ζ₃) produces a dense unit-distance graph. Exact coefficient tests select edges before positions are projected to the plane.

Segments batches the edge pairs, Points batches markers, and the caption reports vertex and edge counts. The example's complex-arithmetic helpers return tuples; ordinary polar/vector helpers return point objects.

See Segments.