Corneal Epithelium & Nerve Plexus Dynamics Active Soft Matter SBNP Whorl Mechanics

XYZ Hypothesis, Epithelial Drag & Emergent Topological Defect Vortex

Cells: 0
Mean Speed: 0.00 μm/h
Topological Defect (+1): (0, 0)
Whorls / Saddles: 0 / 0
Balance (X+Y-Z): 0
CNFD: 0.0 mm/mm²
CNBD: 0.0 /mm²
Tortuosity: 1.00
Vorticity ($Q$): 0.00

Nerve Plexus Parameters

Axonal Growth & Forces
Epi → Nerve 0.45
Nerve → EpiNoneEpi → Nerve

Right of centre: epithelial drag ($J_{drag}$). Basal cells steer growing tips and carry the fibres with them, which makes the plexus centripetal. Left of centre: nerve → epithelium template ($J_{ne}$). Basal cell polarity turns toward the local nerve fibres, so an earlier nerve whorl can seed the epithelial whorl (nerves release substance P, CGRP and NGF, which support epithelial migration). Centre: the two layers do not interact.

0.50

Growth cones follow neighbouring fibres, so the plexus forms long, roughly parallel bundles. Low values give a tangled, tortuous plexus.

3.5 mm

Stromal nerves pierce Bowman's layer between this radius and the limbus (5.6 mm), each giving a leash of 2 to 4 subbasal fibres. 5.4 mm means limbal entry only.

0.00

Hypothetical attractant at the whorl. No such cue has been identified, so it is off by default.

0.00

Hypothetical imposed inferonasal push from blinking. Off by default, so any whorl is emergent.

0.40

Branching probability at segment ends and along shafts (NGF/GDNF dependent).

Nerve-First Hypotheses

In developing mice the nerve whorl appears at about 3–4 weeks, but the epithelial whorl only at 4–8 weeks. Epithelial drag alone cannot explain that. Each option below lets the nerves form a whorl on their own. To let the epithelium follow the nerves, move the coupling slider above to the left of centre. All are off by default.

0.00

Growth cones turn the same way every time, because their filopodia rotate in one direction (Tamada et al. 2010). Positive values turn them clockwise, negative values anticlockwise. Together with any inward cue, this gives a spiral with no help from the epithelium.

On: each growth cone turns in the local tangent plane of the shape set under Corneal Geometry, its heading is carried along the surface (geodesic transport), and the turn is scaled by how much of the filopodial sweep touches the curved substrate. Off: the turn is applied in the flat top-down view, so the shape cannot affect it. Compare the two to see what the geometry does to a chiral nerve whorl.

8 μm
Filopodial contact on this shape:-

Range over the cornea and all headings, relative to a flat substrate. Real filopodia are about 2–10 μm long. Longer values exaggerate curvature sensing.

0.00

Growth cones turn toward the cathode of an electric field (Song et al. 2004, corneal wounds). Here a field is assumed to converge on the corneal apex. It pulls nerves inward with no epithelial flow, but on its own it does not make a spiral.

0.00

A sideways push at right angles to the inward direction. This is the old electric or magnetic explanation for why most whorls turn clockwise (Dua et al. 1996). It acts at every radius around the apex, so it imposes a fixed handedness.

Overlay Toggles
Epithelial Flow Vector Field
Axonal Branching Points
Topological Defect (+1 Whorl Core)
Clinical Presets

Quantitative IVCM Metrics

Corneal Nerve Fiber Density (CNFD): 0.0 mm/mm²
Corneal Nerve Branch Density (CNBD): 0.0 /mm²
Whorl Vorticity Order ($Q$): 0.00
Nerve Spiral Order $\langle \sin\theta \rangle$ (sign = handedness): 0.00
Measured on the surface (not top-down): 0.00
Whorl Onset (|order| ≥ 0.2, sustained)
Nerve whorl:not yet
Epithelial whorl:not yet
Order:—
Limbal Region ($R_{limbus}$)
Corneal Apex / Extrusion ($Z$)
Main Subbasal Axon Trunks
Sprouted Sub-branches
+1 Topological Defect (Whorl)
−1 Defect (Saddle)
Failed Limbus (LSCD)
Layers
Fibers: 0 Frame: 0 Time: 0.0h

Soft Active Matter Mechanics & XYZ Hypothesis

Corneal epithelial maintenance follows $X + Y = Z$: where $X$ (limbal stem cell influx) plus $Y$ (basal proliferation) is balanced by $Z$ (superficial desquamation / loss at apex).

Cells are soft self-propelled discs (speed $v_0$ along polarity $\hat{\mathbf{p}}_i$) with pair repulsion $\mathbf{F}_{ij}$. Each polarity turns, with strength $J$, toward its neighbours' polarities and toward the direction the cell is actually being pushed (flocking). Nothing in the model is spiral-shaped or chiral: there is no guidance field, no built-in handedness and, by default, no chemotactic cue. Cells are pushed inward only by the crowding from limbal influx, and extrusion follows the same crowding law everywhere.

The cornea is topologically a disc, and inflow at the limbus forces the orientation field to carry a net +1 topological charge. Where the inward flux runs out near the centre, aligned cells cannot simply converge, so the +1 defect becomes a vortex, and a spiral whorl emerges. Clockwise and anticlockwise whorls are equally likely (spontaneous symmetry breaking). This follows the soft active matter model of Kostanjevec, Sknepnek, Collinson & Henkes (eLife RP 106061), which found the spiral is robust to corneal curvature but not to topology.

The sheet lives on a curved biconic corneal surface (Corneal Geometry panel). Cells touch in 3D, forces and motion stay within the sheet, and each polarity is carried across the surface as the cell moves. Curvature can therefore only act through geometry, unless one of the two hypothesis terms is switched on. Every +1 (whorl) and −1 (saddle) defect of the polarity field is detected and marked.

Subbasal Axonal Guidance & Whorl Morphogenesis

Stromal nerves pierce Bowman's layer, mostly in the mid-periphery and periphery. Each perforation gives rise to a leash of unmyelinated subbasal fibres that runs beneath the basal epithelium toward the centre, with Y-shaped branches.

No chemoattractant at the apex or whorl has been identified. In the default model, the centripetal course and the whorl both come from the centripetal migration of basal epithelial cells, which steer growth cones and carry existing fibres with them (epithelial drag $J_{drag}$). Fibres also grow along one another (fasciculation $J_{fas}$), which keeps them in long, near-parallel bundles. The nerve whorl therefore inherits whatever spiral the epithelium forms, and sits at the epithelial whorl rather than at the corneal apex. Whorl chemotaxis ($v_{chem}$) is an optional, hypothetical cue. The eyelid shear term ($\tau_{shear}$) is an optional, imposed rotation for testing that hypothesis. It is off by default, so any nerve whorl in the simulation comes from the epithelium alone.

Timing problem. In developing mice the subbasal nerve whorl is first seen at about 3–4 weeks after birth, but the basal epithelial whorl only at 4–8 weeks (reviewed by Marfurt et al. 2019). A whorl that is passively dragged into shape cannot appear before the one dragging it, so epithelial drag is not sufficient on its own. The Nerve-First Hypotheses panel adds the alternative explanations proposed in the literature:

  • Growth-cone chirality ($\chi$). Growth-cone filopodia rotate right-screw, so neurites on a flat substrate turn clockwise with no external cue (Tamada et al. 2010, J Cell Biol; Heacock & Agranoff 1977). A steady turn on top of any inward cue traces a spiral, so the plexus builds its own whorl, with a preferred handedness. The turn is applied on the corneal shape selected under Corneal Geometry: in the local tangent plane, with the heading carried along the surface, and scaled by how much of the filopodial sweep touches the curved substrate (see Does corneal shape change a chiral whorl? below).
  • Galvanotropism ($E_{gal}$). Growth cones turn toward the cathode in fields of about 10 mV/mm, and corneal nerve sprouting follows the endogenous field in vivo (Song et al. 2004, J Cell Sci). A field converging on the apex is assumed here. It has not been measured in the intact cornea.
  • Tangential electromagnetic cue ($B_{tan}$). Marfurt et al. suggest that a tangential electric force or magnetic field, at right angles to centripetal migration, may bend fibres into a spiral near the apex. Static magnetic fields make cultured corneal epithelial cells form whorls (Dua et al. 1996, Eye). A fixed field cannot explain anticlockwise whorls or eyes with two opposing whorls.
  • Nerve → epithelium template ($J_{ne}$). The coupling may run the other way. Corneal nerves release substance P, CGRP and NGF, which support epithelial proliferation and migration, so basal cells could orient along an earlier plexus. That would make the epithelial whorl follow the nerve whorl. It is the left half of the Nerve ↔ Epithelium Coupling slider, so it cannot be on at the same time as epithelial drag.
  • A shared upstream cue (for example a common electric field acting on both layers on different timetables, as Marfurt et al. also propose) can be explored by combining $E_{gal}$ or $B_{tan}$ with the epithelial centripetal cue $F_{in}$.

The Whorl Onset readout records when each layer's signed spiral order first stays at or above 0.2, so you can check which whorl forms first. In the default model the nerves rarely lead. Nerve-First Whorl sets the coupling fully to nerve → epithelium, so there is no epithelial drag at all. Without drag the fibres need an inward cue that does not come from the epithelium, so the preset uses galvanotropism toward the apex (0.3) together with chirality (0.6). In 16 headless runs on the average human shape, the nerve whorl usually appeared after 4–5 simulated weeks (range 4–11). The epithelial whorl always came later, from a few days to about 6 months after it, and always with the same handedness. On the steep (57 D) shape the epithelium was slower: in 3 of 16 runs it had no whorl after a year.

Does corneal shape change a chiral whorl? With Turn on the selected corneal surface ticked, the corneal shape can act on a chiral growth cone in two ways. First, the turn and the heading live on the curved surface. A tip with no cue follows a geodesic of that shape, and astigmatism, decentration or a second apex bend those paths. Second, the turn is scaled by filopodial contact. A filopodium of length $L_f$ beside the growth cone sits $\kappa_n L_f^2/2$ above a convex substrate, so less of the sweep touches it. In headless runs (chirality 0.6, galvanotropism 0.3, no coupling, 16 runs per shape, about 140 days) the results were:

  • Handedness and timing did not change. Every shape gave the same handedness. The nerve whorl appeared at 31–34 days on every shape. With no chirality, no shape produced a spiral on its own.
  • Filopodial contact barely matters at real sizes. The corneal radius of curvature (about 5–8 mm) is about 1,000 times a growth cone. With $L_f$ = 8 μm, contact changes by under 1% on a normal or steep cornea. Spiral order changed by less than the run-to-run noise (0.489 vs 0.483 on the 57 D shape). Only an unrealistic 40 μm filopodium weakened the spiral clearly (0.36).
  • Seen top-down, the whorl looks tighter on steeper corneas. Top-down spiral order was 0.41 on a flat disc, 0.45 on the average human shape and 0.48 on the 57 D shape. Measured on the surface itself it stayed at 0.39–0.41. The extra spiral seen in a frontal (IVCM-like) view therefore comes from foreshortening on the slope, not from stronger turning. The applied turn in the flat-view model is smaller than the same turn on the surface, so that model under-reads chirality on curved corneas.

Both readouts are shown under Nerve Spiral Order. Untick the surface option to repeat any run with the old flat-view turning.

Nerve ↔ Epithelium Coupling (Derived Drag Field)

The epithelial drag field is not prescribed: every frame it is coarse-grained from the velocities of the live epithelial cells (Gaussian kernel, 0.4 mm) and interpolated at each axon. It steers growing tips (weighted by $J_{drag}$ and by local flow speed) and drags the existing fibre shafts toward the whorl at a fraction $J_{drag}$ of the local epithelial velocity, with fibres tethered at the limbus. Changing any epithelial parameter therefore reshapes the plexus. One slider sets the direction. To the right of centre the coupling is epithelium → nerve (drag, the default at 0.45). To the left it is nerve → epithelium, through the template term $J_{ne}$: each basal cell's polarity turns toward the local fibre axis, weighted by how aligned and dense the fibres are. At the centre the layers do not interact. The two directions are never on together.

Epithelial Model Parameters

XYZ Dynamic Balance X + Y ≈ Z
14 cells/s

Rate of newly differentiated cells produced at the limbal rim.

0.0025 /s

Mitosis of Transient Amplifying cells within the cornea.

0.01 /s

Crowding-dependent loss of mature epithelial cells, with the same rate law across the whole cornea.

Active Soft Matter Forces
0.8

Flocking strength: how fast each cell's polarity turns toward its neighbours' and its own motion. Not curvature, and not a spiral cue. Low $J$ gives disordered or jammed flow; above about 0.3 a whorl self-organises.

0

Hypothetical cue pointing at the limbal centre, off by default. The whorl forms without it. Strong values override the emergent vortex.

1.2
12

Number of color-coded clonal sectors along the limbus.

Preset Scenarios

Two Whorls sets the shape and hypothesis terms too. Each apex holds a stable +1 defect, with a saddle between them. These defects are mainly convergent (aster-like), not strongly spiral. Without apex seeking, two whorls merge into one.

Limbal Stem Cell Failure
8% (30°)
6:30 o'clock

The failed stretch of limbus produces no new cells. You can also drag the white handles at either end of the rose arc on the canvas to set how much of the limbus fails, or drag the arc itself to move it.

Corneal Geometry

Biconic Surface
43.25 D

Keratometric power of the flat meridian, $K = 337.5/R_0$ (mm). 0 D is a flat disc, 43 D is a human cornea ($R_0$ 7.8 mm), 57 D is mouse-like and nearly hemispherical at this size.

-0.26

$Q<0$ prolate (flattens toward the limbus; human about −0.26), $Q=0$ spherical, $Q>0$ oblate.

0.00 D
90°

90° is vertical (with-the-rule), 0°/180° horizontal (against-the-rule).

0.00 mm
0.00 mm

Decentration of the apex from the limbal centre (+X right, +Y up).

Secondary Apex (Bump)
0.00 mm
1.80 mm
0.00 mm
1.00 mm

A Gaussian bump added to the surface. Tall, narrow bumps create a second local high point.

Hypothesis Terms (off by default)
0.00

Turns each cell's polarity uphill, toward the nearest local apex. An imposed cue, not a geometric effect.

0.00

Extra extrusion on the most elevated (most lid-exposed) epithelium.

Shape Presets (tissue is kept)
Flat meridian- Steep meridian- Sagittal depth- Limbal slope- Surface area- Apices-

Live Biophysical Diagnostics

Radial Order Parameter $\langle \cos\theta \rangle$: 0.00
Vortex Order $\langle \sin\theta \rangle$ (sign = handedness): 0.00
Defects: whorls (+1) / saddles (−1): 0 / 0
Net topological charge: 0

How to Use

Kill epithelial cells

Click and hold on the simulation canvas, then drag. Every cell inside the red dashed circle (0.64 mm radius) is killed and removed, on every frame for as long as the button is held, so dragging cuts a wound along the path. Release to stop. On a touchscreen, touch and drag.

Watch the wound refill from the surrounding epithelium. Use Reset Epithelium to start again.

Export the spreadsheet

Do any one of these: click the green Export CSV button under the canvas, press the E key, or double-click the stats bar at the top of the page.

A .csv file downloads and opens in Excel, Numbers or Google Sheets. It has one row every 10 frames since the last Reset Epithelium: time, cell count, speed, order parameters, X/Y/Z fluxes, nerve metrics, whorl and saddle counts, LSCD extent and the corneal shape settings.

Limbal stem cell failure

Click Limbal Stem Defect or tick On under Limbal Stem Cell Failure. A rose arc appears on the limbus. Drag either white handle to set how much of the limbus fails, or drag the arc itself to move it round. The sliders do the same thing.

Everything else

Nerve sliders are on the left. Epithelial sliders, then Corneal Geometry, are on the right. All changes apply live. Shape presets keep the current tissue.

Pause/Play and the step button control time. Layers show or hide the epithelium, nerves and the Topography map. The view buttons switch the colouring (lineage, velocity, density) and the nerve imaging style.

All Equations & Assumptions Used in the Simulation (click to show)

1. Units & time

1 sim unit $= 20\,\mu\text{m}$ (50 units = 1 mm). Corneal radius $R = 280$ units $= 5.6$ mm, limbal band width $35$ units. One physics step $= 3.7$ h (internal increment $\delta t = 0.1$); 3 physics steps per rendered frame. The 3.7 h value is chosen so that mean migration is about $1\,\mu\text{m/h}$ at default settings, a figure taken from in-vivo rodent imaging.

$$\bar v_{\mu m/h} = |\bar{\mathbf v}|\times 0.15 \times \frac{20\ \mu\text{m}}{3.7\ \text{h}}$$

2. Corneal surface (biconic + bump)

Elevation above the limbal plane (apex up), with $(u, v)$ the coordinates along the steep and flat meridians about the decentred apex $(x_0, y_0)$, rotated by the axis $\alpha$:

$$h(x,y) = -\frac{c_s u^2 + c_f v^2}{1+\sqrt{\max\!\big(0.05,\;1-(1+Q)(c_s^2u^2+c_f^2v^2)\big)}} \;+\; A_b\, e^{-|\mathbf r-\mathbf r_b|^2/2\sigma_b^2}$$ $$c_f = \frac{K}{337.5\ \text{mm}}, \qquad c_s = \frac{K+\Delta K}{337.5\ \text{mm}}, \qquad R_0 = \frac{337.5}{K}\ \text{mm}$$ $$\hat{\mathbf n} = \frac{(-h_x,\,-h_y,\,1)}{\sqrt{1+|\nabla h|^2}}, \qquad \text{area} = \iint \sqrt{1+|\nabla h|^2}\,dx\,dy$$

$h$ and $\nabla h$ are tabulated on a $121\times121$ grid (0.1 mm spacing) and interpolated bilinearly. Apices are strict local maxima of $h$ (merged within 0.5 mm). Sagittal depth $= h_{max} - \langle h\rangle_{limbus}$. Limbal slope $= \langle \arctan|\nabla h| \rangle$ on $r=R$.

3. Cell contact mechanics (in 3D)

Cell $i$ sits at $\mathbf X_i = (x_i, y_i, h(x_i,y_i))$ with radius $a_i = a_0(0.3 + 0.7 g_i)$, $a_0 = 5.5$ units. Maturation $g$ rises by $\delta t/30$ per step to 1. With $d_{ij} = |\mathbf X_i - \mathbf X_j|$ and $D_{ij} = 1.1(a_i + a_j)$:

$$f_{ij} = 0.15\,(D_{ij}-d_{ij})_+ \;+\; 0.30\,(0.65D_{ij}-d_{ij})_+, \qquad \mathbf F_i = \sum_j f_{ij}\,\hat{\mathbf X}_{ij}$$ $$\mathbf F_i^{\parallel} = \mathbf F_i - (\mathbf F_i\!\cdot\!\hat{\mathbf n}_i)\,\hat{\mathbf n}_i \quad\text{(the sheet stays on the surface)}$$

Crowding index, with cutoff $r_c = 22$ units and $D_0 = 2.2a_0$:

$$\kappa_i = \Big(1+\sum_{d_{ij}

4. Polarity (flocking) dynamics

Each cell has a unit polarity $\hat{\mathbf p}_i$ tangent to the surface. Torques act about the local normal, with $T(\mathbf a) = \hat{\mathbf n}\cdot(\hat{\mathbf p}_i\times\mathbf a)$:

$$\tau_i = \frac{J}{N_i}\sum_{d_{ij}<18} T(\hat{\mathbf p}_j) + J\,T(\hat{\mathbf v}_i) + k_g\,T(\hat{\mathbf g}_i) + k_{up}\frac{s}{s+0.03}\,T(\hat{\mathbf u}_i)$$ $$\Delta\theta_i = \tau_i\,\delta t + \sqrt{2D_r\,\delta t}\;\xi, \qquad D_r = 0.03, \quad \langle\xi^2\rangle = 1$$ $$\hat{\mathbf p}_i' = \hat{\mathbf p}_i\cos\Delta\theta + (\hat{\mathbf n}\times\hat{\mathbf p}_i)\sin\Delta\theta$$

Here $\hat{\mathbf g}$ is the inward direction toward the limbal centre lifted into the tangent plane, with $k_g = 1.8F_{in}\min(1, r/8)$ raised by up to $\times4$ within 30 units of the rim. $\hat{\mathbf u} = (h_x, h_y, |\nabla h|^2)/\|\cdot\|$ is uphill, and $s = |\nabla h|$. Cells near the rim ($r>R-18$) that head outward get an extra $0.3\,T(\hat{\mathbf g})$.

After each move the polarity is carried onto the new tangent plane (first-order parallel transport):

$$\hat{\mathbf p} \leftarrow \frac{\hat{\mathbf p}' - (\hat{\mathbf p}'\cdot\hat{\mathbf n}')\hat{\mathbf n}'}{\|\hat{\mathbf p}' - (\hat{\mathbf p}'\cdot\hat{\mathbf n}')\hat{\mathbf n}'\|}$$

5. Motion

$$\mathbf v_i = \frac{v_0\,\hat{\mathbf p}_i' + F_{in}\min(1,r/8)\,\hat{\mathbf g}_i}{1+(\bar\kappa_i/1.1)^4}$$ $$\Delta\mathbf r_i = 0.15\,\mathbf v_i + \mathbf F^{\parallel}_i - b(r)\,\hat{\mathbf r}, \qquad b(r) = 0.22\Big(\frac{r-(R-18)}{18}\Big)^2\ \ (r>R-18)$$

The top-down displacement is the $(x,y)$ part of the 3D tangent step, capped at $|\Delta\mathbf r|\le 2.5$, with a hard wall at $r = R-2$. Smoothed velocity: $\bar{\mathbf v} \mathrel{+}= 0.15(\Delta\mathbf r/0.15-\bar{\mathbf v})$.

6. XYZ balance: influx, proliferation, extrusion

X (limbal influx): $N_X = \lfloor X\delta t\rfloor + \text{Bernoulli}(X\delta t \bmod 1)$ attempts per step, each at a random angle $\phi$ and $r\in[R-31, R-8]$. Up to 8 tries, rejected within $0.8D_0$ of another cell. Nothing is produced if $\phi$ lies in the failed arc (LSCD):

$$\phi \in [\phi_0,\ \phi_0+\Delta\phi] \Rightarrow \text{no cell}, \qquad \text{failed fraction} = \Delta\phi/2\pi$$

Y (contact-inhibited division) of mature cells ($g\ge0.95$) with $22.5 < r < R-20$:

$$P_Y = Y\,\delta t\;\mathrm{clamp}\!\Big(\frac{1.25-\bar\kappa}{0.75},0,1\Big)$$

Z (crowding-triggered extrusion), with the same law everywhere, times the optional exposure term:

$$P_Z = 25\,Z\,\delta t\;\Big[0.05+0.95\,\mathrm{clamp}\Big(\frac{\bar\kappa_{slow}-0.70}{0.35},0,2.5\Big)\Big]\big(1+3k_{exp}\,e\big), \quad e = \mathrm{clamp}\Big(\frac{h-\langle h\rangle_{limbus}}{h_{max}-\langle h\rangle_{limbus}},0,1\Big)$$

Fluxes are running averages, $\langle\cdot\rangle \mathrel{+}= \max(0.008, 1/n)(\text{count}/\delta t - \langle\cdot\rangle)$. Displayed balance $= X + Y - Z$.

7. Wounding (cell killing)

$$\text{remove cell } i \ \text{ if } \ |\mathbf r_i - \mathbf r_{pointer}| < 32\ \text{units}\ (0.64\ \text{mm}),\ \text{every frame while held}$$

8. Order parameters & topological defects

$$\Psi_{rad} = \langle\cos(\theta_i-\varphi_i)\rangle, \qquad \Psi_{vort} = \langle\sin(\theta_i-\varphi_i)\rangle, \qquad \varphi_i = \arg(-\mathbf r_i)$$

Polarity is coarse-grained on a 0.4 mm grid (Gaussian, $\sigma = 0.4$ mm; nodes need kernel weight $>1.2$ and lie $>0.6$ mm inside the limbus). The charge of each grid square is the winding of the averaged direction:

$$q = \frac{1}{2\pi}\oint d\theta \in \{+1\ \text{(whorl/aster)},\ -1\ \text{(saddle)}\}$$

Opposite charges closer than 0.9 mm annihilate, and like charges within 0.6 mm merge. The tracked core minimises $|\langle\hat{\mathbf p}\rangle_{\sigma=24}| + 0.05\,r/r_{search}$. For inflow everywhere at the limbus of a disc, Poincaré–Hopf requires $N_{+1} - N_{-1} = 1$.

9. Epithelium → nerve drag field

$$\mathbf U(\mathbf x) = \frac{0.15\sum_i w_i\,\bar{\mathbf v}_i}{\sum_i w_i + 0.3}, \qquad w_i = e^{-|\mathbf x-\mathbf r_i|^2/2\sigma^2},\ \sigma = 0.4\ \text{mm}$$

The field is evaluated on a $30\times30$ grid with temporal smoothing $\mathbf U \mathrel{+}= 0.2(\mathbf U_{new}-\mathbf U)$ per frame and bilinear lookup. One coupling value $c \in [-1, 1]$ sets the direction: $J_{drag} = \max(0, c)$ and $J_{ne} = \max(0, -c)$.

10. Nerve growth, drag & branching

$$\mathbf t = v_{chem}\,\hat{\mathbf c} + J_{drag}\min\!\Big(2,\frac{|\mathbf U|}{0.18}\Big)\hat{\mathbf U} + J_{fas}\,S\,\frac{N}{N+12}\,\hat{\mathbf n} + \tau_{shear}\,\hat{\mathbf s} + w(d)\big(E_{gal}\,\hat{\mathbf a} + B_{tan}\,\hat{\mathbf a}_{\perp}\big), \qquad \hat{\mathbf h} \propto (1-\beta)\,\hat{\mathbf h}_{old} + \beta\,\hat{\mathbf t},\ \ \beta = 0.32\min(1,|\mathbf t|), \qquad \theta_h \mathrel{+}= 0.08\,\chi$$

The nerve-first terms are all off by default. $\hat{\mathbf a}$ points to the corneal apex (the limbal centre on a flat disc), $\hat{\mathbf a}_\perp$ is $\hat{\mathbf a}$ turned 90° so that $+B_{tan}$ turns growth clockwise from inward, and $w(d) = \min(1, d/40)$ fades both near the apex. When either term is on, tips also stop within 18 units of the apex. Chirality $\chi$ adds a turn of $0.08\chi$ rad per frame to the heading (+ = right turn), scaled on the surface by filopodial contact (below). The template term adds a polarity torque to each epithelial cell, $J_{ne}\,S\,\frac{N}{N+12}\,T(\hat{\mathbf n})$, with $\hat{\mathbf n}$ the fibre axis in the sense closer to the cell's polarity.

Here $\hat{\mathbf c}$ points to the nearest whorl (hypothetical chemotaxis, off by default) and $\hat{\mathbf s}$ is fixed at 135° (inferonasal). $\hat{\mathbf n}$ is the local axis of the existing fibres, taken in the sense closer to the current heading. $S$ is its order and $N$ the number of fibre nodes, both coarse-grained on the 0.4 mm drag-field grid. Without cues, the growth cone keeps its heading. The heading gets a random turn $\pm0.045$ rad. Tips grow 1.3 units (26 μm) per frame along the surface:

$$\Delta s_{proj} = \frac{1.3}{\sqrt{1+(\nabla h\cdot\hat{\mathbf h})^2}}$$

With Turn on the selected corneal surface ticked (default), the heading is a unit tangent vector $\hat{\mathbf h}$ of the surface. $\hat{\mathbf h}_{old}$ and $\hat{\mathbf t}$ are lifted to the tangent plane, as $(t_x, t_y, \nabla h\cdot\mathbf t)$ normalised, before blending. The chiral and random turns rotate $\hat{\mathbf h}$ about the outward normal $\hat{\mathbf n}_s$. The tip then moves 1.3 units along $\hat{\mathbf h}$, and the heading is projected into the new tangent plane (first-order parallel transport, so with no cue a tip follows a geodesic). The chiral turn is scaled by filopodial contact:

$$\Delta\theta_\chi = 0.08\,\chi\,C, \qquad C = \mathrm{clamp}\Big(1 + \frac{\kappa_n(\hat{\mathbf q})\,L_f^2}{2 z_f},\ 0,\ 2\Big), \qquad \kappa_n(\hat{\mathbf q}) = \frac{h_{xx}q_x^2 + 2h_{xy}q_xq_y + h_{yy}q_y^2}{\sqrt{1+|\nabla h|^2}}$$

$\hat{\mathbf q} = \hat{\mathbf n}_s\times\hat{\mathbf h}$ is the in-surface direction across the heading, $\kappa_n < 0$ on a convex surface, $L_f$ is the filopodium length (default 8 μm) and $z_f = 0.5$ μm is the sweep clearance on a flat substrate. Second derivatives of $h$ are tabulated with the surface. Unticked, the turns are added to the top-down angle instead, and only the projected step $\Delta s_{proj}$ above feels the shape.

A segment stops at length $L = (18 + 25\,\mathcal U)\times(1.5$ for trunks$)$, with $\mathcal U \sim \text{Uniform}(0,1)$, and then branches with probability = sprouting rate (2 branches 28% of the time, $\pm0.375$ rad, up to level 4). Collateral sprouts start with probability $0.8\times$ sprouting rate per frame. Stromal nerves perforate Bowman's layer at points spread uniformly by area between $r_{perf}$ and the limbus: 6 at the start, then one more with $p = 0.25$/frame. Each perforation gives a leash of 2 to 4 trunks spread over 0.35 rad along the local epithelial flow (cap 150 trunks, 400 segments). Tips stop within 18 units of a whorl.

$$\Delta\mathbf x_{node} = 0.74\,J_{drag}\times 3\times a(r)\,\mathbf U, \qquad a(r) = \text{smoothstep from 0 at } R-6 \text{ to 1 at } R-50$$

Trunks are also tethered at their perforation: $a$ is further limited by a ramp from 0 at 6 units to 1 at 50 units from the perforation point. Shaft nodes within 12 units of a whorl are consumed, and polylines are resampled at gaps above 3.2 units.

11. Nerve metrics (IVCM-style)

$$\text{CNFD} = \frac{\sum \text{fibre length along surface (mm)}}{\text{surface area (mm}^2)}, \qquad \text{CNBD} = \frac{N_{branches}}{\text{area}}$$ $$\text{Tortuosity} = \Big\langle \frac{\text{path length}}{\text{chord}} \Big\rangle, \qquad Q = \Big\langle \frac{|\mathbf r\times\Delta\mathbf x|}{|\mathbf r||\Delta\mathbf x|}\Big\rangle \ \ (\mathbf r \text{ from the nearest whorl})$$ $$S_n = \frac{\sum \hat{\mathbf u}\times\Delta\mathbf x}{\sum |\Delta\mathbf x|}, \qquad \hat{\mathbf u} = -\mathbf r/|\mathbf r| \ \ (\text{inward, from the limbal centre})$$

$S_n$ is the signed nerve spiral order: the length-weighted $\langle\sin\theta\rangle$ of the growth direction from straight inward. It uses the same convention as the epithelial vortex order, so the handedness of the two layers can be compared. $S_n^{surf}$ is the same quantity with $\hat{\mathbf u}$ and $\Delta\mathbf x$ lifted to the tangent plane and the angle taken about the surface normal, weighted by length along the surface. It removes top-down foreshortening. $Q$ is unsigned, and a random plexus already scores about $2/\pi \approx 0.64$. Whorl onset is the first time $|S_n|$ (with at least 60 segments) or the epithelial $|\langle\sin\theta\rangle|$ stays $\ge 0.2$ for three checks in a row, one check every 10 frames.

A telemetry row is logged every 10 frames while running, and exported as CSV.

Assumptions & limitations

  • Each particle is a coarse-grained patch of basal epithelium (about 110 μm), not a single cell. The epithelium is treated as one monolayer, with no stratification and no separate suprabasal or superficial layers.
  • The time scale is calibrated to about 1 μm/h mean migration (rodent in-vivo data). Absolute times in hours and days are therefore approximate, and whorls take longer to settle than the roughly 3 weeks reported experimentally.
  • The model is active soft matter with polar flocking (eLife RP 106061, Kostanjevec, Sknepnek, Collinson & Henkes). It contains no spiral field, chirality or built-in handedness by default. The only directional cues are optional and off by default: the imposed centripetal cue $F_{in}$, apex seeking, whorl chemotaxis for nerves, eyelid shear and the nerve-first terms (growth-cone chirality, galvanotropism, tangential cue and nerve template). No apex- or whorl-directed chemoattractant has been identified in the cornea.
  • Two stable whorls need the apex-seeking hypothesis on a twin-apex surface (Two Whorls preset), and they are mainly convergent rather than spiral. Without it, several spiral whorls can appear early in a run, but they merge into one.
  • The nerve segment cap keeps the plexus sparser than a healthy human cornea (fibre length density about 7 mm/mm² here). Nerve beading, H-shaped interconnections and intraepithelial terminals are not modelled.
  • Curvature acts only through geometry: 3D contact distances, forces and motion confined to the tangent plane, and polarity carried across the surface (first-order parallel transport). The surface does not change during a run. Very steep shapes are capped short of a vertical limbus (square-root argument ≥ 0.05).
  • The limbus is a circle in top-down projection, and cells are held there by a soft elastic anchoring potential. The display is a top-down projection, as in clinical and IVCM images.
  • Proliferation is contact-inhibited, and transient-amplifying cells are not tracked by generation. Extrusion depends only on crowding (plus the optional exposure term), with no apex-specific sink.
  • In limbal stem cell failure, the failed arc simply produces no new cells. Conjunctival invasion, vascularisation, inflammation and goblet cells are not modelled.
  • Wounding removes cells instantly. There is no inflammatory response, and nerves are not cut, but they lose drag where the epithelium is missing.
  • By default nerves are driven one-way by the epithelium and do not push back. The coupling slider runs either way but never both at once, so mixed or mutual coupling is not modelled. The nerve → epithelium template only steers polarity: it adds no force and no trophic effect on proliferation. The filopodial contact rule (contact falls as the substrate curves away across the growth cone) is a simple geometric assumption, not a measured relation, and the 0.5 μm sweep clearance is a guess. The nerve-first terms are phenomenological. The size of growth-cone chirality in vivo, the shape of any endogenous corneal electric field and any tangential electromagnetic cue are all unmeasured. Their gains are chosen only to give visible effects. The growth rules (inertia, branching, sprouting) are also phenomenological. Eyelid shear is an untested hypothesis. The shaft friction (0.74) is set so that default fibre drift matches about 46–51 μm/week (Stache et al. 2022).
  • Defect detection has 0.4 mm resolution, so transient noise-born defect pairs are filtered out. The simulation is stochastic, so every run, and the handedness of its whorl, differs.