lib/seed-hash
Functions
Section titled “Functions”seedHash()
Section titled “seedHash()”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.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”number