Termites are known for their ability to build some of the most complex nests and shelters found in nature (Hansell, 2005; Perna and Theraulaz, 2017). The construction of these structures is achieved through the collective actions of multiple individual workers (up to thousands or millions in large termite colonies) each performing the collection, transportation and deposition of elementary pellets. In order to produce functionally meaningful structures, it is essential that all these different workers operate in a coordinated, coherent way, each continuing the work started by their colony mates, rather than undoing it.

Termites rely on individual memory and proprioception to guide their behavior (see e.g. Bardunias and Su, 2009a), but these individual abilities are considered not sufficient to explain nest construction more generally. Instead, it is believed that building activity is largely guided by signals and cues embedded directly in the structure of the nest itself, through a regulation principle identified for the first time by Grassé, who named it stigmergy (Grassé, 1959; Camazine et al., 2001).

In stigmergy-mediated nest-building, the probability for an individual insect to pick or to drop a pellet at a particular location is modulated by stimuli encountered at that location, such as the geometry of a growing pillar, or the presence of a chemical signal released by the queen or by other workers.

However, several years since Grassé’s early observations, there still isn’t a consensus on the exact nature of the stigmergic stimuli involved in regulating termite construction. Pheromones might be implicated in this regulation. Bruinsma (1979) found evidence for the role of a building pheromone released by the queen in the construction of the royal chamber of the termite Macrotermes subhyalinus. Computer simulation studies, aimed at reproducing the building behavior of termites and ants, also assume the existence of a “cement pheromone”added to the building material (Khuong et al., 2011,2016; Heyde et al., 2021). In these simulation studies the main and essential role of a cement pheromone is to allow initial pellet depositions to continue growing by differentiating them from regions of pellet collection, through differential pheromone marking. Experimental evidence in support for such cement pheromone in termite construction is weak: while individual workers can recognize freshly deposited nest material, they could simply be attracted to an unspecific colony odor while exhibiting the same behavioral patterns that they would exhibit also in the absence of chemical marking (Petersen et al., 2015). In other words, it is not clear if cement pheromones are required to drive termite building activities, or unspecific chemical cues would be sufficient, and it is also unclear if chemical stimuli modulate the building behavior of termites directly, or only indirectly, by affecting their density of presence.

Recent experimental studies by various authors have indicated that morphological and environmental features associated with some nest structures are strong stimuli that could by themselves guide termite construction activity. These include elevation (Fouquet et al., 2014), humidity gradients (Soar et al., 2019), and surface curvature (Calovi et al., 2019). The strong attractiveness of digging sites for termite aggregation means that in all these studies digging and deposition actions mostly come in pairs, which prevents us from identifying the genuine cues for pellet collection and deposition (Bardunias and Su, 2009b, 2010; Fouquet et al., 2014; Green et al., 2017). For example, in Calovi et al. (2019) termites are shown to preferentially aggregate in concave regions of a surface and they would simply rearrange nest material (both digging and building) at those locations. Even if digging sites provide a template for pellet deposition (Fouquet et al., 2014; Green et al., 2017), and for this reason digging and construction often co-localize in space, it is clear that building and digging cannot completely overlap, or the two activities would simply cancel one the effect of the other: termites must be able to differentiate between the sites of these contrasting activities through digging- or building-specific cues.

Some of the published computer simulation models of termite nest-building do not require a specific construction pheromone and assume instead that termites respond to cues naturally embedded in the nest structure itself. For example, the model proposed in Ocko et al. (2019) indicates that a generic “colony odour” undergoing advection and diffusion within the nest could provide a sufficient cue for determining the overall mound shape, so leaving a possible role of a construction pheromone only for the structuring of small scale nest features such as pillars and walls. Facchini et al. (2020) further proposed a model in which also small scale nest features can be produced in the absence of a construction pheromone, by assuming that termites respond to the local curvature of these emerging nest features. While these models reproduce a number of structures observed in real termite nests, the building rules implemented in the models are not empirically validated from direct observations of the building behavior of termite workers. As it stands, there is no conclusive evidence that the rules implemented in these models reflect the actual nest-building strategies of termites.

Here we aim to test whether geometric and physical cues embedded in the nest material are sufficient to explain termite construction. Specifically we want to disentangle how elevation, surface curvature, and substrate evaporation affect pellet deposition and collection. We do this by combining three different approaches. (i) We perform building experiments in which populations of termites are confronted with pre-existing building cues such as pillars, walls, and pre-made pellets of building material unmarked with pheromones. Using video-tracking, we monitor the presence of individual termites and we implement high throughput video-analysis to detect the time and location of individual pellet collection and deposition events. These experiments allow us to test the specific role played by each cue on stimulating pellet collection, pellet deposition, or termite aggregation. (ii) By running a computational model of nest building (Facchini et al., 2020) directly on the same structures that we provide to termites (obtained from 3D scans of our experimental setups) we can test exactly what building patterns we should expect under the simple assumption that termite depositions are driven by the local curvature of nest surfaces as the only construction cue. (iii) Finally, we develop a “chemical garden” experiment, on identical setups to those offered to termites, that allow us to visualize the sites of stronger water evaporation on the surface of the built structure. Overall, our approach allows us to demonstrate, both analytically and experimentally, the relation between deposition probability, surface curvature, and evaporation.


Below, we report the observations of de novo building experiments performed with small experimental groups of Coptotermes formosanus termites confronted with a thin disk of humid clay covered with pre-made pellets unmarked with pheromones and decorated with pre-prepared clay features. In the first series of experiments the pre-prepared features were two pillars at the center of the clay disk as shown in figure 1.

Sketch of the experimental setup (left) and snapshot of one experiment (E66) before termites were added to the setup (right). The white marks on the picture give the scale of the setup, with the distance between successive marks being 1, 3, and 5 cm.

Pellet collection activity was distributed homogeneously all over the clay disk that we provided at the center of the experimental arena. Conversely, deposition activity was concentrated at the tips of pre-existing pillars, and along the edges of the clay disk itself. Figure 2A reports the heatmap of cumulative depositions P(D) and collections P(C) for one experiment (E66) with two pillars as topographic cues. A snapshot of the same experiment is reported in figure 3A. In figure 2B, we also report the same results for five experiments for which our analyses were most reliable because of the absence of spontaneous digging. Across all experiments, collections were widely distributed across the clay disk(i.e. where initial pellets are) while depositions were peaked at radii R ~ 0.4 cm and R ~ 2.5 cm which correspond to the top of pillars and to the edges of the experimental arena. Thus, termites do not show a preference for where they collect pellets while they target specific regions when depositing, which suggests that those regions must express a strong stimulus for deposition.

Top: (A) cumulative heatmaps of deposition (P(D); red) and collection activity (P(C); green) normalized by their respective mean values for one experiment (E66), colorbars are the same as in panel (E); (B) cumulative depositions (top) and collections (bottom) per unit area as a function of the Petri dish radius for experiments E58, E63, E65, E66, and E76, all histograms have been normalized and sum up to 1; (C) comparison among experimental depositions (in red), surface curvature (in blue) shown in Fig. 3C, and depositions predicted by simulations (black) shown in Fig. 3C, all the quantities are computed along the radial cut shown in panel (A), depositions are normalized by their maximum value and curvature is in mm-1; (D) cumulative occupancy heatmap normalized by its mean value for E66; (E) depositions (P(P(D|O); red) and collections (P(C|O); green) conditional to cumulative normalized occupancy for E66.

Top row: snapshots of a building experiment with “pillars” cue (E66) (A) and a building experiment with “wall” cue (E78, in B). Bottom row: snapshots of 3D simulations initiated with copies of the experimental setup E66 (C,D) and E78 (E,F) in which nest growth is entirely determined by the local surface curvature (based on our previously described model (Facchini et al., 2020)). Snapshots C and E refer to t=0, D and F refer to t=9 (dimensionless). The color map corresponds to the value of the mean curvature at the interface air-nest. White indicates convex regions and black indicates concave regions. The scale bars correspond to 1 cm.

To validate this hypothesis, we analyzed how building activity is related to the termite occupancy in the experimental setup. In figure 2D, we report the normalized cumulative occupancy of termites P(O) in the experimental setup. Occupancy is high close to the pillars and to the Petri dish walls, has intermediate values within the clay disk, and drops at the top of the pillars and right outside of the clay disk (i.e. precisely where deposits are recorded). To estimate how position and building activity are related, we report the conditional probabilities of depositing P(D|O) and collecting P(C|O) given termite occupancy. They are defined as the ratio between P(D) to P(O) and P(C) to P(O) as reported in figure 2E, and explained in section S.III of the Supplementary Information (SI). The probability P(D|O) reaches values 10 times larger than P(C|O) which confirms that our topographic cues and the clay disk edges specifically drive early building activity.

Focusing on topographic cues, we observe that pillar tips are the most curved part of the topography but also the most elevated one. In order to disentangle the respective roles of curvature and elevation in guiding pellet deposition, we considered a different setup where a thin wall replaced the two pillars in the center of the arena as shown in figure 3B. This way, the top edge of the wall is still a region of both high elevation and high surface curvature but elevation is constant every where while curvature has local maxima at the tips. We report that the top edge attracted many deposits, but pellet deposition focused at the wall tips pointing to curvature, rather than elevation, as the dominant cue in 7 out of 11 experiments (SI table S1).

We wanted to further test to what extent the patterns that we observe are consistent with termites only responding to local substrate curvature, as opposed to responding also to other cues. To this end, we ran a model of nest construction that we have previously developed (Facchini et al., 2020) using 3D scans of the experimental arena – before the introduction of termites – as a startingtemplate for the simulations (see Materials and Methods for simulation details). The simulation model implements one single construction rule which is a building response to local surface curvature and as such informs us about the possible building outcome that we could expect under the simplified assumption that construction is driven by surface curvature only, in the absence of any other cues. This yielded the results shown in figure 3C-F. Experiments and simulations show a fair agreement as pellet depositions and initial growth concentrate in the same regions which are those where the surface is the most convex, as depicted in white in figures 3C-F. For a more quantitative comparison in Fig. 2C we report a radial cut of: the deposition heatmap (red), the surface curvature (blue) and the amount of depositions predicted by the simulations (black; see SI section S.VII for technical details of this analysis). The three curves show a good agreement and they all are peaked close to R = 4mm which corresponds to the pillar tips.

The similarity between experimental results and curvature-based simulations supports the idea that, at least on a first approximation, surface curvature alone is a sufficient cue that could guide termite depositions.

The edges of the clay disk were not included in the simulations because we could not characterize them properly with our scanning device (see SI, section S.III). However, in additional experiments with no topographic cues (SI, Fig. S3) most depositions happened precisely at the edges of the clay disk. It is possible that the very small edge of the clay disk provided a sufficient stimulus, in terms of local curvature, to elicit pellet depositions. However, the curvature cue was likely very weak at those locations as edges were smoothed out to gently match the surface of the Petri dish. Thus, we expect this region to bear a cue other than curvature (or elevation) which is also attractive for pellet depositions.

Trying to identify this additional building cue, we recall that the clay disk is maintained constantly humid. The edges of the disk arena mark then the limit between a humid region and the surrounding dry periphery. Also, the clay tone remained unchanged during experiments which suggests that moisture is constantly evaporating from the clay disk while being replenished in water from below, and thatthe overall process is stationary. To confirm this hypothesis, we measured the value of humidity and temperature both in the central and peripheral regions. We observed a net increase in humidity and a net decrease in temperature coming from outside to inside the clay disk which is the footprint of evaporation (SI, Fig. S4). Inside and outside the clay disk, both quantities remained relatively stable indicating that the system is roughly at equilibrium. Evaporation is a complex process, but close enough to the evaporating substrate, humidity transport happens by diffusion (Langmuir, 1918; Hisatake et al., 1993) and it is hence fully determined by the humidity gradient. In agreement with previous studies (Soar et al., 2019), we can show with scaling arguments that our termites live in such a viscous boundary layer (see SI, section S.IX). We can hence focus our attention on this specific region without loss of generality. For example, the humidity transition at the edges of the clay disk implies that the humidity gradient must be pronounced there and evaporation with it. In the diffusive regime, the evaporation flux is directly proportional to the surface curvature of the evaporating substrate (see SI, section S.VIII for a mathematical proof). As a demonstration for our topographic cues, we have computed the equilibrium solution for the humidity field h in a cubic volume bounded by pillars and wall experimental templates at the bottom. In the diffusive regime, this corresponds to solving the Laplace equation Δh = 0 while imposing a humid condition h = 1 at the bottom boundary, and a dry condition h = 0 at the top boundary (see S.VI in the SI for details). In figure 4A and 4B we have reported the contour plot of the magnitude of the humidity gradient ∇h for this stationary solution. We can observe that the humidity gradient is maximum at the tip of pillars and at the lateral tips of the wall top edge, that are the most curved parts in the two different cues (see figures 3C and 3E for a direct comparison). As such, curvature and evaporation are two completely interchangeable stimuli everywhere except at the edge of the clay disk, where the transition between clay and perspex material corresponds to a strong humidity gradient in spite of weak surface curvature. We then propose that evaporation flux can explain by itself the deposition patterns observed in our experiments.

Top row: contour of the humidity gradient ∇h obtained solving the Laplace equation Δh = 0 in a cubic domain with a humid boundary h = 1 (in brown) where the boundary is mapped from 3D scans of the experimental setup in E66 (A) and E78 (B). Humidity h is considered dimensionless here. Pillar tips are associated with a strong humidity gradient; the top of the wall, and particularly the two corners, are also associated with a humidity gradient, although the gradient is not as strong as at the pillar tips. Bottom row: snapshots of chemical garden experiments initiated with “pillars” cue (C), and with “wall” cue (D). The scale bars correspond to 1 cm.

To support this hypothesis we designed a chemical garden experiment that allows us to visualize the evaporation field in our setup. We prepared identical experimental setups as those used with termites, but this time we did not put any termites in the experimental arena. Instead we replaced the deionized water that was used to humidify the clay in the termite experiments with a saturated saline solution of water and NaHCO3. In this configuration, water evaporation is accompanied by the deposition of salt, which allows to build a chart of evaporation flux. Typical results are shown in figure 4C and 4D. Salt deposits appear in the form of white traces or bumpy deformations of the clay surface. Remarkably the distribution of the salt deposits matches very closely the regions of highest building activity by termites, both being more pronounced at the edge of the clay disk and at the top of topographic cues (pillar and walls). This result indicates that termite deposition probability covaries with the evaporation flux, which is consistent with our hypothesis of evaporation as the strongest cue for deposition. One may notice that salt traces are less pronounced on the wall (Fig. 4D) than on the pillars (Fig. 4C). This is consistent with the amplitude of the humidity gradient in a stationary diffusive regime as shown in figure 4B and 4A respectively: the maximum amplitude of the gradient is weaker in the wall case. Also one observes that while having its maxima at the lateral tips, the humidity gradient is strong all over the top edge of the wall. Possibly this could explain why in the case of wall cues there is a comparatively much larger variability in the patterns of termite construction (see SI Fig. S2). When termites are confronted with the ‘wall’ cue they are likely to start pellet depositions at the wall tips, but initial pellet depositions started at other locations on the top edge do occur. Likely, when this happens, these initial depositions are then preserved and reinforced by positive feed-back mechanisms.

Note that, in the picture of depositions being attracted by evaporation flux, depositions observed at the edges of the clay disk, also agree with our previous growth model driven only by curvature (Facchini et al., 2020). In fact, the edge of the clay disk is almost flat (weak convexity) for a termite walking across, but it is also a thin cusp (high convexity) of humid material which is strongly evaporating, similarly to what happens at the edge of a liquid drop and causes the formation of well known coffee stains (Deegan et al., 1997). For a better comprehension, this apparent contrast is explained in the sketch of figure S6 (SI).


Several experimental studies have tried to identify the cues that mediate termite construction, alternately indicating elevation (Fouquet et al., 2014), digging activity (Green et al., 2017), humidity transitions (Soar et al., 2019; Bardunias et al., 2020), or surface curvature (Calovi et al., 2019) as the relevant stimuli to drive pellet depositions. However, the fact that termites often concentrate their building activity in the immediate proximity of digging sites (Fouquet et al., 2014; Green et al., 2017; Bardunias and Su, 2009b, 2010) did not allow identifying which of these stimuli were specific digging and building cues, or simply generic cues for termite activity and aggregation. The cues themselves identified by different studies were different, leaving it unclear which, if any, were the relevant ones sensed by termites.

Here, by providing loose and unmarked pellets, we were able to prompt building activity without digging and to quantify collections and depositions as separate actions. We observed that all pellets are progressively displaced and that collections happened in a relatively random fashion. On the contrary, depositions concentrated at specific parts of the experimental arena which are the tips of the topographic cues and the edges of the clay disk. The conditional probability of deposition given termite occupancy is high there, indicating that those regions precisely drive termite depositions rather than generically attracting termite aggregation. The alternative use of pillars and walls as topographic cues allowed us to disentangle the role of elevation and curvature and pointed towards curvature as the most attractive stimulus for deposition. By simulating the building process with a model in which construction activity is driven by curvature only (Facchini et al., 2020), we obtained a good match with experimental results, indicating that curvature alone is sufficient to explain pellet depositions on topographic cues (pillars and walls).

Surface curvature is a powerful morphogenetic organizer for 3D structure formation as it can drive the formation of pillars, walls and convoluted surfaces (Facchini et al., 2020), all features that are observed in the nests of various termite species. Here, we are able to demonstrate a close coupling between surface curvature and the flux of evaporation from a surface, so providing a link to a possible stimulus sensed directly by termites. This also allows us to reconcile previous discordant results pointing alternately to curvature (Calovi et al., 2019; Facchini et al., 2020) or to humidity (Soar et al., 2019; Bardunias et al., 2020) as the relevant stimuli. The idea itself of a relation between curvature and evaporation is not new, as already a century ago, Langmuir (1918) showed that close enough to the surface of a water droplet, evaporation scales as the inverse of the radius (i.e. as the mean curvature) of the droplet (SI, section S.VIII.A). Our system is more complex than isolated spheres but our calculations in S.IX(SI)show that a relation between evaporation and curvature still holds at the termite scale.

As a further, direct, confirmation of our hypothesis, our chemical garden experiments clearly show that the correspondence between surface curvature and evaporation flux is relevant in our experimental setup.

It is well known that termites are particularly sensitive to the humidity of their environment, partly because their soft cuticle puts them in constant danger of desiccation. It is hence not surprising that they may sense and respond to humidity gradients with their behavior. In fact, recent field and laboratory experiments have shown that humidity can affect the overall building activity (Carey et al., 2019) of termites and trigger nest expansion events (Bardunias et al., 2020; Carey et al., 2021). Even more interestingly, Soar et al. (2019) showed that moisture flux favors termites building activity (both digging and deposition). Our experiments confirm this trend and suggest that moisture variations not only prompt or inhibit termite building activity, but constitute a local blueprint for construction.

Our experiments do not support a role for a putative cement pheromone, added by termites to the building material, which would stimulate pellet depositions. In fact, construction occurred reliably on our provided building cues, even if they only comprised fresh clay and sterilized pellets with no pheromone markings. Our simulations further indicate that qualitatively similar construction results can be obtained without assuming a role for construction pheromone. We can hence exclude the influence of a cement pheromone, at least during the early choice of the deposition sites, in agreementwith recent experiments by other authors (Fouquet et al., 2014; Petersen et al., 2015; Green et al., 2017). We should point to the fact, however, that in our experiments the building substrate was constantly moist throughout the entire duration of the experiments. It is possible that in some occurrences of nest building behavior, including in termites’ natural environment, moisture may not constantly replenish the porous wall of the growing structure. We suggest that under these conditions the evaporation flux is maintained by the humidity that is naturally embedded in recently dropped pellets, which makes the construction process self-sustainable and is consistent with the hypothesis of a viscous boundary layer extending with termite activity (Soar et al., 2019). In practice, it would be very hard to distinguish between such a scenario and one which involves a putative cement pheromone added directly to manipulated pellets by termites. More generally, while we do not rule out a possible role of pheromones in termite building behavior (mediating for instance termite aggregation), we have shown that pheromones are not necessary to explain the early deposition patterns that we see in our experiments.

In this study we have focused on understanding how termites respond to well-controlled predefined stimuli. However, collective nest construction is a dynamic process and the deposition of new pellets by termites constantly changes the shape and the porosity of the evaporating substrate, potentially affecting nest growth through positive or negative feedback. Recent studies have shown that termites can control the size of the pellets used for nest construction, and indirectly also the porosity of nest walls (Zachariah et al., 2017). In turn, substrate porosity is known to play an important role for ventilation and drainage of the nest (Singh et al., 2019) and the moisture content of pellets can also affect the mechanical properties of the mound itself (Zachariah et al., 2020). In relation to our own experiments, however, our scaling analyses (SI S.IX) indicate that our conclusions are relatively robust to changes in substrate porosity and moisture content. For example, porosity only controls the time scale of water uptake from the reservoir by capillary rise, which must be small enough to keep the clay disk hydrated, and this assumption remains valid up to mm-size pores in the new construction. Similarly, for local curvature, the addition of new pellets to regions of high convexity is likely to make the surface less smooth than the initial topography, and such additional “roughness” can only increase the effect of focusing evaporation at those locations.

Previous work by Calovi and collaborators (2019) had pointed to an effect of surface curvature on termite construction behavior. While our two studies emphasize the same point, we should note that our results and the results reported in Calovi et al. (2019) are not entirely consistent, because in our experiments, pellet depositions are attracted by convex features, while in Calovi et al. (2019) termite activity was concentrated at regions of maximum concavity. As this previous study did not distinguish digging from deposition activity, we believe that their measure is a correlation between concavity and digging activity, not building. The fact that concave regions should attract digging activity is predicted by our model (SI, section S.V) and was visible also in our experiments where concavity (Fig. 3D) attracted digging at the base of wall-like cues (SI, Fig. S2). Note that such behavior can be interpreted as termites digging along the humidity gradient, i.e. toward the most humid region. Accordingly, in many preliminary experiments we observed that, in the absence of loose pellets, spontaneous digging usually started right above the hydration holes of our setup (Fig. 3B.)

In our study we have outlined a general mechanism capable of organizing termite building activity: termites would focus pellet depositions at regions of strong evaporation flux. In turn, evaporation flux co-varies with surface curvature, which implies that the building rule is embedded in the shape itself of the nest internal structure.

One may wonder to what extent the simple building rule that we identify here generalizes to explain the nest-building behavior of larger termite colonies in the field, and whether the same building rules are shared across different termite species. The nests built by termites of different genera or species show a large diversity of forms (see e.g. Grasse, 1984), which indicates that the nest-building process should also be different. Arguably, the nest building behavior of termites, shaped by millions of years of evolution, must rely on more complex “building rules” than the simple ones highlighted here. Nonetheless, it is interesting to notice that the nests built by all species rely on a small number of architectural elements such as pillars and branching surfaces. We can imagine that, perhaps, simple variation of the basic building pattern described here, coupled with variation of the substrate evaporation itself (e.g. under the effect of air currents, the properties of the building material, and heat produced by the colony itself) would still be sufficient to explain a large part of termite nest diversity. Ocko and collaborators (2019) have already shown that a single mechanism can be responsible for determining the overall shape of nests made by various species: perhaps an equally simple general mechanism can account for the even larger variation of internal nest structure.

Methods and Materials

In our experiments, we monitor the building behaviour of small experimental groups of Coptotermes formosanus termites confronted with a thin layer of clay and pre-prepared clay features. We image experimental trials for their entire duration and we analyze termite activity with custom made digital image processing routines. In parallel we run two type of control experiments without termites to obtain a non-intrusive estimation of temperature, humidity and evaporation field in our experimental setup. These experiments are described at the end of this section.

Experimental setup

The experimental setup sketched Fig. 1 (left) can be described as follows. A fixed quantity (2.8 g) of red humid clay paste is flattened to form a disk (ø 5 cm) and placed in the center of a Petri dish (ø 8.5 cm). A system of 40 small holes (ø 0.8mm) drilled in the bottom of the Petri dish keeps the clay paste hydrated sucking distilled water from a patch of wet cotton below the Petri dish. Two types of topographic cues molded in clay, can then be added at the center of the disk: 2 pillars 6 mm high and 8 mm apart or 1 wall 6 mm high and 12 mm long. The pillars are obtained pressing clay in a small eppendorf tube. The walls are obtained by smoothing a wedge of clay generated by rolling out a piece of clay in the dihedron between the table and the edge of a plastic ruler. Finally, in a circular band (1 cm large) halfway between the clay disk center and its edge, we add 0.12 g of sparse pellets of gray clay. To ensure the good size distribution, pellets are obtained from previous experiments and sterilized at 100 °C for one hour to remove any possible chemical marker. Before the start of each experiment, a surface scan of the setup was taken using a NextEngine 3D Scanner ULTRA HD.

Termite colonies

Experimental groups were collected from a master captive colony of Coptotermes formosanus hosted at the LEEC laboratory (Villetaneuse, France) in a tropical room with constant temperature (26±2 °C) and relative humidity (70±10%), imitating their natural environment. Workers were attracted with humid towels and gently shoveled with a pencil on a plastic tray. Groups of 50 workers and 5 soldiers were then formed using an insect forceps and added to an experimental setup. While the procedure might be potentially stressful to termites, mortality was negligible throughout all the experiments. We ran 16 experiments with pillar cues, 11 with a wall and 6 with no cues, as summarized in table S1 (SI).


A led lamp constantly lightened the setup from above. Top view pictures of the experimental setups were taken at regular intervals of 20 seconds during at least 24 hours using a reflex camera Nikon D7500. By subtracting the initial images and applying a median filter, we get rid of termites and the background as detailed in SI section S.III. Then, the color contrast between the clay disk and the pellets allowed identifying where pellets were collected (dark spots) and deposited (bright spots) and building the heatmap of both activities as a function of time. A subset of the experiments was recorded continuously using a 12 Mp usb-Camera (MER2-1220-32U3C) at 7fps. Videos were then analyzed using the open-source tracking tool Trex (Walter and Couzin, 2021) and the occupancy frequency of termites computed in each part of the experimental setup.

Temperature and humidity measurements

Temperature and humidity were measured using a commercial temperature-humidity probe (DHT22) connected to a Raspberry Pi. To not interfere with termites behavior, our temperature and humid- ity measurements were performed in a control experiment which was prepared using the same protocol as the others but where no termites were added. The probe was kept at two different positions that are i) at center of the experimental setup sitting on the clay disk and ii) at the periphery of the Petri dish, sitting on the bare plastic.

Growth model

Our growth model is the same described in Facchini et al. (2020) which consists in one single non-linear phase field equation:

where the scalar f takes values between 0 and 1 and identifies the presence of the nest wall (f < 0.5) or the empty space (f > 0.5), and n = ∇ f/|∇f| is the normal vector at the wall surface f = 0.5. One recognizes a growth term proportional to the surface curvature -∇ · n/2 which translates our main hypothesis on construction behaviour, and a curvature diffusion term Δ∇· n which mimics the smoothing behaviour shown by termites (see Facchini et al., 2020, and citations inside) and the fact that there is a cutoff to the size of pellets added by termites. Finally, the non linear prefactor f (1-f) restricts the growth process to the wall surface, which is also coherent with termites behaviour. Note that the simulations shown here are obtained approximating ∇ · n ≈ Δf as in Facchini et al. (2020). The parameter d selects the typical length scale of the expressed pattern and the cutoff scale below which features are smoothed out. Here, we tune the parameter d to select a typical length scale which matches that of our topographic cues, that is the thickness of our clay pillars and walls (3 mm).

Our simulation are initialized using 3D copies of the experimental setups at time zero that are obtained as it follows. First, we obtain a surface scan of the experimental setup in the form of a 3D mesh using a surface 3D scanner (see section S.III in the Supplementary Information). Then, we interpolate the mesh on a 3D regular grid and assign the initial value of the scalar field f, setting f = 1 for the points that are below the clay surface and f = 0 for the points that are above the clay surface. Finally, a Gaussian filter is applied to unsharp the transition of f at the surface. Similarly to our previous publication, we also assume that the voxels where f > 0.85 at t = 0 cannot change in the following. This translates the fact that structures built by termites are not observed to be rearranged after they have dried and that in our experiments termites are prompted to collect pellets instead of digging.

Saline solution experiments

We performed control experiments with no termites and hydrating the clay disk with a saline solution instead of distilled water to map the distribution of evaporation flux. Saline solution was prepared adding 8 g of NaCHO3 to 100 ml of tap water.


We thank Paul Devienne at the LEEC laboratory for his help in taking care of termite colonies. We thank Baptiste Piqueret at LEEC laboratory for inspiring discussions. This work was supported by a Royal Society Newton International Fellowship NIF\R1\180238 and by a Leverhulme Research Project Grant RPG-2021-196.