Why layers form. A fluid column is stable only if density never increases upward (∂ρ/∂z ≤ 0), otherwise buoyancy drives overturning (Rayleigh–Taylor). Sugar makes water denser: honey ~1.42, maple syrup ~1.33, grenadine ~1.18, juice ~1.04, milk ~1.03, water 1.00 g/mL (typical values; real brands vary). The stack that stores the least gravitational energy has the densest liquid at the bottom, E = g ∑ρi Vi zi (checked numerically below).
Model. The glass is a 1-D column of 200 cells (0.5 % of the volume each) holding volume fractions φi of seven liquids; density ρ = ∑φiρi (ideal volume mixing, a simplification). Each frame, neighbouring cells where the upper one is denser swap contents (partially for a splashy pour, so some mixing remains). Pouring "over the spoon" adds a clean layer on top; pouring "straight in" mixes the incoming liquid with the top cells.
Diffusion. ∂φ/∂t = D ∂2φ/∂z2 with D ~ 1e-10 to 5e-10 m2/s (sucrose in water ~5e-10; the values per liquid here are illustrative effective numbers). A sharp interface spreads as 2√(Dt): about 2 mm after an hour, 10 mm after a day — which is why layered drinks should be served quickly. Oil is immiscible here (D = 0). Use the Wait buttons to skip time.
Real vs. model. Real mixing depends on pour speed, viscosity (honey is ~10 Pa s, so it sinks slowly in reality; the overturn is sped up here), temperature and dissolved solids; milk curdles in acidic juice, which is not modelled. This is a food-science demo with non-alcoholic ingredients; sunflower oil is a physics demo, not a drink.
Running numerical checks...