Builtin Library
README.md
field.simplex
Smooth signed 3D simplex noise over [-1, 1], on the same lattice hash as the rest of the noise, scaled by amplitude: fewer grid-aligned artefacts than gradient noise.
Inputs
position(Field<Vec3> | Vec3, optional). Where each element samples the field. Left unwired, it isfield.position(): thePcolumn of the domain the field is evaluated over.frequency(Float). Default1. About 1 / frequency between one feature and the next.amplitude(Float). Default1. What the noise is scaled by.seed(Float). Default1. Which of the possible patterns this is; the same seed replays the same field everywhere.
Outputs
field: a Float field.
Example
local points = g.points.grid({ countX = 4, countZ = 1, spacing = 1 })
local out = g.attribute.set({ geometry = points, name = "v", value = g.field.simplex({ frequency = 0.5, amplitude = 2 }) })