Skip to content

lib/seed-hash

seedHash(seed): number

A stable 32-bit FNV-1a hash: the same seed always lands on the same value, and short, similar seeds spread apart. Used to pick a deterministic tone, color, or pattern from an identity (a name, an Agent id) without state.

string

number