Visual · Published v1

Probability

Probability from Quantum Double Slit.

From Quantum Double Slit · v2. Edit this definition in its source simulation.

Source

visual Probability for Quantum {
    color {
        let density = clamp(self.real * self.real + self.imag * self.imag, 0.0, 4.0);
        let p = clamp(density / (density + 0.00003), 0.0, 1.0);
        let film = clamp(self.received * 16000.0, 0.0, 1.0);
        let wall = 1.0 - self.open;
        rgba(clamp(0.09 + wall * 0.35 + film * 0.9, 0.0, 1.0),
             clamp(0.16 + p * 0.7 + film * 0.5 + wall * 0.25, 0.0, 1.0),
             clamp(0.3 + p * 0.68 + wall * 0.15, 0.0, 1.0),
             clamp(wall * 0.95 + p + film + self.detector * 0.04, 0.0, 1.0))
    }
}

Building blocks

These exact versions are included when you reuse this artifact.

PropertyQuantum@hyle · v1