Expand description

Structs

CIDRs in Hilbert space can represent a bounding box

Functions

bbox 🔒

Given the first (numeric) IP address in a CIDR block and the size of the CIDR block, return the bounding box. This handles the single point, square, and rectangle cases.

Given a CIDR in IP/## form, return the bounding box.

Find the maximum value in iterable

Find the minimum value in iterable

Convert an IPv4 address (in integer form) to a 12th order Hilbert x/y point

Convert an characrter IPv4 address into an integer.

Given a filename or path and palette name (+ whether the palette should be inverted) write an SVG legend out to the specified file.