Expand description
Deterministic noise seed engine for fingerprint perturbation.
Provides NoiseSeed, NoiseEngine, and NoiseConfig for injecting
repeatable, per-session noise into canvas, WebGL, audio, and layout APIs.
Given the same NoiseSeed, all noise generators produce identical output
across platforms and across Web Workers / Service Workers.
§Example
use stygian_browser::noise::{NoiseEngine, NoiseSeed};
let engine = NoiseEngine::new(NoiseSeed::from(42_u64));
let (dr, dg, db, da) = engine.pixel_noise("canvas.toDataURL", 10, 20);
assert!((-3..=3).contains(&dr));Structs§
- Noise
Config - Configuration for the fingerprint noise subsystem.
- Noise
Engine - Deterministic noise generator seeded with a
NoiseSeed. - Noise
Seed - A 64-bit seed that drives all deterministic noise generators.