Skip to content

1681-engine / index / hash01

Function: hash01() ​

ts
function hash01(text): number;

Defined in: src/ambient/weather.ts:53

FNV-1a over the text, then an avalanche: a stable number in [0, 1).

Parameters ​

ParameterType
textstring

Returns ​

number

Released under the MIT License.