Material Studies / No. 010

WholeMelon.

Good for you

WebGPU · Live

Shape. Each fruit is a signed distance field: an ellipsoid on its side with a softly flattened belly, tapered, pinched or dimpled as the fruit asks. Skin, pith and flesh are simply depth under that surface; pattern and seeds live in the fruit's rest frame.

Cutting. Every piece is the same field clipped by the planes that made it, so rind and seeds stay exactly where they grew. The blade chops down or slices flat, and parts the flesh only as far as its edge has travelled — the pieces come free when it is all the way through.

Motion. XPBD at 60 Hz with 6 substeps: cell-wise shape matching on a hex lattice, tetrahedral volume constraints, contact against each piece's exact field, Coulomb friction.

Light. Raw WebGPU. The jelly refracts what lies behind it by its thickness along the view ray and absorbs it per Beer–Lambert; seeds and the knife are drawn first, so you see them through the flesh.

setting the jelly…

Material Studies / Nos. 010 – 020

Pick a fruit.

Eleven fruits cast in gummy jelly. Pick one to hold, shake and cut.