Skip to content

textmode.synth.js / SynthSource / seed

Method: seed()

ts
seed(value): this;

Set a seed for deterministic randomness in this source chain.

When set, noise-based functions (noise, voronoi) will produce reproducible patterns. Different seeds produce different patterns.

Parameters

ParameterTypeDescription
valueSynthParameterValueSeed value (any number)

Returns

this

Example