squirrel-noise
v1.0.0
Published
A typescript implementation of Squirrel Eiserloh's noise based RNG explained at GDC
Downloads
49
Maintainers
Readme
squirrel-noise
squirrel-noise
is a typescript implementation of Squirrel Eiserloh's noise based RNG explained at GDC (Link).
Installation
Just use npm i squirrel-noise
to install the package in your project
Usage
To use squirrel noise, you can do the following :
import { squirrelNoise, seededSquirrelNoise } from "squirrel-noise";
let randomValue = squirrelNoise(seed: number, step: number);
let rng = seededSquirrelNoise(seed: number);
let randomValue2 = rng(step: number);