A wheel of winter sun.
Ten segments, one wobble.
Cut it as you like.
HandGrab any piece by the peel, the pith or a segment, and pull.
Illustrative scale: 1 sim unit ≈ 3.5 cm, gummy at 1.3 g/cm³. Volume and energy are summed live over every tetrahedron and particle.
The wheel is a volumetric mesh of 0 particles and 0 tetrahedra, solved with XPBD on a fixed 60 Hz step split into 10 substeps. Each tetrahedron is pulled, with finite compliance, toward its best-fit rotated rest shape. That co-rotational constraint also flips inverted elements back out. A volume constraint on every tetrahedron keeps the jelly close to incompressible, so a stretched slice necks in like the real thing.
Tetrahedra in the peel are roughly three times stiffer than the flesh, so the rim acts as a hoop around the soft middle. Damping acts only on relative velocity along the mesh edges, so the slice still falls and tumbles freely while its wobble dies away. Ground contact projects particles out of the floor with Coulomb-style friction. The grab is a soft attachment on a patch of particles, bounded in reach.
Every piece is a convex outline in the wheel’s original rest plane, with rounded corners. Your stroke, read on the surface it was drawn over, fixes a vertical blade plane. For each piece it crosses, the piece’s current pose is fitted with a best rotation, the plane is carried back into rest space where it becomes a straight line, and the outline is split along it. The two halves are prebuilt as fresh tetrahedral meshes the moment you let go.
Then the steel knife comes down. Its edge first presses a groove into the jelly. When it breaks through, the new pieces are swapped in, taking over the position and speed of the flesh they came from, while the blade wedges the faces apart on its way to the board. The blade is drawn behind the jelly surface, so the part buried in it is seen refracted. Each piece is its own soft body, and pieces push against each other instead of passing through.
Zest, pith, membranes, core and juice vesicles are all computed in the shader from each point’s rest position: its distance from the centre and its angle around it. Because every piece keeps the wheel’s rest coordinates, a cut reveals the segments exactly where they already were.
The Material switch changes three things. The solver gets about eight times stiffer and more damped, so the slice holds its shape like a firm fruit. The surface is rebuilt with crisp cut edges in place of the candy’s rounded ones. And the shader stops letting light pass through: the glossy coat goes, the flesh shows raised juice vesicles with pale walls between them, the peel turns dimpled and waxy, and the shadow loses its orange tint.
The physics, cutting and rendering engine come from an earlier interactive study, Melon Jelly, shared as a Claude artifact. I could not trace its author. If it is yours, get in touch and I will credit you by name. The orange wheel, the citrus anatomy, the three varieties and the real-fruit mode are this remix.
The smooth surface, the pips and the air bubbles are separate meshes, each vertex pinned to a tetrahedron by barycentric weights, so the pips stretch, turn and travel with the flesh around them.
WGSL shaders render the floor, pips and bubbles first, then the slice’s back faces to measure how much jelly each view ray crosses. The front faces refract the scene behind by that thickness, absorb it with Beer–Lambert colour, add milky scattering in the pith and membranes, a back-lit glow at thin edges, Fresnel reflections of a procedural studio and GGX highlights. The floor gets a soft key shadow tinted by the jelly, plus contact occlusion from a top-down height map.