Abstract
The panoramic vision of the convex compound eyes, common to insects and crustaceans, relies
on micrometer -scale curvature variations 1. These variations create specialized visual zones
adapted to specific tasks, including detecting prey, mates, or predators 2,3. However, the
mechanisms by which such fine -scale curvature is encoded during development remain
unknown. Here we show that the developing eye of Drosophila melanogaster functions as a
natural metamaterial that programs the organโs precise 3D curvature. We discover a
supracellular triangular mesh in the basal retina with a specific pattern of triangles sizes.
Computational simulations demonstrate its role directing the sm all scale curvature variations
of the eye. Genetic disruption of this micropattern prevents local curvature establishment.
Furthermore, the presence of a homologous mesh -curvature relationship in Drosophila
mauritiana indicates evolutionary conservation of this mechanism. These results reveal a novel
mechanism of morphogenesis control in which the supracellular 2D patterning give rise to a
biological programmable metamaterial that encodes 3D curvature with great precis ion4. Our
in vivo finding offers a novel framework for the design of shape-programmable 3D biological
surfaces with broad implications from synthetic morphogenesis to clinical applications.
.CC-BY-NC-ND 4.0 International licenseperpetuity. It is made available under a
preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in
The copyright holder for thisthis version posted November 27, 2025. ; https://doi.org/10.1101/2025.11.25.689431doi: bioRxiv preprint
2
Main
Morphogenesis, the controlled shaping of living materials, is essential for the correct
organization and function of complex organs. A paradigmatic example of how form impacts
function, is the insect compound eye, a n optical device of great precision . It consists of a
crystalline packing of unit eyes, called ommatidia, into a convex, dome -like structure (Fig.
1a,b). Each ommatidium comprises a central photodetection cartridge capped by a facet lens
and ensheathed by a layer of ancillary cells (Fig. 1c ). Importantly, curvature can vary across
the eye, and this curvature anisotropies often differ between species 1. Curvature variation
modifies visual performance: zones of low curvature focus many ommatidia onto a narrow
region, resulting in high spatial-resolution vision, while those with high curvature expand the
field of view. The combination of curvature and len s diameter, with larger lenses providing
greater light sensitivity, gives compound eyes multiple optical properties. These specialized
regions support predation, mating, or escape responses, which are all vital to the animal2,3 (Fig.
1d). Therefore, there must be mechanisms responsible for controlling the local curvature of
compound eyes, as this trait critically impacts their visual performance.
The development of the compound eye is best understood in the fruitfly Drosophila
melanogaster5-7. Cell differentiation and patterning of the retina into the mosaic of ommatidia
starts in the late larval stage and continues after the larva begins its metamorphosis, in the early
pupa. It is also during pupal life that the retina morphs into a 3D optica l dome (Fig. 1e). This
transformation occurs in three major steps. First, the thin pupal retinal epithelium becomes
curved around 20 hours after pupa formation (hAPF), under the action of hydrostatic pressure
which builds within the pupa 8. Then, at around 45โ50 hAPF, ommatidial ancillary cells secrete
the corneal lens, a hard polymer that coats the apical surface of the epithelium. Therefore, the
final shape of the eye, including its local curvature anisotropies, is fixed by this time. Fin ally,
starting at 55 hAPF, the retina thickens (up to 100 ยตm) as the ommatidial cells extend and their
basal surfaces contract, finalizing the morphogenesis of a functional eye 8-11. By the end of
pupal development, the adult Drosophila eye shows a species -specific, stereotypic curvature
(Fig. 1a,b). How this curvature is encoded in the fabric of the retinal tissue is not known.
A patterned triangular mesh tiles the pupal retina.
Early in pupal development, retinal cells acquire their position and remodel their morphology
to shape the ommatidium as a 3D prism (Fig. 1f and Extended Data Fig. 1; 9,12,13). At this stage,
apical (top) confocal views show the hexagonal lattice of ancillary interommatidial cells
(IOCs) consisting of the secondary (2ยบPC) and tertiary pigment cells (3ยบPC), the four lens
secreting cone cells and the sensory bristle cells comple xes (Fig. 1g and Extended Data Fig.
1). Basal (bottom) confocal views show the cellular profiles of the IOCs coordinating their
attachment around the afferent photoreceptor axons. In this organization, the IOCs form
supracellular rings, called โgrommetsโ, rich in extracellular matrix (ECM), which act as
portholes through which the photoreceptor axons exit the retina 9,12,13. Upon examining this
basal surface, we observed a new level of organization: the elongated basal feet of the 2ยบPCs
form triangles with the grommets as vertices, creating a continuous triangular mesh that spans
the entire tissue (Fig. 1h).
.CC-BY-NC-ND 4.0 International licenseperpetuity. It is made available under a
preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in
The copyright holder for thisthis version posted November 27, 2025. ; https://doi.org/10.1101/2025.11.25.689431doi: bioRxiv preprint
3
Mechanical metamaterials are designed structures that consist of repetitive connected units.
They are called โmetaโmaterials because their unique mechanical properties come from how
the units work together, not just from the material they are made of 4,14,15. Combining physics
engineering and computer science it has been possible to design programmable metamaterials,
where the distribution of the units in 2D can control the 3D shape as loading is applied to the
metamaterial4,16. One type of programmable metamaterials are bidimensional meshes in which
the unit elements are triangles. In these โ2D -triangular meshesโ local curvature can be
programmed by rationally varying the size of the triangles throughout the mesh17-19 (Box). The
similarities between these metamaterials and the multicellular pattern of the retina led us to
hypothesize that the developing compound eye might behave like a natural metamaterial,
where the basal triangular mesh formed by the 2ยบPC would encode local curvature information.
For this hypothesis to be true, three conditions must be met. First, the triangles of the mesh
should be distributed across the 2D retina in a non -uniform, stereotyped pattern. Second, this
2D micropatterning should be instructive in generating the species-specific Drosophila 3D eye
curvature. And third, perturbing the integrity of the triangular mesh should result in the eye
losing its species-specific curvature.
To analyze the pattern of triangle size of the basal mesh, we imaged and segmented the basal
surface of pupal retinas before lens secretion. Meeting our first condition, we found the size of
the triangles defined by the lattice of 2ยบPCs was distributed as a gradient of increasing size
from dorsal/posterior to ventral/anterior across the retina (Fig. 1i, Extended Data Fig. 1 and
Methods). Therefore, the mesh of triangles is micropatterned.
.CC-BY-NC-ND 4.0 International licenseperpetuity. It is made available under a
preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in
The copyright holder for thisthis version posted November 27, 2025. ; https://doi.org/10.1101/2025.11.25.689431doi: bioRxiv preprint
4
Fig. 1. A supracellular triangular mesh patterns the basal pupal retina of Drosophila. (a
and b) D. melanogaster compound eye. Lateral (a) and frontal (b) views (b, eye pseudocolored
in light pink). (c) Schematic of an ommatidium with all major cell types labeled. (d) Eye cross-
section illustrating how curvature affects field of vision and image resolution; ฮฮฆ is the
interommatidial angle. (e) Developmental timeline of eye morphogenesis at 25ยฐC, and major
milestones; hAPF: hours after pupa formation. (f) 3D reconstruction of an ommatidium. Apical
(left) and basal (right) views. 1ยบPC (light pink), 2ยบPC (pink), 3ยบPC, (yellow) and bristle cell
complex (grey). PC: Pigment Cell. (g and h) Apical (g) and basal (h) confocal views through
a 42 hAPF retina. Ommatidia form a hexagonal lattice apically (cyan hexagon). Orange rings
mark the position of the grommet (h), the photoreceptorsโ axon exit point, which in more apical
sections aligns wit h the longitudinal axis of the ommatidium (g). Basally, elongated 2ยบPC
profiles (pink) form a triangular mesh hinged at the grommets. The derived triangles (green)
overlap the basal cell surfaces of the bristle cell complex (pseudocolored in grey),
complementary to the 3ยบPC profiles (yellow). ( i) View of a whole 42 hAPF retina with
superimposed triangular mesh. Triangle size is color -coded (green -to-purple), revealing a
dorsal/posterior to ventral/anterior gradient of increasing triangle size. A, anterior; P posterior.
Scale bars: a, i = 100 ยตm; g, h = 10 ยตm.
.CC-BY-NC-ND 4.0 International licenseperpetuity. It is made available under a
preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in
The copyright holder for thisthis version posted November 27, 2025. ; https://doi.org/10.1101/2025.11.25.689431doi: bioRxiv preprint
5
The patterned triangular mesh encodes curvature
Next, to test whether the micropatterning of the 2D triangular mesh encodes the curvature of
the Drosophila eye, we developed a physical model of this mesh. Using this model, we could
program any distribution of triangle size within a given perimeter and simulate the resultant
3D curvature upon applying pressure to the mesh (Box and Supplementary Methods). To
analyze and compare curvature between samples, we used a Gaussian curvature-based metric20
(Box, Supplementary Table 1 and Methods). Finally, as our goal was to compare
computational and biological structures, we developed a computational pipeline to segment
images of adult eyes, enabling precise measurement of local curvature (Fig. 2a,b, Extended
Data Figs 2 and 3, Supplementary Table 2, Supplementary Video 1 and Methods).
.CC-BY-NC-ND 4.0 International licenseperpetuity. It is made available under a
preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in
The copyright holder for thisthis version posted November 27, 2025. ; https://doi.org/10.1101/2025.11.25.689431doi: bioRxiv preprint
6
Box. Generation and curvature quantification of 3D surfaces . (a) To compare dome -like
surfaces such as the Drosophila eye, it is necessary to evaluate the 3D curvature of the entire
surface. Therefore, we calculated the Gaussian curvature distribution across the surfaces of
.CC-BY-NC-ND 4.0 International licenseperpetuity. It is made available under a
preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in
The copyright holder for thisthis version posted November 27, 2025. ; https://doi.org/10.1101/2025.11.25.689431doi: bioRxiv preprint
7
interest. With this method, each curved surface is divided into ten concentric regions, and the
integral of the dimensionless Gaussian curvature is calculated within each region (see Methods
and Supplementary Methods ). (b) As reference shapes, we use three idealized 3D surfaces:
hemisphere, hemi -ellipsoid, and saddle. These illustrate typical curvature types: constant
positive, varying positive, and negative curvature, respectively. The rigid perimeter is the same
for all three patterns. (c) Each shapeโs curvature is represented as a set of ten values (one per
region), generating a Gaussian curvature profile (see Methods). The pairwise Gaussian metrics
between the three reference shapes are shown in (b). The hemisphere and hemi -ellipsoid are
similar (lower value), while the saddle is distinctly different from both. ( d) To model curved
metamaterial-like tissue formation, we apply pressure on a 2D triangular mesh enclosed in an
elliptical rigid frame. We illustrate the differences in attained curvature using three patterns of
triangle size: Uniform: identical triangle sizes (blue); Gradient: triangle sizes increase linearly
from the equator toward the poles (orange); Discontinuous: same as the gradient but
homogeneously removing 20% of the triangles in the upper bottom regions. Each 2D mesh is
inflated over a series of computational iterations, and the resulting 3D shape is then processed
for curvature analysis (Extended Data Fig. 3). The panel shows side views (yz and xz) of the
processed surfaces generated by each pattern, at 50 (lighter colors) and 150 (darker colors)
iterations. The x z views highlight overall shape and fine irregularities. ( e) The Gaussian
curvature profiles of the uniform (cyan/blue) and gradient (orange/red) surfaces are plotted
after 50 and 150 iterations. The gradient pattern yields very similar 3D curvatures at both steps
(Gaussian metric < 0.1). In contrast, the uniform pattern develops more noticeable curvature
differences between 50 and 150 steps (Gaussian metric = 0.29), reflecting emerging
irregularities during inflation. (f) Final Gaussian curvature profiles after 150 iterations for the
three patterns showing poor correlation between them. Their pairwise Gaussian metric values
are indicated in (d), reflecting the divergence of their 3D curvatures.
To explore the link between triangular mesh and curvature, we programed three types of initial,
2D triangle patterns: (i) wild -type Drosophila melanogaster patterns derived from 42 hAPF
retinas, โsWTโ ; (ii) uniform patterns with identical triangles, โsITโ ; and (iii) continuous,
rubber-like fine meshes composed of smaller triangles with scrambled orientations, โsRubโ
(see Methods for a detailed description; Fig. 2c -e, Extended Data Figs. 2 and 3). sRub was
included to mimic the behavior of a homogeneous material21. To simulate the adult Drosophila
eyes, we deployed each mesh within the perimeters measured from the pupal retinas, inflating
each mesh until they best matched the mean depth of the wild -type eyes (Fig. 2b-e, Extended
Data Figs. 2 and 3, Supplementary Video 2, Methods, Supplementary Tables 2 and 3). Finally,
we computed the Gaussian metric in a pairwise manner ( Supplementary Table 4). We found
that local curvature of WT eyes was comparable across our samples (low values of Gaussian
metric of โWT vs WTโ in Fig. 2f, Extended Data Figs. 1 and 2, Supplementary Table 5,
Methods). Remarkably, and validating our computational model, our analysis showed the
curvature of the simulated WT (sWT) was very similar to the WT, while those sIT or sRub
were significantly different (Fig. 2f, Supplementary Table 5, Methods). Therefore, only the
triangle micropattern of Drosophila retinas was able to morph into the adult 3D eye curvature.
.CC-BY-NC-ND 4.0 International licenseperpetuity. It is made available under a
preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in
The copyright holder for thisthis version posted November 27, 2025. ; https://doi.org/10.1101/2025.11.25.689431doi: bioRxiv preprint
8
To further challenge our hypothesis, we tested whether there was a correlation between eye
curvature and the pattern of triangles in the retinal mesh in other fly species. For this, we chose
to examine the eye of Drosophila mauritiana, a species that diverged from D. melanogaster
about 4 Myrs ago22 (Fig. 2g-k, Extended Data Fig. 4). D. mauritiana has larger eyes (Fig. 2g,
Extended Data Fig. 4) as its retinas comprise more and larger ommatidia when compared to D.
melanogaster23. The comparison of D. mauritiana (โMauโ) and D. melanogaster (โWTโ,
โMelโ in Fig. 2h) eyes showed that, despite their size difference, they have very similar
curvature (Fig. 2k, Supplementary Tables 2 and 5). According to our hypothesis, the retina of
D. mauritiana should present a patterned triangular mesh similar to that of D. melanogaster, a
prediction we verified after analyzing the basal surface of D. mauritiana pupal retinas (Fig. 2i;
compare with Fig. 1i). Moreover, incorporating the segmented triangle micropatterns into our
computational model predicted the curvature of the D. mauritiana eye with great precision
(Fig. 2k; see also Extended Data Fig. 4, Supplementary Table 5). These results further indicate
that the 2D patterned triangular mesh encodes eye local curvature across Drosophila species.
Fig. 2. A physical model reproduces retinal curvature across Drosophila species. (a)
Lateral view of a wild -type D. melanogaster head imaged using light -sheet microscopy. ( b)
Segmented eye surface (WT, frontal and oblique views) extracted from (a). (c) A patterned 2D
triangle mesh extracted from a D. melanogaster pupal retina is used to generate a simulated
3D surface (sWT; see Methods). ( d) For comparison, a 2D mesh consisting of triangles
uniform in size, generates the sIT surface. (e) A third simulation (sRub) mimics a rubber-like
.CC-BY-NC-ND 4.0 International licenseperpetuity. It is made available under a
preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in
The copyright holder for thisthis version posted November 27, 2025. ; https://doi.org/10.1101/2025.11.25.689431doi: bioRxiv preprint
9
Material
with the same perimeter. (f) Pairwise comparisons of the resulting 3D surfaces using
the Gaussian metric (see Box); each dot represents one comparison. sWT is the only simulation
that reproduces WT curvature. ( g) Lateral view of an adult D. mauritiana head. (h) Frontal
view of segmented D. mauritiana (Mau, pink) and D. melanogaster (Mel, grey) eyes,
superimposed for comparison. ( i) The D. mauritiana pupal retina displays a triangle size
gradient similar to D. melanogaster . ( j) sMau: the simulated 3D surface based on the D.
mauritiana triangle pattern. ( k) D. melanogaster (WT) and D. mauritiana (Mau) eyes are
similar in curvature and sMau accurately reproduces the curvature of the adult D. mauritiana
eye, showing a strong match with empirical data. Scale bars: a, g, i = 100 ยตm. Triangle size
colored according to scale in (c), (d) and (i and j). Data shown as mean ยฑ s.d. Gaussian metric
distributions statistical tests: ns, not significant; *p<0.05; ***p<0.001.
Disruption of the triangular mesh alters curvature of the compound eye.
In our hypothesis, disruption of the 2D triangular mesh lining the basal surface of the retina
should preclude curvature programming. As a consequence, the resulting eyes should lose their
stereotypic curvature. To disrupt this mesh, we used RNAi (IR) to t arget the expression of
Talin, a protein required for Integrin -mediated attachment of the 2ยบPC s to the grommet12,13,24
(genotype GMR-G4>talin_RNAi, โtalin-IRโ, see Methods). In this genotype, the 2ยบPC s lose
their attachment to the grommets, which causes the disconnection of the mesh and affects the
basal geometry of these cells (Fig. 3a and Extended Data Fig. 5). Despite these basal
disruptions, apical patterning remains largely unaffected (Fig. 3b; and 12,13,25). While the talin-
IR eyes were shaped as a dome-like structure like the WT (Fig. 3c and d, adult eye labelled as
Talin in the figure), their curvature was markedly different from that of WT eyes (Fig. 3e -h,
Supplementary Table 5). Notably, the disruption of the mesh produced large curvature
variability (Fig. 3h, Supplementary Table 5), indicating that the triangular mesh is critical for
the robustness of the 3D curvature. Breaking mesh connectivity should result in the retina
losing the metamaterial proper ties โi.e talin-IR retinas should behave like a homogeneous
material. To investigate this prediction, we simulated 3D curvature using the rubber material,
described in Fig. 2e, which we framed within the perimeters of talin-IR retinas (โsTalinโ,
Extended Data Fig. 5 and Methods). This simulation led to a similar increase in variability to
that we observed for adult Talin eyes (Fig. 3i and Supplementary Table 5). Altogether, our
Results
support the concept that the metamaterial properties of the developing Drosophila
retina, encoded in the patterned triangular mesh, are responsible for the reproducibility of the
3D curvature of the compound eyes.
.CC-BY-NC-ND 4.0 International licenseperpetuity. It is made available under a
preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in
The copyright holder for thisthis version posted November 27, 2025. ; https://doi.org/10.1101/2025.11.25.689431doi: bioRxiv preprint
10
Fig. 3. The patterned triangular mesh encodes for local curvature. (a and b) Confocal
views through a talin-IR pupal retina stained with phalloidin to visualize the F-actin at the basal
(a) and apical (b) surface of the retina. Orange ring marks the ommatidial central axis. (c and
d) Lateral (c) and frontal (d) views of a talin-IR adult eye (โTalinโ in the figure), showing that
these eyes are curved and present minor alterations. (e) Reference Gaussian curvature profiles
for a WT eye from a female (grey) and a male (black). Their similarity is indicated by a very
low value of their pairwise Gaussian metric (0,07). (f) Combined dataset of Gaussian curvature
profiles including a WT and three Talin surfaces, used to compute the pairwise Gaussian
metric. Curvature of Talin eyes is consistently distinct from WT. ( g) 3D reconstructions of
three segmented Talin adult eyes. Bronze, italicized numbers indicate the Gaussian metric
calculated from pairwise comparisons between each Talin surface and a wild-type (WT) male
retina (see f). Gold numbers show the metric between each pair of Talin surfaces. ( h)
Distribution of Gaussian metrics for these comparisons, showing that Talin eyes differ
significantly from WT and display higher variability. ( i) Equivalent comparisons using
computationally generated reference surfaces confirm these trends. Scale bars: a, b = 10 ยตm; c
= 100 ยตm.
.CC-BY-NC-ND 4.0 International licenseperpetuity. It is made available under a
preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in
The copyright holder for thisthis version posted November 27, 2025. ; https://doi.org/10.1101/2025.11.25.689431doi: bioRxiv preprint
11
Discussion
Since DโArcy Thompson's foundational work, it has been clear that understanding biological
form requires examining the interplay between the principal forces and material properties at
work during development 26. During animal development, there are multiple examples where
the physical forces that drive morphogenesis are spatiotemporally controlled at supracellular
scales27,28. This idea is being pursued to engineer shapes in artificial tissues in vitro, through
the programing of force asymmetries or microfabrication of 2D and 3D environments29,30. Here
we have found that the compound eye uses a novel strategy to program a 3D shape in vivo: a
uniform hydrostatic pressure acts on a patterned non -homogeneous tissue, the developing
retina. This morphogenetic mechanism derives from two linked properties: the metamaterial
quality of the tissue and the fact that it can be programmed genetically. The metamaterial
behavior emerge from the specific mechanical coupling between 2ยบPCs, which is integral to
the whole epithelium 11. The connection of these cells through the grommets gives rise to the
triangular mesh. The second part is the ability of locally controlling the size of the triangles,
making it possible to establish a pattern responsible for the micrometer-scale, species-specific
curvature anisotropies of the eye. A key question moving forward is which genetic mechanisms
translate positional information into cell size regulation. The use of synthetic metamaterials
with rationally-designed properties is fast expanding31, with new applications such as patches
to give structural support to infarcted myocardium, vascular stents or wound dressings to aid
skin healing4. To our knowledge, the developing retina of flies is the first instance of a natural
metamaterial in which its properties are programmed genetically. By revealing how local
geometry can be embedded in tissue architecture, this work introduces a novel strategy for the
rational design of shape -programmable 3D biological surfaces, with potential implications
extending from synthetic morphogenesis to clinical applications.
In addition to specifying the target morphology, a problem biological systems face is that of
precision -reaching the species-specific morphology despite intrinsic and extrinsic noise. The
need for precise curvature control has been made especially evident in studies of the
Drosophila eye, where even subtle morphological defects can compromise optical
function32,33. Moreover, local curvature variation must occur at the microscale, within a tissue
only a few hundred microns across. Waddington proposed that phenotypic robustness should
be the result of control mechanisms operating during development 34. The phenomenon we
describe here represents such a mechanism, where the robust and precise control derives from
the metamaterial properties of the retina. From a design perspective, it is not clear why the
triangular mesh is located at the basal surface rather than at the apical one. One possibility is
that the basal surface is better suited for maintaining and guiding shape as it is directly exposed
to the constant hydrostatic pressure, which during development has been shown to promote
retinal curvature8. Once the apical lens is deposited and hardens, it likely serves as a permanent
scaffold preserving retinal shape into adulthood. We also observed that the gradient in triangle
size, from posterior/dorsal to anterior/ventral, mirrors a corresponding gradi ent in increasing
lens size described in several Drosophila species, including D. mauritiana and D. simulans35.
Since both curvature and lens diameter influence visual acuity, it is plausible that a control of
ommatidial cell size co -regulates these two traits simultaneously. Considering the long
evolutionary history of the compound eye, dating back to the Cambria n and coinciding with
.CC-BY-NC-ND 4.0 International licenseperpetuity. It is made available under a
preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in
The copyright holder for thisthis version posted November 27, 2025. ; https://doi.org/10.1101/2025.11.25.689431doi: bioRxiv preprint
12
the explosive diversification of arthropods (reviewed in 36), it is tempting to speculate that
mechanisms of curvature control and visual optimization, such as the one described here, may
have played a role in the evolutionary success of insects and crustaceans.
References
1 Casares, F. & McGregor, A. P. The evolution and development of eye size in flies.
Wiley interdisciplinary reviews. Developmental biology, e380 (2020).
https://doi.org/10.1002/wdev.380
2 Snyder, A. W., Laughlin, S. B. & Stavenga, D. G. Information capacity of eyes.
Vision Res 17, 1163โ1175 (1977). https://doi.org/10.1016/0042-6989(77)90151-1
3 Land, M. F. Visual acuity in insects. Annu Rev Entomol 42, 147โ177 (1997).
https://doi.org/10.1146/annurev.ento.42.1.147
4 Kalogeropoulou, M., Kracher, A., Fucile, P., Mihaila, S. M. & Moroni, L. Blueprints
of Architected Materials: A Guide to Metamaterial Design for Tissue Engineering.
Adv Mater 36 (2024). https://doi.org/10.1002/adma.202408082
5 Wolff, T. & Ready, D. F. The beginning of pattern formation in the Drosophila
compound eye: the morphogenetic furrow and the second mitotic wave. Development
113, 841โ850 (1991).
6 Tomlinson, A. The molecular basis of pattern formation in the developing compound
eye of Drosophila. Semin Cell Biol 1, 229โ239 (1990).
7 Nagaraj, R., Canon, J. & Banerjee, U. in Drosophila Eye Development. Results and
Problems in Cell Differentiation Vol. 37 (ed K. Moses) (Springer, 2002).
8 Lancaster, C., Manhart, A. & Pichaud, F. Integrins coordinate basal surface
contraction and oriented cell growth to enable thickening of a curved epithelium.
Current Biology (2025). https://doi.org/10.1016/j.cub.2025.05.048
9 Cagan, R. L. & Ready, D. F. The emergence of order in the Drosophila pupal retina.
Dev Biol 136, 346โ362 (1989). https://doi.org/10.1016/0012-1606(89)90261-3
10 Ready, D. F. Drosophila compound eye morphogenesis: blind mechanical engineers?
Results
Probl Cell Differ 37, 191โ204 (2002). https://doi.org/10.1007/978-3-540-
45398-7_12
11 Ready, D. F. & Chang, H. C. Interommatidial cells build a tensile collagen network
during Drosophila retinal morphogenesis. Curr Biol 33, 2223โ2234 e2223 (2023).
https://doi.org/10.1016/j.cub.2023.04.066
12 Longley, R. L., Jr. & Ready, D. F. Integrins and the development of three-
dimensional structure in the Drosophila compound eye. Dev Biol 171, 415โ433
(1995). https://doi.org/10.1006/dbio.1995.1292
13 Walther, R. F., Lancaster, C., Burden, J. J. & Pichaud, F. A dystroglycan-laminin-
integrin axis coordinates cell shape remodeling in the developing Drosophila retina.
PLoS Biol 22, e3002783 (2024). https://doi.org/10.1371/journal.pbio.3002783
14 Zadpoor, A. A. Mechanical meta-materials. Mater Horiz 3, 371โ381 (2016).
https://doi.org/10.1039/c6mh00065g
15 Bertoldi, K., Vitelli, V., Christensen, J. & van Hecke, M. Flexible mechanical
metamaterials. Nat Rev Mater 2 (2017). https://doi.org/ARTN
1706610.1038/natrevmats.2017.66
16 Yu, Y. et al. Reprogrammable multistable ribbon kirigami with a wide cut Appl.
Phys. Lett. 123 (2023). https://doi.org/10.1063/5.0157978
.CC-BY-NC-ND 4.0 International licenseperpetuity. It is made available under a
preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in
The copyright holder for thisthis version posted November 27, 2025. ; https://doi.org/10.1101/2025.11.25.689431doi: bioRxiv preprint
13
17 Konakovic-Lukovic, M., Panetta, J., Crane, K. & Pauly, M. Rapid deployment of
curved surfaces via programmable auxetics. ACM Transactions on Graphics 37, 1โ13
(2018). https://doi.org/10.1145/3197517.3201373
18 Friedrich, J., Pfeiffer, S. & Gengnagel, C. in Humanizing Digital Reality 323โ336
(Springer Nature Singapore, 2018).
19 Celli, P. et al. Shape-morphing architected sheets with non-periodic cut patterns. Soft
Matter 14, 9744โ9749 (2018). https://doi.org/10.1039/C8SM02082E
20 Fu, J., Joshi, S. B. & Simpson, T. W. Shape differentiation of freeform surfaces using
a similarity measure based on an integral of Gaussian curvature. Comput Aided
Design 40, 311โ323 (2008). https://doi.org/10.1016/j.cad.2007.11.006
21 Spencer, A. J. M. Continuum Mechanics. (Dover Publications, 2004).
22 Kumar, S., Stecher, G., Suleski, M. & Hedges, S. B. TimeTree: A Resource for
Timelines, Timetrees, and Divergence Times. Mol Biol Evol 34, 1812โ1819 (2017).
https://doi.org/10.1093/molbev/msx116
23 Posnien, N. et al. Evolution of eye morphology and rhodopsin expression in the
Drosophila melanogaster species subgroup. PLoS One 7, e37346 (2012).
https://doi.org/10.1371/journal.pone.0037346
24 Sun, Z., Costell, M. & Fรคssler, R. Integrin activation by talin, kindlin and mechanical
forces. Nature Cell Biology 21, 25โ31 (2019). https://doi.org/10.1038/s41556-018-
0234-9
25 Zusman, S., Patel-King, R. S., Ffrench-Constant, C. & Hynes, R. O. Requirements for
integrins during Drosophila development. Development 108, 391โ402 (1990).
https://doi.org/10.1242/dev.108.3.391
26 Thompson, D. W. On growth and form. (University Press, 1945).
27 Stooke-Vaughan, G. A. & Campas, O. Physical control of tissue morphogenesis
across scales. Curr Opin Genet Dev 51, 111โ119 (2018).
https://doi.org/10.1016/j.gde.2018.09.002
28 Collinet, C. & Lecuit, T. Programmed and self-organized flow of information during
morphogenesis. Nat Rev Mol Cell Bio 22, 245โ265 (2021).
https://doi.org/10.1038/s41580-020-00318-6
29 Chahare, N. et al. Multiscale wrinkling dynamics in epithelial shells. bioRxiv,
2025.2006.2030.662426 (2025). https://doi.org/10.1101/2025.06.30.662426
30 Matejci, M. & Trepat, X. Mechanobiological approaches to synthetic morphogenesis:
learning by building. Trends in cell biology 33, 95โ111 (2023).
https://doi.org/10.1016/j.tcb.2022.06.013
31 Vyavahare, S., Mahesh, V., Mahesh, V. & Harursampath, D. Additively
manufactured meta-biomaterials: A state-of-the-art review. Compos Struct 305
(2023). https://doi.org/ARTN 11649110.1016/j.compstruct.2022.116491
32 Franceschini, N. & Kirschfeld, K. [Pseudopupil phenomena in the compound eye of
drosophila]. Kybernetik 9, 159โ182 (1971). https://doi.org/10.1007/BF02215177
33 Franceschini, N. & Kirschfeld, K. [In vivo optical study of photoreceptor elements in
the compound eye of Drosophila]. Kybernetik 8, 1โ13 (1971).
https://doi.org/10.1007/BF00270828
34 Waddington, C. H. Canalization of development and the inheritance of acquired
characters. Nature 150, 563โ565 (1942).
35 Buffry, A. D. et al. Evolution of compound eye morphology underlies differences in
vision between closely related Drosophila species. BMC Biol 22, 67 (2024).
https://doi.org/10.1186/s12915-024-01864-7
36 Nilsson, D. E. & Kelber, A. A functional analysis of compound eye evolution.
Arthropod Struct Dev 36, 373โ385 (2007). https://doi.org/10.1016/j.asd.2007.07.003
.CC-BY-NC-ND 4.0 International licenseperpetuity. It is made available under a
preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in
The copyright holder for thisthis version posted November 27, 2025. ; https://doi.org/10.1101/2025.11.25.689431doi: bioRxiv preprint
14
.CC-BY-NC-ND 4.0 International licenseperpetuity. It is made available under a
preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in
The copyright holder for thisthis version posted November 27, 2025. ; https://doi.org/10.1101/2025.11.25.689431doi: bioRxiv preprint
15
Methods
Fly strains & genetics
Flies were raised on standard food at 25ยฐC. The following fly strains were used: hth::YFP
(Kyoto:115109)37,38, GMR-Gal439 (FlyBase: FBgn0020433; S0092-8674(00)81385-9 [pii] ),
UAS-talin RNAi (BDSC:33913)40, D. mauritania Tam-16 (gift from Alistair McGregor,
Durham University, UK)35.
Antibody staining and imaging
Retinas of appropriately staged animals were dissected in PBS on ice and fixed in 4%
paraformaldehyde for 20 minutes at room temperature (RT). Retinas were washed in PBS -
Triton 0.3% (PBS-T) then stained with primary antibody in PBS-T for 2hrs at RT or overnight
at 4ยฐC. Retinas were washed in PBS -T and then stained with secondary antibodies for 2h at
RT or overnight at 4ยฐC. Retinas were mounted in Vectashield (Vectorlabs) 41. The following
primary antibodies were used: Mouse N2 7A1 anti-Armadillo (1:200), mouse EXD B11M anti-
Extradenticle (1:5) and rat DCAD2 anti-ECadherin (1:50). N2 7A1 Armadillo was deposited
to the DSHB by Wieschaus, E. (DSHB Hybridoma Product N2 7A1 Armadillo) 42. White, R.
(DSHB Hybridoma Product EXD B11M), deposited EXD B11M to the DSHB43. DCAD2 was
deposited to the DSHB by Uemura, T. (DSHB Hybridoma Product DCAD2)44. Anti-mouse or
anti-rat secondary antibodies conjugated to CF 405S (Biotium, 20830) were used at 1:200 as
appropriate, and ATTO 565 phalloidin (Sigma, 94072) was used at 0.4ยตM to visualize F-actin.
Images of fixed retinas were acquired on a Zeiss 900 confocal mic roscope using the tile scan
function.
Preparation of adult heads and light sheet confocal imaging
This protocol, as the recipes used, are based on Susaki45,46. All incubations were performed at
room temperature (RT) with agitation.
Dissection: Flies were euthanized in CO2 or on ice. They were then decapitated and the heads
placed in a well containing 1X PBS. The proboscides were removed to allow further diffusion
between the external medium and the interior of the head capsules. Fixation: The specimens
were fixed in 4% paraformaldehyde in ethanol for 3 -4 hours and then washed three times in
pure ethanol for 1 hour each time. Bleaching: The heads were placed in tubes containing 10%
H2O2 in ethanol until they were completely bleached (the time is variable and depends, for
example, on whether the proboscis was fully removed or not). (Caution: This reaction produces
oxygen. Leave the tube or well open during the first few hours of this step to allow the oxygen
to escape. When the bubbling stops, the lid can be closed). This step may take from several
days to 1,5 weeks for adult heads. Change the medium if it becomes pigmented. After
completion of bleaching, wash 3 times with PBS 1x 1 h. Clearing: Heads were incubated in
50% Cubic-1/H2O for at least 3-6 hours to overnight. Then, incubated in Cubic -1 for 2 days.
Next, incubated in Cubic-2/PBS for at least 3-6 hours to OV and then incubated in Cubic-2 for
2 days. Finally, they were incubated 3 times in glycerol/PBS 50%: first for 3 -4 hours, second
for OV, and third for 3-4 hours.
.CC-BY-NC-ND 4.0 International licenseperpetuity. It is made available under a
preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in
The copyright holder for thisthis version posted November 27, 2025. ; https://doi.org/10.1101/2025.11.25.689431doi: bioRxiv preprint
16
Microscopy was performed with a Zeiss Lightsheet 7 under a 5x objective. The heads were
mounted on 1:1 glycerol/PBS columns with 1% w/v low melting agarose. The microscope
chamber was filled with approximately 30 ml of 1:1 glycerol/PBS with a refractive index (RI)
of 1.41. The software used was Zen Black (imaging) and Zen Blue (manual 3D
reconstructions); the laser, 488 nm, which allows imaging of the cuticle autofluorescence.
Statistical comparisons and interpretation
To evaluate the degree of similarity between simulations and adults (e.g., sWT and WT) we
analyzed the statistical differences between the Gaussian metric distributions obtained from
WT vs WT and sWT vs WT. In this example, both types of samples presented low values of
Gaussian metric, so the absence of statistically significant difference was interpreted as
indicating similar curvature between the two types of samples. We applied the same approach
to compare the curvature of WT and talin-IR samples. In this case, the distributions of WT vs
WT and Talin vs WT were significantly different, with the values for Talin being substantially
larger. This result was interpreted as evidence of a difference in curvature and loss of
robustness among the Talin samples.
The comparative analysis of the different Gaussian curvature profiles vector was conducted
using a univariate statistical framework ( Supplementary Tables 5 and 6 ). This approach
enables the assessment of whether two datasets originate from populations with similar
distributional properties. The protocol consisted of the following steps:
1. Assessment of normality and homogeneity of variance : For each pairwise
comparison of Gaussian curvature distributions across genotypes, we first tested for
normality using the ShapiroโWilk test, and for homogeneity of variance using the two-
sample F-test.
2. Parametric testing with equal variances: If both normality and equal variances were
confirmed, we applied an unpaired t-test to assess differences in the means between the
two groups. In case of multiple comparisons having one distribution as control, we
applied a parametric ordinary one-way ANOVA test.
3. Parametric testing with unequal variances : In cases where the data were normally
distributed but variances differed significantly, the two -tailed Welchโs t-test was
employed as a more robust alternative. In case of multiple comparisons having one
distribution as control, we applied a parametric ordinary one-way ANOVA test.
4. Non-parametric testing: When the assumption of normality was violated, we utilized
the Wilcoxon rank-sum test (also known as the MannโWhitney U test) to compare the
medians of the two groups. In case of multiple comparisons having one distribution as
control, we applied a Kruskal-Wallis test.
.CC-BY-NC-ND 4.0 International licenseperpetuity. It is made available under a
preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in
The copyright holder for thisthis version posted November 27, 2025. ; https://doi.org/10.1101/2025.11.25.689431doi: bioRxiv preprint
17
Segmentation of confocal imaging data from 42hAPF retinas and generation of the
triangular mesh.
Confocal stacks stained with ATTO 565 phalloidin (F-actin) were used to segment grommets
without prior knowledge of retina orientation. Segmentation began with MATLABโs Volume
Segmenter (R2021b), followed by a deep learning pipeline based on a 3D U-Net CNN trained
on a manually segmented stack47. The resulting probability maps were binarized with custom
MATLAB code and manually corrected. Samples requiring excessive manual editing were
excluded. Grommet centroids were then extracted and used to construct alpha triangulations
via the alphaTriangulation function.
To build the retinaโs triangular mesh, we implemented a custom region -growing algorithm.
Starting from a manually selected triangle over a bristle cell complex (initial triangle), the
algorithm iteratively added non -adjacent triangles until completion of valid triangles set.
Remaining triangles were classified as inverse triangles. Surface areaโbased color coding was
applied to each triangle.
For talin-RI retinas ( GMR>talin_RNAi) the segmentation procedure differed from that
employed for the wild type D. melanogaster (โWTโ) and D. mauritania (โMauโ), since
grommets were largely absent, precluding neural network segmentation. These samples were
fully segmented manually by delineating boundaries in Volume Segmenter . Boundary
coordinates were extracted via custom scripts and used in downstream analyses.
Building the different simulations
sWT
To make the any triangulation, in the case the one defined by the set of valid triangles of WT,
sWT, compatible with the finite element method computational model employed in this
study48-50 (Supplementary Methods), several preprocessing steps are required:
1. Quadratic Triangulation : We converted the initial triangulation into a quadratic
triangulation using a custom MATLAB routine. Each triangle was redefined with six
nodes, three at the vertices and three at edge points, yielding two matrices, a coordinate
matrix (coordinates) of size and a connectivity matrix (elements) with nodes ordered
clockwise51.
2. Dirichlet Boundary Conditions : We imposed these conditions by identifying the
boundary nodes using MATLABโs boundary functions and fixing all their degrees of
freedom (dofs) to zero. These include three translational displacements along the x, y,
z directions (dof = 1, 2, 3) and two rotational displacements about the x and y axes (dof
= 4, 5). The conditions were stored in the fixnodes matrix to ensure model stability near
boundaries.
3. Nodal points : The external forces were defined for internal (non -boundary) nodes,
recorded in the pointload matrix. Initially, forces were applied in the z-direction, later
.CC-BY-NC-ND 4.0 International licenseperpetuity. It is made available under a
preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in
The copyright holder for thisthis version posted November 27, 2025. ; https://doi.org/10.1101/2025.11.25.689431doi: bioRxiv preprint
18
updated during iterations to acto normal to each triangleโs surface (Supplementary
Methods).
sWTi
To assess whether the gradient in the triangular pattern encodes the three -dimensional
curvature of WT, we generated an inverted control pattern, referred to as sWTi, defined by the
set of inverse triangles (Extended Data Fig. 2f,g). Once it was established, the same analytical
and computational procedures were applied as used for sWT model.
sIT
For each of the sWTs, a corresponding uniform triangulation, sIT (Fig. 2d), was generated to
create a mesh without spatial gradients in triangle size while preserving the original geometric
pattern of valid triangles.
The process began by extracting the sWT boundary points and constructing a uniform lattice
in the ๐ฅ โ ๐ฆ plane. This lattice consisted of two alternating lines of points spaced by the
average base ๐๐ and height ๐โ of sWT triangles, producing congruent triangles of eqaul รกrea
across the domain. Points within the sWT boundary were selected and triangulated similarly
tos WT methods, forming the sIT mesh.
Since the number of triangles in sIT could differ from sWT, an iterative adjustment of ๐๐ and
๐โwas performed until the number of triangles between sWT and sIT is reduced to within 5%
(Supplementary Table 3).
sRub
For each triangulation based on the valid triangle set sWT, a corresponding rubber -like
triangulation, sRub (Extended Data Fig. 2h ), was generated to create a spatially continuous,
non-structured and homogeneous mesh. Unlike the structured uniform triangulations (sIT),
sRub was created using a simpler metho leveraging MATLABโs Partial Differential Equation
toolbox to automatically generate scrambled triangles within the sWT boundary. As a result,
sRub meshes contained significantly more triangles than sWT, increasing computational
demands. To balance simulation accuracy and efficiency, edge lengths were constrained
between ๐ป๐๐๐ฅ = 10 ๐๐ and ๐ป๐๐๐ = 5 ๐๐ (Supplementary Table 3).
sTalin
For the sTalin models, the same meshing procedure described for the sRub models was applied,
including the specification of the maximum and minimum target edge lengths, ๐ป๐๐๐ฅ and
๐ป๐๐๐ , respectively ( Extended Data Fig. 5c ). However, in this case, rather than utilizing the
boundary of the corresponding sWT model, the triangulation was generated using the manually
defined boundary of the talin-RI pupae.
.CC-BY-NC-ND 4.0 International licenseperpetuity. It is made available under a
preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in
The copyright holder for thisthis version posted November 27, 2025. ; https://doi.org/10.1101/2025.11.25.689431doi: bioRxiv preprint
19
sMau
The same procedure described for the sWT models was applied to Mau samples (Fig 2i).
sMau*
In the case of the sMau* models, it was necessary to refine the set of valid triangles of Mau
samples due to the disruption of the characteristic triangulation pattern in specific regions of
the anterior part of the retina (Extended Data Fig. 4f). This disruption resulted in the inclusion
of computational triangles that did not accurately represent the basal surface of Drosophila
mauritiana pupae. These non-representative triangles, that represent on average the 3% of the
total triangles (Supplementary Table 3), were systematically identified based on morphological
discrepancies with the expected basal surface geometry and subsequently excluded from the
valid sMau triangulation set using a custom MATLAB script.
3D adult eyes image segmentation and postprocessing
To segment adult eyes independently from the heads across genotypes, we used the Volume
Segmenter application with image data imported via a custom MATLAB script. Manual
segmentation was performed followed by linear interpolatio n. The resulting label volumes
were binarized and cropped for individual eye processing. A custom MATLAB algorithm
extracted the apical surface by converting the segmented volume into a calibrated 3D point
cloud. The point cloud was rotated so that the dorso-ventral axis lay in the ๐ฅ โ ๐ฆ plane, aligning
the apex (the point with the highest ๐ง-coordinate) normal with the ๐ง-axis. Spatial density was
enhanced through interpolation with griddata function. The eye boundary was determined by
projecting the point cloud onto the ๐ฅ โ ๐ฆ plane and identifying its outer contour. Starting from
the apex, the surface was propagated through connected points until the boundary was reached.
Final boundary points were added and re-interpolated to yield a continuous apical surface.
Although the apical surface of the eye can be extracted from the segmented volume, the
resulting representation is not suitable for the computation of dimensionless Gaussian
curvature20,52,53.
To address these limitations, we developed dedicated MATLAB algorithm that consists of:
1. Point Cloud Downsampling : As proved in 54 the dimensionless Gaussian curvature
depends on the distance between a point and its neighbours. A downsampling strategy
based on farthest point sampling (FPS)55 was implemented to iteratively select the
subset of points that maximized spatial coverage while preserving the surface overall
structure.
2. Surface Smoothing: To refine the mesh and reduce noise in the point cloud, we apply
a smoothing operation based on Laplacian smoothing, which operates by iteratively
adjusting the vertex positions to achieve a smoother surface while preserving the
overall geometry. The smoothing process is performed as follows:
.CC-BY-NC-ND 4.0 International licenseperpetuity. It is made available under a
preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in
The copyright holder for thisthis version posted November 27, 2025. ; https://doi.org/10.1101/2025.11.25.689431doi: bioRxiv preprint
20
2.1. Adjacency Matrix Construction: At first, the adjacency matrix ๐ด โ โ๐ร๐ is
built. Given the set of vertices ๐ and faces ๐พ connectivity of the mesh
(Supplementary Methods), for each triangular face {๐, ๐, ๐} โ ๐พ , the adjacency
matrix satisfies that ๐ด(๐, ๐) = ๐ด(๐, ๐) = 1.
2.2. Laplacian Matrix Computation : The Laplacian matrix ๐ฟ is computed using
the relation ๐ฟ = ๐ท โ ๐ด, where ๐ท is the degree matrix, defined as ๐ท =
๐๐๐๐(๐ด โ
๐), where ๐ is a column vector of ones.
2.3. Iterative Smoothing : The vertex positions are iteratively updated using the
explicit smoothing scheme:
๐(๐ก+1) = ๐(๐ก) โ ๐๐ฟ๐(๐ก), (1)
where ๐ is the smoothing factor, and ๐ก denotes the iteration index. A smoothing
factor of 0.1 was chosen and a total of 25 iterations are performed. This pair of
values were chosen to balance convergence and preservation of geometric
features, since small ๐ implies that each iteration produces modest change s in
vertex positions, thereby avoiding excessive smoothing or distortion.
2.4. Isotropic Explicit Remeshing : Irregular meshes, can introduce significant
local distortions in curvature computation56. To address this issue, an isotropic
explicit remeshing step is implemented using PyMeshLab57. This remeshing
algorithm is based on an energy minimization procedure and only the number
of iterations is needed. We set the number of iterations to 25, which is sufficient
to reach convergence of the remeshing energy minimum.
Measuring dimensionless Gaussian curvature
The set of angles formed at vertex ๐ฃ๐, by each of the incident triangles, ๐๐, on it is denoted as
{๐ผ1
๐ , ๐ผ2
๐ , . . . , ๐ผ๐๐
๐ }, where each ๐ผ๐
๐ represents the internal angle at ๐ฃ๐ within the ๐-the incident
triangle. According to 53,54,56, the dimensionless Gaussian curvature ๐บ๐ over a neighborhood of
vertex ๐ฃ๐ can be approximated by a discrete formulation:
๐บ๐ = 2๐ โ โ ๐ผ๐
๐.
๐= ๐๐
๐=1
(2)
This formulation may yield misleading results due to inherent geometric and topological
characteristics of the mesh such as open boundaries or topological defects. For vertices
associated with such irregularities, defined as degenerate vertices, the computed values of ๐บ๐
does not reflect the curvature of the surface . These degenerate vertices are identified and
removed using a custom-developed MATLAB algorithm:
.CC-BY-NC-ND 4.0 International licenseperpetuity. It is made available under a
preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in
The copyright holder for thisthis version posted November 27, 2025. ; https://doi.org/10.1101/2025.11.25.689431doi: bioRxiv preprint
21
1. Detection of Boundary Edges and Vertices: Edges that appear only once in the edge
incidence map are classified as boundary edges and its vertices as boundary vertices.
To improve curvature accuracy, all vertices in triangles containing any boundary vertex
are also excluded from curvature calculations.
2. Degeneracy Filtering Based on Geometric and Angular Criteria : To ensure the
integrity of curvature values, additional geometric criteria are enforced to identify
degenerate vertices:
2.1. According to 58,59 vertices with any incident angle below 30ยฐ or above 90ยฐ may
introduce a bias in ๐บ๐. Although the isotropic explicit remeshing algorithm was
applied, occasional violations still occur in regions near the boundary. To
account for numerical accuracy, vertices with any incident angle below 33ยฐ or
above 87ยฐ are identified as degenerate vertices.
2.2. In pupal samples, certain vertices located near the boundary may escape
detection in the preceding filtering steps . Although such instances are
infrequent, th ese vertices exhibit geometric characteristics analogous to true
boundary points. For that reason, vertices for which |๐บ๐| > 0.01 are also
identified as degenerate vertices.
3. Identification of Interior Vertices : Vertices not marked as boundary -related in the
previous step are designated as interior vertices. These are the only candidates
considered for reliable Gaussian curvature estimation.
Shape similarity metric, the Gaussian metric
According to20,60 it is possible to define a similarity measure between two geometric models
by means of a distance function ๐(๐ด, ๐ต) that must satisfy the following properties:
โ Non-negativity, ๐(๐ด. ๐ต) โฅ 0.
โ Symmetry, ๐(๐ด, ๐ต) = ๐(๐ต, ๐ด).
โ Smaller values of ๐(๐ด, ๐ต), more similar the shapes of ๐ด and ๐ต.
As demonstrated in 20,61, the integral of ๐บ๐ remains invariant under geometric transformations,
so its distribution inherently defines a robust distance function for shape similarity.
As described in 20, the computation of that distribution is obtained by p rojecting the mesh
vertices onto the ๐ฅ โ ๐ฆ plane and transforming the point cloud, along ๐บ๐ values, into polar
coordinates (๐๐, ๐๐), where the origin is defined as the geometric center of the point cloud
(๐ฅ๐, ๐ฆ๐) and the radial distance is computed as ๐๐ = โ(๐ฅ๐ โ ๐ฅ๐)ยฒ + (๐ฆ๐ โ ๐ฆ๐)ยฒ.
The vertices are systematically ordered according to their radial distances ๐๐. To partition the
vertex set into ๐ concentric regions, we define the ๐๐กโ region as comprising those vertices
whose radial coordinates satisfy ๐๐ โ [๐๐, ๐๐+1), where ๐๐ denotes the (
100(๐โ1)
๐ + 1) percentile
.CC-BY-NC-ND 4.0 International licenseperpetuity. It is made available under a
preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in
The copyright holder for thisthis version posted November 27, 2025. ; https://doi.org/10.1101/2025.11.25.689431doi: bioRxiv preprint
22
of the distribution {๐๐ผ}. This procedure yields ๐ distinct groups of vertices, denoted as
{๐ฃ๐}๐ โ ๐ผ1 , {๐ฃ๐}๐ โ ๐ผ2, . . . , {๐ฃ๐}๐ โ ๐ผ๐, where the index set ๐ผ๐ identifies all vertices belonging to the
๐๐กโ radial group. By construction, each group contains an equal number of vertices.
For each region ๐ผ๐, the integrated dimensionless Gaussian curvature ๐บ๐
๐, called Gaussian
curvature profile, is computed as follows:
๐บ๐
๐ = โ ๐บ๐
๐ โ๐ผ๐
. (3)
A vector ๐ฎ = [๐บ1
๐, ๐บ2
๐, . . . , ๐บ๐
๐ ] is constructed, that represents the surface . Consequently, the
problem of comparing original surface meshes is reduced to the comparison of their ๐ฎ vectors
(Box). To this end, a distance function ๐๐บ is defined as follows:
๐๐บ(๐บ1, ๐บ2) = 1 โ |๐(๐บ1, ๐บ2)|, (4)
where ๐๐บ โ [0,1) and |๐(๐บ1, ๐บ2)| is the absolute value of Pearson correlation coefficient
defined as:
๐(๐บ1, ๐บ2) = ๐๐๐ฃ(๐บ1, ๐บ2)
๐1๐2
. (5)
The distance function ๐๐บ will henceforth be referred to as the Gaussian metric. Values near
zero indicate high shape similarity between meshes, while values near one indicate significant
shape dissimilarity (Box). A ccording to 20, ๐ โ [5,10], so we have adopted ๐ = 10 to
maximize the sensitivity of the Gaussian metric.
Matching adult size and selecting the appropriate iteration
Following completion of all simulations generated by the computational model, 1000 for sWT,
sWTi, sIT, sMau and sMau*, 2000 for sRub and sTalin, the resulting meshes were
postprocessed using the same procedure described for adult specimens (Methods, 3D adu lt
eyes image acquisition, segmentation and postprocessing). In this context, 75 iterations of the
mesh smoothing algorithm were applied. This number was chosen to accommodate the fixed
boundary conditions, which impose geometric constraints on curvature near the boundary and
within regions that must remain free from negative curvature or irregular meshing artifacts.
Given that the employed smoothing technique relies on the adjacency matrix, it enables
selective regularization: boundary -adjacent regions are smoothed appropriately, while
curvature in unaffected areas is preserved, thereby preventing excessive flattening due to
oversmoothing.
Among the resulting iterations, it is necessary to select the one that best approximates the
morphology of the adult specimens corresponding to the given genotype. This selection
process is non-trivial, as the minimum of the Gaussian metric is not guarante ed to be unique,
nor does it necessarily yield a configuration that accurately reflects adult morphology
.CC-BY-NC-ND 4.0 International licenseperpetuity. It is made available under a
preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in
The copyright holder for thisthis version posted November 27, 2025. ; https://doi.org/10.1101/2025.11.25.689431doi: bioRxiv preprint
23
(Extended Data Fig. 3c ). This limitation arises because the Gaussian metric, based on the
distribution of dimensionless Gaussian curvature, does not account for absolute size.
To incorporate both shape and scale, ensuring that the selected iteration reflects not only the
curvature distribution but also the physical size of the adult specimens, the following criteria
were established to guide the selection of the optimal iteration:
1. Size criterion : To account for adult size, we first assessed whether significant
differences existed between the lengths of the major axis in adults and pupae of the
corresponding genotype (Supplementary Tables 2 and 3). As no statistically significant
differences were observed in either case (Supplementary Table 6), the depth of the raw
adults (preprocessing ones) was defined as the difference between the mean depth of
the three-dimensional boundary and the depth of the deepest point. For each genotype,
the acceptable depth range was defined as the mean adult depth ยฑ one standard
deviation. Any simulated specimen whose depth fell within this interval was considered
to exhibit a depth -to-axis ratio statistically indistinguishable from that of the adults,
thereby satisfying the size criterion (Extended Data Fig. 3b).
2. Gaussian Metric Criterion: For each raw iteration of the simulations (Extended Data
Fig. 3a), depth was computed, as the maximum value of the z -coordinate, given that
the boundary was constrained to z = 0. Additionally, G was calculated, along with , defined as the mean Gaussian metric from the distribution of adult individuals
of the same genotype. This procedure yielded a pair (depth, ) for each iteration.
Among the iterations whose depths fell within the genotype -specific confidence
interval defined by the size criterion, the one exhibiting the minimum Gaussian metric
was selected (Extended Data Fig. 3c), thereby ensuring both geometri c fidelity and
curvature-based similarity to the adult morphology.
References
37 Lowe, N. et al. Analysis of the expression patterns, subcellular localisations and
interaction partners of Drosophila proteins using a pigP protein trap library.
Development 141, 3994โ4005 (2014). https://doi.org/10.1242/dev.111054
38 Lye, C. M., Naylor, H. W. & Sanson, B. Subcellular localisations of the CPTI
collection of YFP-tagged proteins in Drosophila embryos. Development 141, 4006โ
4017 (2014). https://doi.org/10.1242/dev.111310
39 Freeman, M. Reiterative use of the EGF receptor triggers differentiation of all cell
types in the Drosophila eye. Cell 87, 651โ660 (1996). https://doi.org/10.1016/s0092-
8674(00)81385-9
40 Perkins, L. A. et al. The Transgenic RNAi Project at Harvard Medical School:
Resources and Validation. Genetics 201, 843โ852 (2015).
https://doi.org/10.1534/genetics.115.180208
.CC-BY-NC-ND 4.0 International licenseperpetuity. It is made available under a
preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in
The copyright holder for thisthis version posted November 27, 2025. ; https://doi.org/10.1101/2025.11.25.689431doi: bioRxiv preprint
24
41 Walther, R. F. & Pichaud, F. Immunofluorescent staining and imaging of the pupal
and adult Drosophila visual system. Nat Protoc 1, 2635โ2642 (2006).
https://doi.org/10.1038/nprot.2006.379
42 Riggleman, B., Schedl, P. & Wieschaus, E. Spatial expression of the Drosophila
segment polarity gene armadillo is posttranscriptionally regulated by wingless. Cell
63, 549โ560 (1990). https://doi.org/10.1016/0092-8674(90)90451-j
43 Aspland, S. E. & White, R. A. Nucleocytoplasmic localisation of extradenticle
protein is spatially regulated throughout development in Drosophila. Development
124, 741โ747 (1997). https://doi.org/10.1242/dev.124.3.741
44 Oda, H., Uemura, T., Harada, Y., Iwai, Y. & Takeichi, M. A Drosophila homolog of
cadherin associated with armadillo and essential for embryonic cell-cell adhesion.
Dev Biol 165, 716โ726 (1994). https://doi.org/10.1006/dbio.1994.1287
45 Susaki, E. A. et al. Advanced CUBIC protocols for whole-brain and whole-body
clearing and imaging. Nat Protoc 10, 1709โ1727 (2015).
https://doi.org/10.1038/nprot.2015.085
46 Kuroda, M. & Kuroda, S. Whole-body clearing of beetles by successive treatment
with hydrogen peroxide andCUBICreagents. Entomol Sci 23, 311โ315 (2020).
https://doi.org/10.1111/ens.12427
47 Franco-Barranco, D., Muรฑoz-Barrutia, A. & Arganda-Carreras, I. Stable Deep Neural
Network Architectures for Mitochondria Segmentation on Electron Microscopy
Volumes. Neuroinformatics 20, 437โ450 (2022). https://doi.org/10.1007/s12021-021-
09556-1
48 Mindlin, R. D. Influence of Rotatory Inertia and Shear on Flexural Motions of
Isotropic, Elastic Plates. J Appl Mech-T Asme 18, 31โ38 (1951).
49 Reissner, E. The Effect of Transverse Shear Deformation on the Bending of Elastic
Plates. J Appl Mech-T Asme 12, A69โA77 (1945).
50 Onฬate, E. & SpringerLink. Structural analysis with the finite element method. : linear
statics. 1st 2013. edn, (Springer Springer Netherlands, 2013).
51 Shewchuk, J. R. in Applied Computational Geometry Towards Geometric
Engineering. (eds Ming C. Lin & Dinesh Manocha) 203โ222 (Springer Berlin
Heidelberg).
52 Hartig, M. S. Approximation of Gaussian Curvature by the Angular Defect: An Error
Analysis. Math Comput Appl 26 (2021). https://doi.org/ARTN
1510.3390/mca26010015
53 Magid, E., Soldea, O. & Rivlin, E. A comparison of Gaussian and mean curvature
estimation methods on triangular meshes of range image data. Comput Vis Image Und
107, 139โ159 (2007). https://doi.org/10.1016/j.cviu.2006.09.007
54 Meek, D. S. & Walton, D. J. On surface normal and Gaussian curvature
approximations given data sampled from a smooth surface. Comput Aided Geom D
17, 521โ543 (2000). https://doi.org/Doi 10.1016/S0167-8396(00)00006-6
55 Moenning, C. & Dodgson, N. Fast Marching farthest point sampling for point clouds
and implicit surfaces. (2003).
56 Meyer, N., Desbrun, M., Schrรถder, P. & Barr, A. H. Discrete differential-geometry
operators for triangulated 2-manifolds. Visualization and Mathematics Iii, 35โ57
(2003).
57 Hoppe, H., DeRose, T., Duchamp, T., McDonald, J. & Stuetzle, W. in Proceedings of
the 20th annual conference on Computer graphics and interactive techniques 19โ26
(Association for Computing Machinery, Anaheim, CA, 1993).
58 Dyn, N., Hormann, K., Kim, S. J. & Levin, D. Optimizing 3D triangulations using
discrete curvature analysis. Innov Appl Math, 135โ146 (2001).
.CC-BY-NC-ND 4.0 International licenseperpetuity. It is made available under a
preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in
The copyright holder for thisthis version posted November 27, 2025. ; https://doi.org/10.1101/2025.11.25.689431doi: bioRxiv preprint
25
59 Desbrun, M., Meyer, M., Schrรถder, P. & Barr, A. H. Implicit fairing of irregular
meshes using diffusion and curvature flow. Comp Graph, 317โ324 (1999).
60 Santini, S. & Jain, R. Similarity measures. Ieee T Pattern Anal 21, 871โ883 (1999).
https://doi.org/Doi 10.1109/34.790428
61 Carmo, M. P. o. d. Differential geometry of curves and surfaces. (Prentice-Hall, Inc,
1976).
Data availability
Code is available at:
https://github.com/ComplexOrganizationOfLivingMatter/DrosophilaEyeCurvature. All other
data are available in the main text or the supplementary information.
ACKNOWLEDGMENTS
This work was supported by grants PID2022 -137101NB-I00, AEI/10.13039/
501100011033/FEDER UE (AEI/MICIN) (LME); PID2021 -122671NB-I00 (AEI/MICIN)
(FC); and PID2022 -137101NB-I00 (AEI/MICIN) to JAA -SR. J.G. -G. was funded by a
โContrato predoctoral para la form aciรณn de doctoresโ (PRE2020 -093682) from the
AEI/MICIN. Additional support from the E.U. COST action CA22153 โEuropean Curvature
and Biology Networkโ (EuroCurvoBioNet) to LME, CEX2020 -001088-M (AEI/MICIN) to
FC, and LifeHUB research consortium (PIE -202120E047-ConexionesLife (CSIC)) to LME
and FC is acknowledged. Work in the Pichaud lab is funded by grants from the MRC
(MR/Y012089/1) and the BBSRC to FP and RW (BB/R00069). The Drosophila mauritiana
Tam16 wild type strain was a gift from Alistair McGregor (Durham University, UK). Confocal
Light Sheet imaging was carried out at ALMIA, CABD.
AUTHOR CONTRIBUTIONS
LME, FC, and FP formulated the project. JG -G performed the computational design assisted
by JAS-H. RW and JT performed the fly experiments, processed the samples and obtained the
images. JG -G processed the images and performed the computational experiments . JAA -S
assisted with image processing. JG-G, RW and JT analyzed the data. JG-G, RW, FP, FC, and
LME wrote the paper with input from all authors.
COMPETING INTERESTS
Authors declare that they have no competing interests
.CC-BY-NC-ND 4.0 International licenseperpetuity. It is made available under a
preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in
The copyright holder for thisthis version posted November 27, 2025. ; https://doi.org/10.1101/2025.11.25.689431doi: bioRxiv preprint
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source โ PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.