original: Author : Ian McEwan, Ashima Arts. https://github.com/ashima/webgl-noise/blob/master/src/noise2D.glsl

These are wgsl functions, not js functions. The function is enclosed in a js string constant, to be appended into the code to reference it in the string shader.

Source:
core/noise2d.js, line 1

Members

staticconstantsnoise String

Sinplex Noise function

Source:
core/noise2d.js, line 26
Example
import { snoise } from 'points/noise2d';

// wgsl string
${snoise}
let value = snoise(uv);
js

MIT

Documentation generated by JSDoc 4.0.4 using Docolatte theme on