Example of use of the glsl-pcg-prng module. You may be interested also in https://observablehq.com/@riccardoscalco/pcg-random-number-generators-in-glsl. Install npm install Run npx canvas-sketch index.js --hot --output=images/