HomeChemistry & MaterialsSpherification: Reaction-Diffusion Gelation Profile

Spherification: Reaction-Diffusion Gelation Profile

Interactive 2D reaction-diffusion simulator of culinary spherification: a finite-difference PDE solves calcium ion concentration and gel fraction inside a spherical alginate droplet in real time, plotting the actual internal concentration/gelation profile instead of an assumed front position.

Chemistry & Materials2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-food-science ↗ Open standalone

This is the 2D companion to the 3D spherification scene, and it computes gelation a genuinely different way. Instead of assuming a parabolic front shape, it discretizes a spherically-symmetric droplet onto a radial grid and integrates the coupled reaction-diffusion PDE for calcium-ion concentration and gel fraction directly, frame by frame, using an explicit finite-difference scheme (a version of the "shrinking-core" model used for gas/fluid–solid reactions in chemical engineering). The left panel renders the resulting concentric field as a cutaway disc plus a live grid of independently-gelling bath droplets; the right panel plots the actual radial concentration and gel-fraction curves the solver produced. A running comparison against the simple √(2Dt) diffusion estimate shows exactly how much slower the reaction-limited PDE front runs once Ca²⁺ consumption becomes the bottleneck — a correction the closed-form model can't see.

⚙ Under the hood

A 2D finite-difference reaction-diffusion PDE solver for culinary spherification: watch the actual computed calcium-concentration and gel-fraction fields inside an alginate droplet, plotted as a radial profile, and see how the reaction-limited gelation front runs behind the simple diffusion-only estimate.

food sciencemolecular gastronomyreaction-diffusionPDEfinite differencegelationchemistryspherification

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)