MakarovSuites
English
EnglishDeutschРусскийУкраїнськаFrançaisEspañolItalianoPolski
Contact & licences

Physics / Math

Distance-field fractals

Surfaces with no mesh: a distance estimator and sphere tracing draw the whole thing.

Distance-field fractals — Actual application image
Actual application image

What happens

None of these surfaces has a mesh or an equation for its points. What exists is a distance estimator, a function answering how far the nearest surface is from here, and sphere tracing walks each ray by exactly that distance until it arrives. The estimate is a lower bound, never a measurement, which is why marching by it can never step through the surface. The bound comes from the escape-time derivative: the orbit is iterated together with the derivative of that iteration. Raise the iteration count and the bound tightens, revealing finer structure at the cost of steps, and the panel prints that cost.

Equations used in the module
Equations
distance estimator:  d(p) ≈ |z| ln|z| / (2 |z′|)
sphere tracing:  p ← p + d(p) · ray
Mandelbulb:  z ← z^n + c   in spherical coordinates

Related experiments

Back to catalogue
The qubit: Rabi, Ramsey, decoherence — Actual application image

Physics

The qubit: Rabi, Ramsey, decoherence

A two-level system you can drive and read, and the three times that ruin it. Rabi oscillations under a resonant field, the π pulse, the Ramsey fringe, T₁ relaxation, T₂ dephasing and the T₂* an ensemble's spread adds on top - all on the Bloch sphere, with sixty-four spins fanning out and the Hahn echo snapping them back. Every curve is measured against its closed form.