Material Studies / No. 009

MelonJelly.

A thick slice of gummy watermelon, set as a soft solid.
Pull it and it trembles; draw a blade across it
and it parts into pieces that tremble on their own.

WebGPU · Live
Inside the experiment

The body

The slice is a few hundred particles joined into tetrahedra — a Delaunay mesh of a jittered lattice fitted inside the shape. Every tetrahedron remembers its rest shape. Six hundred times a second each one finds the rotation that best matches where it is now, and its corners are moved a fraction of the way back to that rotated rest shape. Firmness sets the fraction.

A second rule keeps each tetrahedron's volume constant, which is why a squeeze bulges out sideways instead of vanishing. Damping removes the speed at which neighbouring particles approach or separate, so wobbles die down without slowing the slice as a whole. The board grips with static and sliding friction.

The cut

Each piece is a flat convex outline, swollen by a constant radius to round its corners and extruded to the slice's thickness. A stroke becomes a vertical plane. For every piece it crosses, the plane is carried back into the piece's undeformed frame, where it is just a straight line; the outline is clipped on either side of that line, and two new rounded pieces are built that meet exactly along it.

The new pieces are built the moment you let go, while the knife is still lining up. First the blade presses a groove into the old body. At break-through the new bodies replace it, inheriting every position and velocity, and the blade wedges the fresh faces apart on its way to the board. When it lifts, the lips spring back.

The look

The candy is drawn after everything else. For each pixel the renderer knows how far light travels through the jelly, bends the view of the scene behind it, and tints it by that distance — thicker means deeper colour. Seeds, bubbles and the buried part of the blade are simply objects behind the surface, seen through it. A term for light scattered inside makes thin edges glow toward the key light, and the shadow on the paper takes the colour of the flesh.

Rind, pith and flesh are painted by distance from the original outer curve, so a cut face shows the same layers as the outside.