Abstract
Tangled active filaments are ubiquitous in nature, from chromosomal DNA and cilia carpets to root networks and worm collectives. How activity and elasticity facilitate collective topological transformations in living tangled matter is not well understood. We studied California blackworms (Lumbriculus variegatus), which slowly form tangles in minutes but can untangle in milliseconds. Combining ultrasound imaging, theoretical analysis, and simulations, we developed and validated a mechanistic model that explains how the kinematics of individual active filaments determines their emergent collective topological dynamics. The model reveals that resonantly alternating helical waves enable both tangle formation and ultrafast untangling. By identifying generic dynamical principles of topological self-transformations, our results can provide guidance for designing classes of topologically tunable active materials.
Editor’s summary
Anyone who has ever packed away rope without coiling it properly knows how easily it gets tangled and how difficult it can be to untangle. By contrast, California blackworms will migrate into a tangled ball over the course of minutes to regulate temperature or moisture but then disentangle and scatter within milliseconds upon sensing danger. Patil et al. combined ultrasound studies of worms with theory to develop a model of how the movement of individual worms (or filaments) affects the collective dynamics (see the Perspective by Panagiotou). In particular, they found that alternating helical waves enabled both tangle formation and ultrafast untangling. —Marc S. Lavine
Knots determine the robustness and function of filamentous matter across a wide range of scales, from the intertwined yarns in ropes and fabrics (1) to the tangled polymers in rubbers (2, 3) and gels (4). The extraordinary stability of knotted materials arises from the intricate interplay of mutual mechanical obstruction (5) and contact friction (6) between adjacent filaments (7, 8). As any fisherman or long-haired creature can confirm, creating knotty structures (9) is not difficult: When soft elastic fibers are randomly mixed together (10), they naturally tend to form a highly disordered tangled state (11, 12). By contrast, untangling a complex knot presents a daunting and historically infamous (13) task. Certain biological species such as the California blackworm (Lumbriculus variegatus) (14) have evolved to solve both the tangling and the untangling problem with great efficiency by using only a relatively basic set of neurons and muscles. Exactly how they are able to do this remains poorly understood.
When considered from an active matter perspective, worm tangles constitute an archetypal example of an autonomous filamentous material that can self-assemble, shape-shift, and exhibit emergent collective functions (15, 16). In minutes, a group of initially dispersed California blackworms (14) can self-organize into a persistent three-dimensional (3D) tangled structure, but they require only a few tens of milliseconds to disentangle upon sensing danger (movie S1). Blackworms, as well as some of their relatives (17), use the tangled state to efficiently execute a range of essential biological functions, such as temperature maintenance, moisture retention, and collective locomotion (18, 19). Perhaps more importantly, the ability to escape rapidly (20) from the tangle can often be a lifesaving escape response from predators (14) and environmental threats (16). Motivated by an interest to understand the biophysical mechanisms by which filamentous organisms can achieve both robust tangling and ultrafast untangling, we combined ultrasound imaging experiments and elasticity theory to explain how individual worm gaits give rise to collective topological dynamics and transitions between tangled and untangled states. By mapping worm tangling to percolation (21) and picture-hanging puzzles (22), we show how resonantly tuned helical waves can enable self-assembly and rapid unknotting of filamentous matter, thus revealing a generic dynamical principle that can guide the design of new active materials.
Ultrasound experiments
Blackworms can assemble into topologically intricate tangles consisting of anywhere from 5 to 50,000 worms (Fig. 1A) (16). Our ultrasound experiments, conducted on worm tangles immobilized in gelatin (movie S2), allowed for the reconstruction of the 3D structure of a living tangle (Fig. 1, B and C, and supplementary materials, materials and methods). This revealed a picture of the tangle as a strongly interacting system, in which the worms are tightly packed (Fig. 1D) and most worms are in contact with most other worms (Fig. 1E). In addition to describing the arrangement of contact, the nontopological structure of the worm tangle can also be described on the basis of the variation of geometric quantities both within and between different worms. To analyze the tangle geometry, we approximated each worm as a curve, , parameterized by arc length, , which can be characterized by local in-plane curvature, , and an out-of-plane 3D torsion, . These geometric quantities give rise to bending strain, (Fig. 1F), and chirality, (Fig. 1G), where is the worm radius (23). The 3D distributions of both strain and chirality are primarily heterogeneous (Fig. 1, F and G) and decay rapidly as functions of the spatial separation, (Fig. 1, H and I). For small values of , the correlation functions are dominated by intraworm interactions, but decorrelation occurs once begins to include interworm effects. In particular, for both strain and chirality once , which indicates the existence of an effective radius, . This effective radius is a signature of the ultrasound protocol (23), which requires the tangles to undergo a small dilation. The rapid decorrelation demonstrates that strain and chirality are not described by 3D continuum fields, illustrating the difficulty of constructing a continuum theory for the living tangle. Understanding the mesoscale structure of the tangle requires moving beyond purely geometrical properties.
Topological analysis of the tangle geometry allows us to distinguish between different forms of contact. The intuitive notion that worms that intertwine should interact more strongly than worms that simply touch can be captured by considering the linking number (24), , of the th worm and the th worm
(1) |
where , and and are the curves representing the th and th worms. Although traditionally defined only for closed curves, the linking number of open curves quantifies entanglement by taking an average of the amount of intertwining in every 2D projection (23, 25). Visually, pairs of worms with appear to wind around each other (Fig. 2, A and B). However, is not sensitive to contact, which must ultimately mediate every worm–worm interaction. Accordingly, we defined a more sensitive measure called “contact link,” or , by setting for worms in contact and otherwise. In contrast to the contact matrix (Fig. 1D), the contact link matrix (Fig. 2C) identifies a far smaller number of key interactions, thus providing a sparser representation of tangle state. This is evident from the tangle graph (Fig. 2D), which shows worm–worm interactions with . Despite being a function of pairwise tangling as opposed to a function of total entanglement, the robustness of contact link as a tangling measure is evident through its behavior across different ultrasound datasets. For example, the probability distribution of the contact link between two worms, a measure of topological interaction strength, retains a characteristic shape across worm tangles (Fig. 2E). Additionally, the total contact link (23), obtained by summing all the pair contact links from Fig. 2C, is sensitive to the contact structure of the tangle. When treated as a collection of tubes, the contact structure of a tangle can be altered by modifying the tube radius. The total contact link as a function of tube radius behaves similarly across datasets as the tubes are thickened from zero radius to larger radii (Fig. 2F). Thus, by incorporating topological information (25, 26) as well as geometric information, captures core structural motifs that are reproducible across different experiments, enabling us to compare experimentally observed worm tangles with tangled structures generated from dynamical simulations.
Worm dynamics
The ability of the blackworm to form tangles in minutes (Fig. 3A) but rapidly unravel in milliseconds (Fig. 3B) is a key biological and topological puzzle (27, 28). To understand the dynamical process that gives rise to tangle formation, we experimentally studied the head trajectories of single worms (Fig. 3, A to D, and supplementary materials, materials and methods). Because these experiments were performed in a shallow fluid well (height ~2 mm), the projection of the trajectories into 2D (Fig. 3, A to D) did not cause substantial information loss. To capture the winding motions associated with tangling and untangling, we assumed the worm head has a preferred speed, , and focused on the worm turning direction, . The trajectories can be described approximately in terms of two parameters, the average angular speed, (Fig. 3, A and B), and the rate, , at which changes sign. These quantities can be estimated from the noisy trajectory data (23). Although the characteristic timescales for slow tangling and ultrafast untangling, , differ by two orders of magnitude, rescaling the trajectories for each gait by revealed similar underlying dynamics (Fig. 3, A and B). This similarity reflects the biological constraints on locomotion machinery (29) and indicates that tangling and untangling can be captured by the same mathematical model. To confirm this, we first formulated a minimal 2D model of worm-head dynamics, which we then generalized to a full 3D dynamical picture.
A minimal 2D model can be constructed by focusing on the helical worm-head dynamics that we identified experimentally (Fig. 3). The quantities , , and motivate the following stochastic differential equation (SDE) model for a worm-head trajectory (23)
(2) |
where and are noise terms, is a unit vector in the direction, and switches between +1 and −1 at rate . These trajectories can be further classified by dimensionless parameters. The chirality number, , distinguishes between the tangling and untangling gaits (Fig. 3, A and B). This nondimensional parameter corresponds to the average number of right- or left-handed loops traced out by the worm before changing direction and provides an intuitive way of understanding the topological properties of each gait. When is large, worms wind around each other before switching direction, producing a coherent tangle. By contrast, for small , the worms change direction before they are able to wind around one another and so remain untangled. This relationship between tangle state and chirality can be thought of as a form of resonance. Our trajectory model thus explains how the characteristic helical waves produced by untangling worms mediate topology (movie S3).
We next showed that these conclusions generalize to a full 3D mechanical model of worm gaits. To model the worms, we performed elastic-fiber simulations in which the worms were treated as Kirchhoff filaments (5, 30–34) with active head dynamics. The head motions were prescribed by the SDE model (2) together with additional 3D drift (23); the body responded elastically. The resulting worm collectives could form 3D tangled structures (Fig. 3E) consistent with those seen in our experiments, as quantified by contact link (Fig. 3F). The tangling and untangling behavior in these simulations appears to be a function of the chirality number, , further confirming its importance (Fig. 3, E and F, and movie S3). This formulation of a 3D dynamical model allows us to understand how the dynamics of single worms produces worm collectives with distinct topologies.
Mean-field theory
On the basis of our analysis of the worm trajectories, we built a mean-field tangling model, which establishes a mapping between tangling and percolation (Fig. 4). To formulate an analytically tractable model, we treat the worm motion as essentially 2D, so each worm effectively moves in a 2D slice of the 3D tangle (Fig. 4, A and B). As a given worm moves in a plane, its head traces out a curve, (Fig. 4B, purple and green curves), described by Eq. 2. The worm can encounter a set of obstacles, , that indicate intersections of the other worms with the given plane (Fig. 4B, colored circles). The 3D notion of contact link between worms can be mapped to this 2D picture (22) by considering the winding of the trajectory, , around the obstacles, . We can assign a value to each obstacle, , that measures how much winds around and how close the trajectory gets to (Fig. 4B). We call this value the “contact winding” of about and denote it (23). Thresholding and averaging all the contact winding numbers yields a tangling index
(3) |
where the step function returns 1 if and 0 otherwise. The tangling index therefore counts the number of obstacles that a worm winds around and illustrates that worm-head trajectories with different chirality number, , are topologically distinct (Fig. 4B). For example, by changing direction frequently, trajectories with small have smaller overall contact winding (Fig. 4B, bottom row). Because the tangling index counts entanglements, it can also be interpreted as a measure of the mean degree of a tangle graph. Because connected graphs asymptotically have a mean degree of at least 2, we identify as the critical tangling index separating tangled states, with , from loose states, with . Near-critical trajectories (23) bear a notable resemblance to curves that solve the famous picture-hanging puzzle (22), which asks how to hang a picture on two pegs so that it falls if either peg is removed. Critical worm gaits could therefore be associated with such topological quick-release mechanisms; our tomographic reconstructions do indicate that worms form near-critical tangles (Fig. 2F), thus balancing tangle stability with ability to disentangle rapidly.
The tangling index enables the topological state to be predicted from worm motion and spacing (Fig. 4C). Assuming small noise terms (23), the worm-head trajectories are characterized by speed , turning rate , and angular switching rate captures the worm spacing. This leads to two dimensionless quantities, the chirality number, , and the loop number, , which measures the size of the loops produced by the worm trajectory in units of . The resulting phase diagram, , explains the observed values of and for worms executing tangling and untangling gaits (Fig. 4C). The timescale of these topological transformations depends on , which can take any value for fixed and . Because , the associated topological transformation timescale is small for fast worms and large for slow worms, which is in agreement with observed worm behavior (Fig. 3, A and B), provided that and stay approximately constant. The tangling phase diagram further demonstrates that the loop number, , can also be used to control topological state. For example, larger values of allow a worm to wind around more obstacles, increasing topological complexity. However, for , the chirality number, , is the key determinant of tangle state (Fig. 4C), indicating that tangle topology can be controlled purely by changing the rate, , at which the turning direction switches. The validity of this intuitive picture was confirmed with 3D simulations, demonstrating that by tuning , active filaments can be programmed to reversibly tangle and untangle at any head speed (Fig. 4D and movie S4). The phase diagram therefore reveals how tangle topology can be robustly controlled by manipulating only the chiral dynamics of the constituent filaments (Fig. 4, D and E, and movie S4).
Discussion
Blackworm locomotion lies close to the critical tangling threshold (Fig. 4C), indicating that blackworm gaits are mechanically optimized for crossing the tangling–untangling barrier. However, our mean-field tangling model predicts a large space of tangling and untangling strategies, within which blackworms occupy a relatively small region. In addition, at fixed and , the tangling and untangling timescale, , can take any value, underscoring the size of the locomotion space. Accounting for energetics helps identify the topological strategies that are inefficient for blackworms. For example, untangling with small requires forming small, energetically costly loops. Similarly, untangling by means of the linear trajectories corresponding to large gaits requires braids to be unraveled by pulling rather than unweaving, a motion associated with a higher friction penalty (7, 23). Furthermore, blackworm dynamics are necessarily multifunctional, and topological requirements must be balanced with the need to support efficient, biologically feasible locomotion (14, 32, 35). For example, the helical waves of alternating chirality that promote untangling have also been identified in the context of worm swimming (14). However, the highly entangled region of phase space with , suggests that there are stable tangle topologies not accessed by the worm collectives. Such a tangle could contain chiral filaments, in contrast to our observed living worm tangles (Fig. 1G). The chirality number and loop number thus demonstrate how complex topologies may be created and tested beyond the biologically feasible regime.
Active helical waves produced by the motion of individual worms facilitate collective tangling and ultrafast untangling. Because the underlying mechanisms are generic, and because the predictions of elasticity theory are known to generalize across a wide range of scales (31), it is relevant to ask whether the results of our mean-field tangling model could apply to other systems of packed and tangled fibers. Our model additionally demonstrates methods for fine control of tangle topology, opening up the possibility of programming a wide range of behaviors into a single topologically adaptive material by harnessing the large internal state space of tangles. The framework developed here could help in better understanding the mechanical advantages of specific classes of tangles and aid in the development of multifunctional materials based on topological properties.
Supplementary Material
ACKNOWLEDGMENTS
We thank S. Emelianov (Georgia Tech) for sharing instrument facilities for ultrasound imaging. J. Dunkel thanks the World Premier International Research Center Initiative International Institute for Sustainability with Knotted Chiral Meta Matter at Hiroshima University for hospitality and support while parts of this work were completed.
Funding:
This work was supported by a MathWorks Fellowship (V.P.P.), a Stanford Science Fellowship (V.P.P.), the NSF Graduate Research Fellowship Program (H.T.), a Georgia Institute of Technology (Georgia Tech) President’s Fellowship (H.T. and D.Q.), the Georgia Tech President’s Undergraduate Research Award (E.K.), the MIT Mathematics Robert E. Collins Distinguished Scholar Fund (J.D.), and Sloan Foundation Grant G-2021-16758 (J.D.). M.S.B. acknowledges funding support from NIH Grant R35GM142588; NSF Grants MCB-1817334; CMMI-2218382; and CAREER IOS-1941933, and the Open Philanthropy Project.
Footnotes
Competing interests: The authors declare that they have no competing interests.
SUPPLEMENTARY MATERIALS
science.org/doi/10.1126/science.ade7759
View/request a protocol for this paper from Bio-protocol.
Data and materials availability:
The code used for numerical simulations is available at Zenodo (36). Additional datasets are available at Zenodo (37).
REFERENCES AND NOTES
- 1.Warren PB, Ball RC, Goldstein RE, Phys. Rev. Lett 120, 158001 (2018). [DOI] [PubMed] [Google Scholar]
- 2.de Gennes P-G, J. Chem. Phys 55, 572–579 (1971). [Google Scholar]
- 3.Edwards S, Vilgis TA, Rep. Prog. Phys 51, 243–297 (1988). [Google Scholar]
- 4.Gardel ML et al. , Science 304, 1301–1305 (2004). [DOI] [PubMed] [Google Scholar]
- 5.Patil VP, Sandt JD, Kolle M, Dunkel J, Science 367, 71–75 (2020). [DOI] [PubMed] [Google Scholar]
- 6.Daily-Diamond CA, Gregg CE, O’Reilly OM, Proc. R. Soc. London Ser A473, 20160770 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Sano TG, Johanns P, Grandgeorge P, Baek C, Reis PM, Extreme Mech. Lett 55, 101788 (2022). [Google Scholar]
- 8.Johanns P et al. , Extreme Mech. Lett 43, 101172 (2021). [Google Scholar]
- 9.Chen Z, Pace U, Heldman J, Shapira A, Lancet D, J. Neurosci 6, 2146–2154 (1986). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Raymer DM, Smith DE, Proc. Natl. Acad. Sci. U.S.A 104, 16432–16437 (2007). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Belmonte A, Shelley MJ, Eldakar ST, Wiggins CH, Phys. Rev. Lett 87, 114301 (2001). [DOI] [PubMed] [Google Scholar]
- 12.Soh BW, Gengaro IR, Klotz AR, Doyle PS, Phys. Rev. Res 1, 033194 (2019). [Google Scholar]
- 13.Kauffman LH, Lambropoulou S, in Introductory Lectures on Knot Theory, vol. 46 of Series on Knots and Everything, Kauffman LH, Lambropoulou S, Jablan S, Przytycki JH, Eds. (World Scientific, 2012), pp. 187–247. [Google Scholar]
- 14.Drewes CD, Aquatic Oligochaetes (Springer, 1999), pp. 263–269. [Google Scholar]
- 15.Heeremans T, Deblais A, Bonn D, Woutersen S, Sci. Adv 8, eabj7918 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Ozkan-Aydin Y, Goldman DI, Bhamla MS, Proc. Natl. Acad. Sci. U.S.A 118, e2010542118 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Kaster JL, Hydrobiologia 180, 191–193 (1989). [Google Scholar]
- 18.Nguyen C et al. , Front. Phys. (Lausanne) 9, 734499 (2021). [Google Scholar]
- 19.Franks NR et al. , Proc. Biol. Sci 283, 20152946 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Worley A, Sendova-Franks AB, Franks NR, R. Soc. Open Sci 6, 181626 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Mathijssen AJTM, Culver J, Bhamla MS, Prakash M, Nature 571, 560–564 (2019). [DOI] [PubMed] [Google Scholar]
- 22.Demaine ED et al. , Theory Comput. Syst 54, 531–550 (2014). [Google Scholar]
- 23. Materials and methods are available as supplementary materials.
- 24.Qu A, James DL, ACM Trans. Graph 40, 106 (2021). [Google Scholar]
- 25.Panagiotou E, Millett KC, Lambropoulou S, Phys J. A Math. Theor 43, 045208 (2010). [Google Scholar]
- 26.Panagiotou E, Kauffman LH, Proc. R. Soc. London Ser. A 477, 20210440 (2021). [Google Scholar]
- 27.Zirbes L et al. , PLOS ONE 7, e32564 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Kuei S, Słowicka AM, Ekiel-Jeżewska ML, Wajnryb E, Stone HA, New J Phys 17, 053009 (2015). [Google Scholar]
- 29.Hu DL, Nirody J, Scott T, Shelley MJ, Proc. Natl. Acad. Sci. U.S.A 106, 10081–10085 (2009). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Bergou M, Wardetzky M, Robinson S, Audoly B, Grinspun E, ACM Trans. Graph 27, 1–12 (2008). [Google Scholar]
- 31.Audoly B, Pomeau Y, Elasticity and Geometry: From Hair Curls to the Non-linear Response of Shells (Oxford University Press, 2010). [Google Scholar]
- 32.Wolgemuth CW, Powers TR, Goldstein RE, Phys. Rev. Lett 84, 1623–1626 (2000). [DOI] [PubMed] [Google Scholar]
- 33.Huang W, Khalid Jawed M, Comput. Fluids 228, 105038 (2021). [Google Scholar]
- 34.Gilpin W, Uppaluri S, Brangwynne CP, Biophys. J 108, 1887–1898 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Kudrolli A, Ramirez B, Proc. Natl. Acad. Sci. U.S.A 116, 25569–25574 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Patil VP, vppatil28/tangle_code: Tangle simulation code, Zenodo (2023); doi: 10.5281/zenodo.7519605. [DOI] [Google Scholar]
- 37.Patil VP et al. , Zenodo (2023); 10.5281/zenodo.7519337. [DOI] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
The code used for numerical simulations is available at Zenodo (36). Additional datasets are available at Zenodo (37).