Stack intrinsic scales. Modulate them with smooth time noise. Advect.
Random fluids, bound to a surface.
Build one seeded scalar field from intrinsic surface eigenmodes, let its coefficients wander smoothly in time, then choose its exact gradient or coexact quarter-turned gradient. This is a kinematic playground: it isolates representation and projection before a physical evolution law is added. The Clebsch construction has its own focused tutorial.
f(x,t) = time-varying coefficients times intrinsic surface eigenfunctions
u = rotated gradient of psi
tangentu · n = 0
area preservingsurface divergence is zero
Every intrinsic scalar mode is rotated by a quarter-turn in its tangent plane. The temporal Perlin coefficients change amplitudes, but do not break the coexact field's divergence-free identity.
Guided derivation · about five minutes
From intrinsic modes to a random surface flow.
The geometry and randomness have separate jobs. Laplace–Beltrami eigenfunctions supply spatial patterns intrinsic to the surface. Smooth one-dimensional noise changes their coefficients in time. A Hodge choice then turns the scalar into either exact or coexact motion. None of these choices is yet a shallow-water time step.
01TIME COHERENCE
Perlin noise moves coefficients—not geometry.
The spatial functions are fixed first. The sphere uses real spherical harmonics. The tree frog uses eigenvectors of its cotangent Laplace–Beltrami operator. The periodic square uses Fourier eigenfunctions; the parameterized torus uses periodic coordinate modes. No ambient 3D plane wave is restricted onto either curved mesh.
f(x,t) = intrinsic spatial modes with smooth random coefficients
cotangent stiffness times mode = eigenvalue times lumped mass times mode
On the frog, K and M come from the actual triangles, so the modes depend on intrinsic mesh geometry—not its pose in space.
1Hash a random slope at each integer time lattice point.
2Take each slope’s linear contribution inside the current interval.
3Blend them with the quintic fade curve for smooth joins.
Each eigenfunction follows an independent 1D noise path N(o_j + r_j t). The turnover slider scales r_j; finer bands also evolve faster by roughly square root of band. The eigenvalue lambda j supplies the spatial frequency k j = square root of lambda j. At zero turnover, the random field freezes exactly.
02HODGE FAMILY
One scalar gives two very different flows.
Taking the surface gradient produces the exact family. It crosses contours, has zero curl, and can focus or disperse particle clouds.
exact gradient field is curl-free
exact does not mean incompressible: its divergence is the surface Laplacian of the scalar.
Rotate the gradient by a quarter-turn in the oriented tangent plane and it becomes coexact:
quarter-turned gradient is divergence-free
The velocity now follows scalar contours instead of crossing them.
The randomness is identical in both cases. Switching the field construction isolates the geometric effect of the quarter-turn J.
Topology audit: scalar gradients and rotated scalar gradients carry no independently prescribed harmonic periods. On the torus this lab therefore explores the zero-harmonic sector. The flat-torus lab adds the two loop circulations that vorticity cannot see.
03SCALE SPECTRUM
Eigenvalue means spatial frequency.
Laplace–Beltrami modes order patterns from broad to fine. The lab converts each eigenvalue into a wave number and weights it with the selected energy law.
geometryintrinsic eigenmode
frequencywave number from eigenvalue
energyspectral falloff
LOW BANDSbroad coherent structures
HIGH BANDSsmall rapidly changing eddies
SLOPE βbalance of coarse and fine energy
On the frog, the generalized eigenproblem uses cotangent stiffness and lumped vertex area. This makes the random field depend on the triangle metric rather than on an arbitrary ambient restriction.
04SAMPLE + ADVECT
Then ask what the flow does to material.
The chosen exact or coexact field is reconstructed smoothly over the surface. Particles query that velocity at their own positions and advance with a midpoint step, wrapping periodic coordinates or renormalizing to the sphere.
particle velocity equals the selected field
the two particle colors are passive material labels, not different dynamics.
The arrows are a separate observation layer. Readable vertices skips some actual mesh vertices; Every vertex evaluates the velocity at every unique rendered vertex. Neither mode invents a second display grid.
divergence RMS ↓ less local area changevorticity RMS strength of local rotationcorrelation ↓ field has decorrelated from time zero
LIVE TANGENT FIELD · MESH VERTICEStree frog · coexact / divergence-free
drag to orbit · scroll to zoom
cloud A cloud B
time0
RMS speed—
divergence RMS—
vorticity RMS—
tangent defect—
field correlation—
Seed 13 · coexact spectral field ready on tree frog
CHECK 01 · GEOMETRY
The modes belong to the surface.
On the frog, they are eigenvectors of the cotangent Laplace–Beltrami operator. On the sphere and periodic parameter surfaces, they come from the corresponding intrinsic harmonic families.
CHECK 02 · HODGE
A quarter-turn changes the local invariant.
The exact gradient is curl-free and generally compressible. Its coexact quarter-turn is divergence-free and vortical. On a torus, neither construction supplies the two independent harmonic circulations.
CHECK 03 · PERLIN
Smooth randomness is not fluid dynamics.
Temporal Perlin noise prescribes how the random field changes; it is not a Navier–Stokes or shallow-water evolution. The particles respond to that kinematic velocity, but they do not feed back into it.