Instructions: Click on the canvas to switch between different pairing functions. Hover over points to see their coordinates and the associated pairing function values. A yellow square marks the sum of points. Primes are shown in black.

Cantor (Signed): A variation of Cantor's pairing for signed integers, so expands in every direction from the origin.

Asymmetrical Spiral Variant: An asymmetrical variant of the alternating spiral with a known inverse.

Alternate Spiral: Creates a more symmetrical spiral pattern but I've not figured out the inverse yet.

Pigeon (Signed): A variation of Pigeon's pairing for signed integers. (Link to source)

Szudzik (Signed): A variation of Szudzik's pairing for signed integers. (Link to source)

RosenbergStrong (Signed): A variation of Rosenberg's and Strong's pairing for signed integers. (Link to source)