← Direction Field Lab
EXPLORABLE EXPLANATION 00

Move through discrete forms

Continue to live energies →
PRIMAL COCHAIN

Primal 0-form

one number at every vertex

support‖coefficients‖₂
EXAMPLE SIZE7 vertices · every coefficient labeled
negativezeropositiveprimaldual
Seed:

THE NEXT RUNG

From a topological identity to a surface objective

  1. 1
    Choose the unknown.

    Vertex scalar, edge 1-form, face vector, or vertex tangent vector are different spaces.

  2. 2
    Choose the measurement.

    d₀φ is an edge difference. d₁α is triangle circulation.

  3. 3
    Choose the metric.

    The Hodge star supplies geometry and units; it is not another incidence matrix.

  4. 4
    Write the local energy.

    TinyAD differentiates the edge or face term and scatters its sparse derivatives.

Compare vertex, edge, and face addressesOpen the live energy workshopContinue into TinyAD + Polyscope