Class WhiteNoiseDensity
Per-cell white noise in [-1, 1]: an uncorrelated hashed value for each integer lattice cell. Upstream used an RngField + a fast LCG; Shard hashes (seed, ⌊x⌋, ⌊y⌋, ⌊z⌋) with splitmix64 mixing for a clean, self-contained, higher-quality result.
public sealed class WhiteNoiseDensity : Density
- Inheritance
-
WhiteNoiseDensity
- Inherited Members
Constructors
WhiteNoiseDensity(int)
Per-cell white noise in [-1, 1]: an uncorrelated hashed value for each integer lattice cell. Upstream used an RngField + a fast LCG; Shard hashes (seed, ⌊x⌋, ⌊y⌋, ⌊z⌋) with splitmix64 mixing for a clean, self-contained, higher-quality result.
public WhiteNoiseDensity(int seed)
Parameters
seedint
Methods
Process(Context)
public override double Process(Density.Context context)