{"id":866701,"date":"2026-10-01T05:18:12","date_gmt":"2026-10-01T05:18:12","guid":{"rendered":"https:\/\/www.newsbeep.com\/us\/866701\/"},"modified":"2026-10-01T05:18:12","modified_gmt":"2026-10-01T05:18:12","slug":"butterfly-wing-patterns-in-flight-create-powerful-illusory-motion-cues","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/us\/866701\/","title":{"rendered":"Butterfly wing patterns in flight create powerful illusory motion cues"},"content":{"rendered":"<p>Temporally fluid motion measures<\/p>\n<p>To quantify the influence of butterfly wings and their patterns on motion detection, we used a custom-written biologically informed EMD<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 28\" title=\"Santon, M., Troscianko, J., Heatubun, C. D. &amp; How, M. J. Stealth and deception: adaptive motion camouflage in hunting broadclub cuttlefish. Sci. Adv. 11, eadr3686 (2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR28\" id=\"ref-link-section-d58166892e937\" rel=\"nofollow noopener\" target=\"_blank\">28<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 45\" title=\"Schneider, C. A., Rasband, W. S. &amp; Eliceiri, K. W. NIH Image to ImageJ: 25 years of image analysis. Nat. Methods 9, 671&#x2013;675 (2012).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR45\" id=\"ref-link-section-d58166892e940\" rel=\"nofollow noopener\" target=\"_blank\">45<\/a>, using ImageJ. The model operates using spatiotemporal correlation of pixel intensity values across consecutive frames, quantified with arrays of vertically and horizontally orientated EMDs to measure motion in four cardinal directions (forwards, backwards, left and right)<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 2\" title=\"How, M. J. &amp; Zanker, J. M. Motion camouflage induced by zebra stripes. Zoology 117, 163&#x2013;170 (2014).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR2\" id=\"ref-link-section-d58166892e944\" rel=\"nofollow noopener\" target=\"_blank\">2<\/a>. This version of the EMD model was first validated in ref. <a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 28\" title=\"Santon, M., Troscianko, J., Heatubun, C. D. &amp; How, M. J. Stealth and deception: adaptive motion camouflage in hunting broadclub cuttlefish. Sci. Adv. 11, eadr3686 (2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR28\" id=\"ref-link-section-d58166892e948\" rel=\"nofollow noopener\" target=\"_blank\">28<\/a>, where it was used to quantify high-speed recordings of broadclub cuttlefish Sepia latimanus illusory hunting displays, using the temporal and spatial resolution of green shore crabs, Carcinus maenas.<\/p>\n<p>For our model, videos were first processed by spatially and temporally filtering contrasts not visible to the viewer to create \u2018fluid motion vision\u2019. Spatial contrast limits were based on those of small passerines (about 6 cycles per degree) observing at 34\u2009cm (smallest) to 193\u2009cm (largest) away, depending on the size of the butterfly. Avian spatial acuity scales with eye and body size<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 46\" title=\"Caves, E. M., Fern&#xE1;ndez-Juricic, E. &amp; Kelley, L. A. Ecological and morphological correlates of visual acuity in birds. J. Exp. Biol. 227, jeb246063 (2024).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR46\" id=\"ref-link-section-d58166892e961\" rel=\"nofollow noopener\" target=\"_blank\">46<\/a>, so these viewing parameters should scale allometrically with larger or smaller predators and butterflies. Temporal limits were chosen based on a 100-Hz critical flicker fusion frequency for a passerine within a forest habitat<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 46\" title=\"Caves, E. M., Fern&#xE1;ndez-Juricic, E. &amp; Kelley, L. A. Ecological and morphological correlates of visual acuity in birds. J. Exp. Biol. 227, jeb246063 (2024).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR46\" id=\"ref-link-section-d58166892e965\" rel=\"nofollow noopener\" target=\"_blank\">46<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 47\" title=\"Bostr&#xF6;m, J. E. et al. Ultra-rapid vision in birds. PLoS ONE 11, e0151099 (2016).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR47\" id=\"ref-link-section-d58166892e968\" rel=\"nofollow noopener\" target=\"_blank\">47<\/a>. We chose these distances to be as biologically realistic as possible: they are close enough to the target that an avian predator would be likely to initiate their ballistic attack. Closer distances are challenging to model, as they require very high frame rates to avoid motion artefacts (this viewing distance already required simulations at 2,000\u2009fps). Meanwhile, longer viewing distances lead to the stripes no longer being resolvable, and are therefore irrelevant for the current hypotheses and attack ranges.<\/p>\n<p>Filtering was achieved by interpolating frames and pixels using temporal (\u03c3\u2009=\u20095) and spatial (\u03c3\u2009=\u20098) Gaussian blur. Temporal blurring at \u03c3\u2009=\u20095 reduced a 100-Hz flashing stimulus recorded at 1,000\u2009Hz to 1% of its original amplitude<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 28\" title=\"Santon, M., Troscianko, J., Heatubun, C. D. &amp; How, M. J. Stealth and deception: adaptive motion camouflage in hunting broadclub cuttlefish. Sci. Adv. 11, eadr3686 (2025).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR28\" id=\"ref-link-section-d58166892e984\" rel=\"nofollow noopener\" target=\"_blank\">28<\/a>. In the absence of both spatial and temporal filtering, EMD outputs would have been strongly influenced by temporal aliasing resulting in \u2018wagon wheel\u2019-type motion artefacts that would not occur in nature<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 35\" title=\"Andrews, T. &amp; Purves, D. The wagon-wheel illusion in continuous light. Trends Cogn. Sci. 9, 261&#x2013;263 (2005).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR35\" id=\"ref-link-section-d58166892e988\" rel=\"nofollow noopener\" target=\"_blank\">35<\/a>. The model then outputs motion energy values in each direction (forwards, backwards, left and right) for every pixel and for each consecutive pair of frames.<\/p>\n<p>To quantify motion confusion, the strength of motion in each direction was measured as the mean energy across each frame giving a measure of forwards, backwards, left and right energy. To measure how wing patterns \u2018confuse\u2019 motion detection relative to the dominant direction of movement (forwards), we calculated Michelson\u2019s contrast of motion for backwards compared with forwards (forwards confusion), and for sideways compared with forwards (sideways confusion)<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 29\" title=\"Georgeson, M. A. &amp; Scott-Samuel, N. E. Motion contrast: a new metric for direction discrimination. Vision Res. 39, 4393&#x2013;4402 (1999).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR29\" id=\"ref-link-section-d58166892e995\" rel=\"nofollow noopener\" target=\"_blank\">29<\/a>. Sideways motion was measured using the mean of left energy and right energy.<\/p>\n<p>$$\\begin{array}{l}\\mathrm{Forwards}\\,\\mathrm{confusion}=(\\mathrm{Backwards}\\,\\mathrm{energy}-\\mathrm{Forwards}\\,\\mathrm{energy})\\\\ \\,\/(\\mathrm{Backwards}\\,\\mathrm{energy}+\\mathrm{Forwards}\\,\\mathrm{energy})\\end{array}$$<\/p>\n<p>$$\\mathrm{Sideways}\\,\\mathrm{energy}=(\\mathrm{Right}\\,\\mathrm{energy}+\\mathrm{Left}\\,\\mathrm{energy})\/2$$<\/p>\n<p>$$\\begin{array}{l}\\mathrm{Sideways}\\,\\mathrm{confusion}=(\\mathrm{Sideways}\\,\\mathrm{energy}-\\mathrm{Forwards}\\,\\mathrm{energy})\\\\ \\,\/(\\mathrm{Sideways}\\,\\mathrm{energy}+\\mathrm{Forwards}\\,\\mathrm{energy})\\end{array}$$<\/p>\n<p>Forwards confusion gives an estimation of how patterning alters the perceived speed of a moving object, with greater values indicating a greater weighting of motion backwards compared with forwards and a slower speed. For most forwards-moving objects the Michelson\u2019s contrast of backwards to forwards energy should be negative, with biological motion such as flapping wings and running limbs generating cyclical periods of greater backwards compared with forwards energy, for example, when a limb swings backwards. Sideways confusion gives an estimation of how patterning alters the perceived turning rate of an object, with greater values exaggerating or dampening turns. Forwards energy on its own can also mislead observers, with more contrasting objects, such as white, resulting in overestimation as opposed to underestimation of object speed by humans<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 48\" title=\"Stone, L. S. &amp; Thompson, P. Human speed perception is contrast dependent. Vision Res. 32, 1535&#x2013;1549 (1992).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR48\" id=\"ref-link-section-d58166892e1197\" rel=\"nofollow noopener\" target=\"_blank\">48<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 49\" title=\"Thompson, P. Perceived rate of movement depends on contrast. Vision Res. 22, 377&#x2013;380 (1982).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR49\" id=\"ref-link-section-d58166892e1200\" rel=\"nofollow noopener\" target=\"_blank\">49<\/a>. Failure to accurately evaluate the speed or turning rate of an object can result in failure to intercept a target<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 50\" title=\"M&#xE1;rquez, I. &amp; Trevi&#xF1;o, M. Visuomotor predictors of interception. PLoS ONE 19, e0308642 (2024).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR50\" id=\"ref-link-section-d58166892e1204\" rel=\"nofollow noopener\" target=\"_blank\">50<\/a>.<\/p>\n<p>It is noted that, for the free-flight videos and the videos presented to human \u2018predators\u2019, the direction of the EMD measures did not always align with the heading of the butterfly and was instead globally aligned to the start and end point of the butterfly\u2019s flight path. Meanwhile, for all measurements using the European butterfly simulations and genetic algorithm, the butterfly\u2019s orientation always aligned with the four EMD directions.<\/p>\n<p>High-speed analysis of butterfly take-off<\/p>\n<p>To pilot whether and how butterfly wing patterns influence early-stage motion detection of their flight, we recorded the take-offs for five Euro-African butterfly species, two of which were recorded for dimorphic sexes, giving a total of seven morphotypes. These were: Anthocharis cardamines (males, N\u2009=\u20092), Hypolimnas misippus (males, N\u2009=\u20093 and females, N\u2009=\u20093), Papilio dardanus ochracea (males, N\u2009=\u20093 and females, N\u2009=\u20092), Papilio machaon (unknown sex, N\u2009=\u20092) and Vanessa atalanta (unknown sex, N\u2009=\u20093). For H. misippus and P. d. ochracea, the females are mimics of aposematic species of the subfamily Danainae<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 51\" title=\"Nijhout, H. F. Polymorphic mimicry in Papilio dardanus: mosaic dominance, big effects, and origins. Evol. Dev. 5, 579&#x2013;592 (2003).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR51\" id=\"ref-link-section-d58166892e1264\" rel=\"nofollow noopener\" target=\"_blank\">51<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 52\" title=\"Smith, D. Phenotypic diversity, mimicry and natural selection in the African butterfly Hypolimnas misippus L.(Lepidoptera: Nymphalidae). Biol. J. Linn. Soc. 8, 183&#x2013;204 (1976).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR52\" id=\"ref-link-section-d58166892e1267\" rel=\"nofollow noopener\" target=\"_blank\">52<\/a>. We recorded take-off behaviour as most predator attacks begin on stationary butterflies. All butterflies filmed were adults, with sample sizes determined by availability. As data collected were based on EMD measurements of take-offs, no randomization was required.<\/p>\n<p>Butterfly take-offs were recorded against a green-screen background with a scale bar and Xrite colour checker using a CHRONOS 1.4 (Kron Technologies). The butterflies were typically oriented with their dorsal surface patterning facing the camera. Footage was taken in RAW format at a framerate of 1,057\u2009fps and a resolution of 1,280\u2009\u00d7\u20091,024\u2009pixels. Each species was recorded two or three times (see above for the number of listed flights). Videos were converted from RAW to a DNG stack using the Python function pyraw2dng; these could then be imported into ImageJ and saved in a .tif format. Weka trainable segmentation followed by manual screening and adjustments was used to cluster the video, replacing the background with a dark colour and the butterfly patterning with up to a maximum of four colours<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 53\" title=\"Arganda-Carreras, I. et al. Trainable Weka Segmentation: a machine learning tool for microscopy pixel classification. Bioinformatics 33, 2424&#x2013;2426 (2017).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR53\" id=\"ref-link-section-d58166892e1274\" rel=\"nofollow noopener\" target=\"_blank\">53<\/a>. Each video was cropped to include only the area of the flight path and so that the final frame had the entirety of the butterfly visible. Video durations ranged from 174 to 399 frames (0.16\u2009s to 0.38\u2009s)<\/p>\n<p>Once clustered, videos were converted from standard\u00a0RGB\u00a0space to avian luminance using blue-tit double-cone quantum catch<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" title=\"Hart, N., Partridge, J., Cuthill, I. &amp; Bennett, A. Visual pigments, oil droplets, ocular media and cone photoreceptor distribution in two species of passerine bird: the blue tit (Parus caeruleus L.) and the blackbird (Turdus merula L.). J. Comp. Physiol. A 186, 375&#x2013;387 (2000).\" href=\"#ref-CR54\" id=\"ref-link-section-d58166892e1281\">54<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" title=\"Osorio, D. &amp; Srinivasan, M. V. Camouflage by edge enhancement in animal coloration patterns and its implications for visual mechanisms. Proc. R. Soc. Lond. B 244, 81&#x2013;85 (1991).\" href=\"#ref-CR55\" id=\"ref-link-section-d58166892e1281_1\">55<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 56\" title=\"Van Den Berg, C. P., Troscianko, J., Endler, J. A., Marshall, N. J. &amp; Cheney, K. L. Quantitative colour pattern analysis (QCPA): a comprehensive framework for the analysis of colour patterns in nature. Methods Ecol. Evol. 11, 316&#x2013;332 (2020).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR56\" id=\"ref-link-section-d58166892e1284\" rel=\"nofollow noopener\" target=\"_blank\">56<\/a>. The background area for each video was replaced with the average luminance for a grassy background (RGB 87, 87, 87). Videos were re-oriented and cropped in length such that the first and last position of the butterfly would follow a linear vertical line upwards (up\u2009=\u2009forwards) and the butterfly was entirely in frame for its final position. Each video was then passed through the temporally fluid EMD using the methods described above. For each consecutive frame pair, the forwards-confusion and sideways-confusion metrics were calculated using the measured forwards-, backwards-, left- and right-motion energy (Supplementary Video\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#MOESM4\" rel=\"nofollow noopener\" target=\"_blank\">1<\/a>). This process was repeated for each video with the butterfly wing patterns replaced with the averaged luminance of the butterfly, 0% reflectance (black) and 100% reflectance (white), giving a total of 4 pattern treatments: natural, averaged, black and white.<\/p>\n<p>European butterflies were caught with a butterfly net in a private garden in France (Mareil-Marly, 78750), housed temporarily in individual plastic pots with airholes and filmed outdoors in a netted enclosure. To film the take-off, the pot was placed upside down in front of a green screen and lifted off once the butterfly had settled on the lid; the butterfly was then allowed to take off naturally. Butterflies were released immediately after recording. African species (H. misippus and P. d. ochracea), raised from captive-bred pupae, were filmed using a similar set-up; these butterflies were held using soft tweezers, then released for take-off.<\/p>\n<p>Motion confusion across European butterflies<\/p>\n<p>To assess which features of butterfly wing patterns influence early-stage motion detection of butterflies in flight, we opted to use controlled three-dimensional simulations of European butterflies in flight.<\/p>\n<p>Scanning butterfly images<\/p>\n<p>To capture the breadth of European butterfly species, we scanned pages from Collins Butterfly Guide as JPEGs using a Konica Minolta bizhub C368 office scanner (Konica House)<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 57\" title=\"Tolman, T. Collins Butterfly Guide: The Most Complete Field Guide to the Butterflies of Britain and Europe (HarperCollins, 2008).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR57\" id=\"ref-link-section-d58166892e1318\" rel=\"nofollow noopener\" target=\"_blank\">57<\/a>. As we were interested in patterning more than exact colour values, the accurately scaled illustrations of butterflies within the guide provided an invaluable resource with dorsal images of 397 butterfly species and a total of 757 unique morphotypes (subspecies and sexes).<\/p>\n<p>For each scanned page, individual butterfly dorsal images were cropped and saved in .tif format using a custom-made ImageJ script to semi-automatically select regions of interest for the right forewing and hindwing, as well as a line for the body length. Regions-of-interest selections allowed for later quantification of butterfly wing pattern and shape measures, and for extraction of the forewing, hindwing and body as .pngs for our three-dimensional simulations<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 45\" title=\"Schneider, C. A., Rasband, W. S. &amp; Eliceiri, K. W. NIH Image to ImageJ: 25 years of image analysis. Nat. Methods 9, 671&#x2013;675 (2012).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR45\" id=\"ref-link-section-d58166892e1325\" rel=\"nofollow noopener\" target=\"_blank\">45<\/a>. Each scan was saved with a scale of 23.583\u2009pixels per millimetre.<\/p>\n<p>Three-dimensional rendering in Blender<\/p>\n<p>To simulate flight for the European butterfly morphotypes, we constructed a three-dimensional animated model of a butterfly in Blender 4.0 (Supplementary Video\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#MOESM5\" rel=\"nofollow noopener\" target=\"_blank\">2<\/a>). The butterfly consisted of five two-dimensional planes: the body, two forewings (left and right) and two hindwings (left and right). The image of each plane could be replaced with one of the avian double-cone catch converted scans for the butterfly\u2019s body, hindwing and forewing. These planes were rigged with an armature for the forewings and hindwings used to generate flapping flight. The wings were animated symmetrically to match the clap and fling flight of one of the videoed H. misippus, with the wings deforming, rolling and yawing distally during the upstroke and downstroke, as opposed to simply pitching upwards and downwards. When animated, the butterfly would fly forwards linearly from its start frame to the end, carrying out two wingbeat cycles.<\/p>\n<p>A custom-written ImageJ\u2009+\u2009Python script was then used to automatically replace the images used for the butterfly\u2019s body, hindwings and forewings with those of a selected butterfly, as well as to adjust the wingbeat frequency and render the animation<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 58\" title=\"Conlan, C. The Blender Python API: Precision 3D Modeling and Add-on Development (Apress Berkeley, 2017).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR58\" id=\"ref-link-section-d58166892e1346\" rel=\"nofollow noopener\" target=\"_blank\">58<\/a>. Across Lepidoptera, a smaller wing area corresponds with a higher wingbeat frequency<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 25\" title=\"Tercel, M. P. T. G., Veronesi, F. &amp; Pope, T. W. Phylogenetic clustering of wingbeat frequency and flight-associated morphometrics across insect orders. Physiol. Entomol. 43, 149&#x2013;157 (2018).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR25\" id=\"ref-link-section-d58166892e1350\" rel=\"nofollow noopener\" target=\"_blank\">25<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 59\" title=\"San Ha, N., Truong, Q. T., Goo, N. S. &amp; Park, H. C. Relationship between wingbeat frequency and resonant frequency of the wing in insects. Bioinspir. Biomim. 8, 046008 (2013).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR59\" id=\"ref-link-section-d58166892e1353\" rel=\"nofollow noopener\" target=\"_blank\">59<\/a>. Higher wingbeat frequencies are likely to interact with how patterning influences motion detectors, resulting in increased motion blur. Wing area for each butterfly was converted to the estimated wingbeat frequency in hertz using an equation calculated from the near-linear relationship between butterfly mass, wing area and wingbeat frequency (see Supplementary Information, section\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#MOESM1\" rel=\"nofollow noopener\" target=\"_blank\">2<\/a> for formula calculation)<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 60\" title=\"Dudley, R. Biomechanics of flight in neotropical butterflies: morphometries and kinematics. J. Exp. Biol. 150, 37&#x2013;53 (1990).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR60\" id=\"ref-link-section-d58166892e1360\" rel=\"nofollow noopener\" target=\"_blank\">60<\/a>:<\/p>\n<p>$$\\begin{array}{c}{\\rm{W}}{\\rm{i}}{\\rm{n}}{\\rm{g}}{\\rm{b}}{\\rm{e}}{\\rm{a}}{\\rm{t}}\\,{\\rm{f}}{\\rm{r}}{\\rm{e}}{\\rm{q}}{\\rm{u}}{\\rm{e}}{\\rm{n}}{\\rm{c}}{\\rm{y}}\\\\ \\,=\\,{10}^{(-0.134346\\times ((\\log (\\text{wing area (}{\\rm{m}}{{\\rm{m}}}^{2}))\/\\log (10))\\times 1.23952-7.843389)+0.53418)}\\end{array}$$<\/p>\n<p>The calculated wingbeat frequency was then used to rescale the length of the animation and adjust the start and end frame so that the animation consisted of one wingbeat cycle with ten additional frames lead-in and lead-out for fluid frame interpolation. When rendered, butterflies were filmed from a static bird\u2019s-eye view (camera looking down on the butterfly), flying forwards at a speed proportional to its body length and wingbeat frequency (speed\u2009=\u2009length\u2009\u00d7\u20091.93\u2009\u00d7\u2009wingbeat frequency). We used only one viewing angle for both tractability and because we did not have access to ventral surface patterns for most of the butterfly species illustrated in Collins Butterfly Guide. Animations were rendered as a stack of .pngs at a frame rate of 2,000\u2009frames per second.<\/p>\n<p>Each stack was imported into ImageJ and quantified using the temporally fluid EMD, taking the average forwards, backwards, left and right energy across each frame. These were used to calculate the forwards confusion, sideways confusion and forwards energy for a butterfly in flapping flight. Each butterfly was rendered with three colour treatments: its natural pattern (natural), the averaged grey value of the wing (grey) and in white to account for the effect of the wing shape alone. Natural patterns were used for the random forest analyses, whereas the grey and white renders were used exclusively for linear model comparisons of patterned versus unpatterned butterflies (Supplementary Information, section\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#MOESM1\" rel=\"nofollow noopener\" target=\"_blank\">2<\/a>). In addition, each colour treatment was rendered with and without wingbeat animations to determine how gliding influences motion, giving a total of six treatments. This process was carried out for all 757 morphotypes.<\/p>\n<p>Butterfly wing features<\/p>\n<p>To assess which features of butterfly wings influenced our EMD model, we quantified the colour, patterning and wing shape of butterflies using image analysis. All measures used were repeated separately for the forewing and the hindwing. Simple measures of colour were obtained by converting the butterfly scans to the CIE 1976 Lab colour space<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 61\" title=\"Colorimetry-part 4: CIE 1976 L* a* b* colour space. Jt. ISOCIE Stand. ISO 11664-42008ECIE 014-4E2007 Vienna Austria Comm. Int. L&#x2019;Eclairage 2019&#x2013;06 (CIE, 1976).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR61\" id=\"ref-link-section-d58166892e1556\" rel=\"nofollow noopener\" target=\"_blank\">61<\/a>. This colour space is frequently used for the measurement of biological coloration and allows for the quantification of colour across three discrete image channels, L* (achromatic luminance), a* (opponent red\u2013green) and b* (opponent yellow\u2013blue). For each image, we measured the mean and standard deviation (contrast) of a*, b*, and of the Euclidean distance of the a* and b* channels from zero (saturation).<\/p>\n<p>For patterning, we used Gabor filters set to 6 different orientations (0\u00b0, 30\u00b0, 60\u00b0, 90\u00b0, 120\u00b0 and 150\u00b0) and 6 octaves, the largest being 1\/4\u00d7 the wavelength of the wing (square root of wing area) to measure the pattern contrast, size and orientations of our blue-tit double-cone catch images<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 62\" title=\"Barnett, J. B., Michalis, C., Scott-Samuel, N. E. &amp; Cuthill, I. C. Colour pattern variation forms local background matching camouflage in a leaf-mimicking toad. J. Evol. Biol. 34, 1531&#x2013;1540 (2021).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR62\" id=\"ref-link-section-d58166892e1563\" rel=\"nofollow noopener\" target=\"_blank\">62<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 63\" title=\"Hancock, G. R., Cuthill, I. C. &amp; Troscianko, J. Shining a light on camouflage evolution: using genetic algorithms to determine the effects of geometry and lighting on optimal camouflage. PLoS ONE 21, e0346231 (2026).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR63\" id=\"ref-link-section-d58166892e1566\" rel=\"nofollow noopener\" target=\"_blank\">63<\/a>. The resulting stack of 24 images were then used to create spatial maps for periodicity (how big the pattern is), absolute energy (how contrasting the pattern is), direction encoded as two separate channels VH (0\u201390 | vertical\u2013horizontal) and OA (135\u201345 | obtuse\u2013acute), as well as the directionality (anisotropy\u2009=\u2009\u221a(VH2\u2009+\u2009OA2)\u2009\u2212 average energy; Supplementary Information, section\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#MOESM1\" rel=\"nofollow noopener\" target=\"_blank\">2<\/a>). These five maps (periodicity, energy, VH, OA and directionality) allowed us to quantify pattern variation across the wing, not just the global average. For each map, we measured the pixel mean, standard deviation, horizontal gradient (x) and vertical gradient (y). For instance, a high positive mean VH would indicate a vertical rather than a horizontal (negative) pattern, a positive horizontal gradient for periodicity would indicate that periodicity increases distally from the body, and a high standard deviation of directionality would indicate that directionality varies substantially across the wing.<\/p>\n<p>Lastly, butterfly size and wing shape were measured by calculating the total wing area, the estimated wingbeat frequency and the body length. Forewing and hindwing shape measurements were made by recording the length of the wing from the centre of the wing base to the most distal point on the wing<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 64\" title=\"Flockhart, D. T. T. et al. Migration distance as a selective episode for wing morphology in a migratory insect. Mov. Ecol. 5, 7 (2017).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR64\" id=\"ref-link-section-d58166892e1582\" rel=\"nofollow noopener\" target=\"_blank\">64<\/a>, the breadth of the wing at the centroid of the line for the length of the wing, the rectangular length and width of the wing, the area of the wing relative to the body length (area\/body length), the aspect ratio of the wing (length\/breadth), the circularity of the wing (4\u03c0(area\/perimeter2))<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 45\" title=\"Schneider, C. A., Rasband, W. S. &amp; Eliceiri, K. W. NIH Image to ImageJ: 25 years of image analysis. Nat. Methods 9, 671&#x2013;675 (2012).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR45\" id=\"ref-link-section-d58166892e1588\" rel=\"nofollow noopener\" target=\"_blank\">45<\/a>, and the roughness of the wing (the convex area\/the actual area). Altogether, this gave us 73 measures for wing features.<\/p>\n<p>In silico butterfly pattern evolution<\/p>\n<p>The diversity of butterfly wing patterns is a product of unique genetic and developmental pathways, some of which have been accurately mapped<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 4\" title=\"Beldade, P. &amp; Brakefield, P. M. The genetics and evo&#x2013;devo of butterfly wing patterns. Nat. Rev. Genet. 3, 442&#x2013;452 (2002).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR4\" id=\"ref-link-section-d58166892e1601\" rel=\"nofollow noopener\" target=\"_blank\">4<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 65\" title=\"Brakefield, P. M. &amp; French, V. Butterfly wings: the evolution of development of colour patterns. BioEssays 21, 391&#x2013;401 (1999).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR65\" id=\"ref-link-section-d58166892e1604\" rel=\"nofollow noopener\" target=\"_blank\">65<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 66\" title=\"Paulsen, S. M. Quantitative genetics of butterfly wing color patterns. Dev. Genet. 15, 79&#x2013;91 (1994).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR66\" id=\"ref-link-section-d58166892e1607\" rel=\"nofollow noopener\" target=\"_blank\">66<\/a>. These could either limit the adaptive potential of their patterning for motion confusion or could create patterns that fit our motion-confusion hypothesis by coincidence. To validate whether our motion-confusion metrics corresponded with actual butterfly wing evolution, we opted to simulate evolution and selection for motion confusion with genetic algorithms<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 67\" title=\"Hamblin, S. On the practical usage of genetic algorithms in ecology and evolution. Methods Ecol. Evol. 4, 184&#x2013;194 (2013).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR67\" id=\"ref-link-section-d58166892e1611\" rel=\"nofollow noopener\" target=\"_blank\">67<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 68\" title=\"Mitchell, M. An Introduction to Genetic Algorithms (MIT Press, 1996).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR68\" id=\"ref-link-section-d58166892e1614\" rel=\"nofollow noopener\" target=\"_blank\">68<\/a>. Genetic algorithms provide a powerful tool for exploring the fitness landscape of animal phenotypes, and have seen increasing use within visual ecology research, notably for animal camouflage research<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" title=\"Bond, A. B. &amp; Kamil, A. C. Visual predators select for crypticity and polymorphism in virtual prey. Nature 415, 609&#x2013;613 (2002).\" href=\"#ref-CR69\" id=\"ref-link-section-d58166892e1618\">69<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" title=\"Fennell, J. G., Talas, L., Baddeley, R. J., Cuthill, I. C. &amp; Scott-Samuel, N. E. The camouflage machine: optimizing protective coloration using deep learning with genetic algorithms. Evolution 75, 614&#x2013;624 (2021).\" href=\"#ref-CR70\" id=\"ref-link-section-d58166892e1618_1\">70<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 71\" title=\"Hancock, G. R. A. &amp; Troscianko, J. CamoEvo: an open access toolbox for artificial camouflage evolution experiments. Evolution 76, 870&#x2013;882 (2022).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR71\" id=\"ref-link-section-d58166892e1621\" rel=\"nofollow noopener\" target=\"_blank\">71<\/a>. These algorithms mimic evolution by natural selection to efficiently explore vast multidimensional solution spaces, such as those of animal patterns.<\/p>\n<p>For the algorithm, we modified the existing animal pattern evolution framework of the CamoEvo Toolbox, which utilizes decimal encoding of reaction-diffusion patterns and subsequent image modifications to produce artificial animal patterns, with mutation operators tailored for the evolution of patterning<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 71\" title=\"Hancock, G. R. A. &amp; Troscianko, J. CamoEvo: an open access toolbox for artificial camouflage evolution experiments. Evolution 76, 870&#x2013;882 (2022).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR71\" id=\"ref-link-section-d58166892e1628\" rel=\"nofollow noopener\" target=\"_blank\">71<\/a>. This framework was altered to produce images of artificial butterflies where the parameters for pattern shape were separate for the forewing, hindwing and body of the butterfly, allowing for them to evolve independently from one another. As with the real European butterflies, the butterfly images were then transferred to Blender and animated with our three-dimensional butterfly rig.<\/p>\n<p>To account for any influences wing shape might have had on evolution, we selected three distinct butterfly wing shapes from three of the butterfly families: the proportionally small wings of a \u2018Skipper\u2019 Hesperiidae (Pyrgus andromedae), the distinct tailed wings of a \u2018Swallowtail\u2019 Papilionidae (Papilio machaon) and the more classically shaped wings of a Nymphalid butterfly (Pseudochazara anthelea)<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 72\" title=\"Wiemers, M., Chazot, N., Wheat, C. W., Schweiger, O. &amp; Wahlberg, N. A complete time-calibrated multi-gene phylogeny of the European butterflies. ZooKeys 938, 97&#x2013;124 (2020).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR72\" id=\"ref-link-section-d58166892e1644\" rel=\"nofollow noopener\" target=\"_blank\">72<\/a>. For each wing shape, we assigned populations of N\u2009=\u200924 butterflies to one of three different measures of \u2018fitness\u2019 representing different selection pressures: forwards confusion, sideways confusion and forwards energy. For each generation, the top-8 individuals (that is, those with the highest motion-confusion and energy metrics) would \u2018survive\u2019, whereas the remaining 16 \u2018died\u2019 and were replaced by mutant recombinant offspring of the survivors in 2 rounds of random pairings. In addition, we evolved butterflies under random selection, where the rank order was randomly generated each generation: this was done to ensure that butterflies did not evolve patterns simply because of drift. Each population evolved for 20 generations, starting with a population of randomly generated individuals, and with 10 repeats for each fitness metric per wing shape, giving a total of 120 populations (3 wing shapes, 4 selection pressures and 10 repeats).<\/p>\n<p>Butterflies were expected to become \u2018fitter\u2019 with each generation, and to select for similar features to those identified to predict motion confusion in real butterflies. As high-spatial-frequency patterns and speckles were not under selection owing to spatial filtering from our fluid EMD model, both the patterns of real butterflies and the genetic-algorithm-generated in silico butterflies underwent Gaussian spatial filtering (\u03c3\u2009=\u20098) before measurement. For both sets of butterflies, we used the same wing pattern metrics as the European butterfly analysis, excluding measures of wing shape or CIE Lab colour. We chose to use population sizes of 24 individuals and 20 generations based on previous applications<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 63\" title=\"Hancock, G. R., Cuthill, I. C. &amp; Troscianko, J. Shining a light on camouflage evolution: using genetic algorithms to determine the effects of geometry and lighting on optimal camouflage. PLoS ONE 21, e0346231 (2026).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR63\" id=\"ref-link-section-d58166892e1657\" rel=\"nofollow noopener\" target=\"_blank\">63<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 71\" title=\"Hancock, G. R. A. &amp; Troscianko, J. CamoEvo: an open access toolbox for artificial camouflage evolution experiments. Evolution 76, 870&#x2013;882 (2022).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR71\" id=\"ref-link-section-d58166892e1660\" rel=\"nofollow noopener\" target=\"_blank\">71<\/a> and as we wished to determine the most immediately selected characteristics and to preserve diversity for motion confusion, rather than determine the peak optimum phenotypes.<\/p>\n<p>Behavioural validation of measures<\/p>\n<p>To test whether or not our motion-confusion metrics could predict changes in predator-attack behaviour, we constructed a high-framerate (240\u2009Hz) touch-screen butterfly capture game using the three-dimensional butterfly rig used for the in silico evolution and analysis of scans from Collin\u2019s Guide to Butterflies. This involved the following: subselecting butterflies that were representative of different levels of motion confusion; rendering the butterflies onto 10 different flight paths to create animations for a touch-screen game; and recruiting 100 volunteers to collect data on how motion-confusion measures before the player touching the screen influenced where they clicked relative to the butterfly.<\/p>\n<p>For the game, we sub-selected five butterfly phenotypes from the range of Collins Guide to Butterflies. These butterflies were selected from across the motion-confusion gradient for forwards and sideways confusion: Brintesia circe (male), Papilio alexanor (female; it is noted that this species has the highest sideways confusion), Pyrgus sidae (male), Gonepteryx cleobule (male) and Lycaena tityrus (female). See Supplementary Information, section\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#MOESM1\" rel=\"nofollow noopener\" target=\"_blank\">4<\/a> for full table.<\/p>\n<p>Butterfly animation and flight behaviour<\/p>\n<p>As with the Collins and genetic-algorithm simulations of butterflies, we used Blender to create artificial renderings of butterflies. Butterflies were re-scaled so that they had the same wing area. Butterflies had a mean body length of 2.42\u2009cm when rendered on the screen. Wingbeat frequencies were adjusted based on body size and wing area, as with our previous simulations. However, unlike the previous simulations, butterflies were animated with an average flight speed of approximatley 40\u2009cm\u2009s\u22121 for a period of 1.458\u2009s, with multiple wingbeat cycles per flight and sinusoidal flight paths, to simulate natural flight behaviour and make them more difficult to capture. Butterflies initiated their flight from the bottom-left corner of a 1,280\u2009\u00d7\u2009720\u2009pixel background image, which was the same colour as the previously used backgrounds (RGB 87, 87, 87) and would then fly off the screen either from near the bottom-right or top-right corners. The start position of the butterflies was offset from the centre point in a 50\u00b0 arc (\u00b125\u00b0) centred on 45\u00b0 from the left corner of the background (Supplementary Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#MOESM1\" rel=\"nofollow noopener\" target=\"_blank\">25<\/a>).<\/p>\n<p>As the flight paths were encoded using waves and differences in starting orientation, we were able to create saveable flight paths that could be efficiently stored and used across different butterfly phenotypes. For more details of how the sinusoidal flight was encoded, see Supplementary Information, section\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#MOESM1\" rel=\"nofollow noopener\" target=\"_blank\">4<\/a>. We randomly generated 50 flight paths and then sub-selected 5 paths where the endpoint was in the top-right corner and 5 where the endpoint was in the bottom-left corner. The five selected paths for each end point were uniformly selected from low to high levels of linearity (inverse of the level of displacement from the straight-line path from start to end). The settings of each of these paths were saved as .json files, which could be reloaded using Blender and Python, allowing the butterfly phenotypes to be mapped to the same motion paths. See Supplementary Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#MOESM1\" rel=\"nofollow noopener\" target=\"_blank\">26<\/a> for illustrations of each flight path.<\/p>\n<p>EMD measurements and hitboxes<\/p>\n<p>Butterfly videos were rendered at a frame rate of 1,000\u2009fps and then underwent temporal motion smoothing with the same Gaussian blur levels used for the EMD analyses. As birds see faster than humans, and pilot experiments found that human participants struggled to catch butterflies moving faster than 50\u2009cm\u2009s\u22121, we opted to create targets that flew across the screen at 40\u2009cm\u2009s\u22121, but had the equivalent wingbeat frequency and blur to a butterfly travelling at double the speed 80\u2009cm\u2009s\u22121, which was in the range of speeds for our free-flying butterfly take-offs. This was achieved by resampling the number of frames and then dividing the wingbeat frequency by two for the Blender render before applying the blurring method (Supplementary Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#MOESM1\" rel=\"nofollow noopener\" target=\"_blank\">27<\/a>).<\/p>\n<p>After applying temporal smoothing, we downsampled the number of frames to match the frame rate of the monitor, 240\u2009fps, for the game (Supplementary Information, section\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#MOESM1\" rel=\"nofollow noopener\" target=\"_blank\">4(v)<\/a>) For each flight path and each phenotype, a second video was rendered using a labelled hitbox created for the butterfly\u2019s image. This hitbox was colour-coded such that the red channel could be used to indicate whether a butterfly was hit (butterfly\u2009=\u2009255\u2009R), and the green channel could indicate which region of the butterfly was hit (body\u2009=\u200910\u2009G, forewing\u2009=\u2009200\u2009G, hindwing\u2009=\u2009255\u2009G or tail\u2009=\u200930\u2009G).<\/p>\n<p>For each butterfly and for each path, we measured EMD using the same method of alignment as the butterflies filmed in free flight. The images were re-oriented so that the start and end points were in a straight vertical line upwards. The forwards (up), backwards (down), left and right EMD were then used to calculate the confusion measures (forwards and sideways confusion) for the butterflies. This gave us the EMD and confusion measures for every frame. As confusion varied throughout the flight for each butterfly owing to differences in wingbeat cycle and heading (Supplementary Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#MOESM1\" rel=\"nofollow noopener\" target=\"_blank\">28<\/a>), we created a measure for the mean EMD values and confusion values starting from 400\u2009ms (96 frames) before each frame. However, it is worth noting that changes in the orientation of the butterfly will have resulted in noise in the motion-confusion measures, as they were not always aligned with the direction of movement. For instance, forwards confusion was on average higher for P. alexanor than B. circe, probably owing to movements perpendicular to the start and end heading.<\/p>\n<p>Butterfly game<\/p>\n<p>For the experiment, we recruited 100 anonymous volunteer players from across the University of Exeter\u2019s Penryn Campus (Penryn, Cornwall, UK, TR10 9FE) to play a touch-screen-based butterfly-catching game. Participants were required to be aged between 18 and 70 years old, with normal or corrected to normal vision (that is, wear glasses if needed). The sex and age of the participants were not recorded.<\/p>\n<p>The game was run using an ASUS Aspire Nitro V15 laptop with an in-built NVIDIA GEFORCE RTX graphics card, allowing us to display the game with a secondary screen for our experiment, a graphics-processing-unit-powered 240-Hz ASUS XG32UCWMG gaming monitor. The screen for the experiment was 71\u2009cm wide and 40\u2009cm high, with a maximum resolution of 1,920\u2009\u00d7\u20091,080 when in enhanced frame rate mode. Although the uppermost frame rate of the screen was 480\u2009Hz, we selected a vertical refresh rate of 240\u2009Hz for increased stability.<\/p>\n<p>To convert the screen into a touch screen, we used a greentouch infrared frame, placed over the monitor and with a thin (2\u2009mm thick) acrylic sheet cut to fit behind it to protect the screen. Infrared frames allow objects, that is, a participant\u2019s finger, that penetrate the frame to be registered as clicks (Supplementary Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#MOESM1\" rel=\"nofollow noopener\" target=\"_blank\">29<\/a>). Infrared frames are advantageous compared with alternative touch device methods owing to their high response rate &gt;240\u2009Hz and their ability to be paired with almost any screen. This method for high-frame-rate touch screens was based on previous studies<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 73\" title=\"Hancock, G. R. et al. Biologically inspired warning patterns deter a passerine, Parus major, from digital turbine blades. Behav. Ecol. 37, arag039 (2026).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR73\" id=\"ref-link-section-d58166892e1775\" rel=\"nofollow noopener\" target=\"_blank\">73<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 74\" title=\"Winters, S. et al. TOCing with birds: touchscreen-equipped operant chambers as flexible tools for avian behavioral experiments. Preprint at EcoEvoRxiv &#010;                https:\/\/doi.org\/10.32942\/X2JD5M&#010;                &#010;               (2026).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR74\" id=\"ref-link-section-d58166892e1778\" rel=\"nofollow noopener\" target=\"_blank\">74<\/a>. Players were seated on a chair positioned about 50\u2009cm away from the screen and were asked to adjust the height of the screen and to adjust themselves to where they could comfortably reach all four corners of the screen without fully extending their arm, and so that their head faced the centre point of the screen. The mean body length of our butterflies was 2.42\u2009cm, giving an angular width of approximately 2.80\u00b0 and an angular speed of approximately 58.99\u00b0\u2009s\u22121.<\/p>\n<p>To create the game, we used MATLAB R2025 along with the Psychtoolbox-3 and a suite of custom functions for initializing the screen and Psychtoolbox and for registering the touch output as clicks, dubbed PECK as they were initially developed for experiments using birds<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 73\" title=\"Hancock, G. R. et al. Biologically inspired warning patterns deter a passerine, Parus major, from digital turbine blades. Behav. Ecol. 37, arag039 (2026).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR73\" id=\"ref-link-section-d58166892e1787\" rel=\"nofollow noopener\" target=\"_blank\">73<\/a>. As PECK has not yet been released, a stripped version of it including only functions necessary for the experiment has been provided\u00a0within both our Github and Figshare repositories<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 75\" title=\"Hancock, G. R. A., Briolat, E., Hughes, A., Kelley, L. A. &amp; Trosicanko, J. Butterfly wing patterns in flight create powerful illusory motion cues&#x2014;Supplementary Data. figshare &#010;                https:\/\/doi.org\/10.6084\/m9.figshare.31626616&#010;                &#010;               (2026).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR75\" id=\"ref-link-section-d58166892e1791\" rel=\"nofollow noopener\" target=\"_blank\">75<\/a>.<\/p>\n<p>Each player undertook 30 trials rendered at 240\u2009Hz with 6 replicates of each butterfly phenotype. The trials used random flight paths, and each path could be flipped on the x and\/or y axis. This gave a total of 3,000 trials across 100 participants. Before each trial, the player was first instructed to click on a white circle positioned in the same corner from which the butterfly would start. This meant that the player\u2019s finger always started behind the butterfly. The butterfly would then immediately appear, and the player would have to \u2018attack\u2019 it using a single finger. Once the player touched the screen, the butterfly would pause, and text would appear revealing whether the player had successfully hit or missed the butterfly. If the butterfly\u2019s hitbox was within a 30-pixel radius of the click, it was considered a hit. This was to account for the size of the participant\u2019s finger.<\/p>\n<p>Before the experiment commenced, the player was given a series of instructions informing them how to play the game and asking them to use only their dominant hand and one finger when playing the game. Players also did a short tutorial to ensure that they understood the instructions and to ensure that they could catch the butterflies at the speed they travelled in the experiment. This tutorial tasked the player to try and click on butterflies of 3 increasing speeds, 0.5\u00d7, 0.75\u00d7 and 1.0\u00d7 the speed of the butterfly used in the experiment. To progress to the next speed, the player needed to successfully catch two butterflies at that speed. Players, on average, took 14\u2009\u00b1\u20096 (mean\u2009\u00b1\u2009s.d.) trials to complete the tutorial. In addition, during the tutorial, when the player clicked the screen, they were also given information about whether their click was to the front or back and left or right of the butterfly. These trials were not included in the count of 30 experimental trials. During experimental trials, the player was no longer provided with any additional information or instruction. When the screen was clicked, they were only informed on whether they hit the butterfly or not, rather than where they clicked relative to the butterfly.<\/p>\n<p>Data collection<\/p>\n<p>For each experimental trial, we recorded the unique ID assigned to the player, the flight path and butterfly phenotype used, the order number of the trial, whether the path was flipped on the x and\/or y axis, the coordinates and frame of the touch\/click if there was one and the RGB values of the nearest pixel of the hitbox to the click. By using the heading of the butterfly, we were able to calculate the angle of the click relative to the butterfly and the distance of the click on different vectors, the distance parallel to the butterfly\u2019s (y vector) heading and the distance perpendicular (x vector). As click distances were defined relative to the butterfly headings, the y vector was allowed to be positive or negative, with negative values indicating clicks behind the centre of the butterfly and positive values being in front.<\/p>\n<p>Statistical analyses<\/p>\n<p>All statistical analyses were carried out using R version 4.3.3<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 76\" title=\"R Core Team R: A Language and Environment for Statistical Computing (R Foundation for Statistical Computing, 2023).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR76\" id=\"ref-link-section-d58166892e1840\" rel=\"nofollow noopener\" target=\"_blank\">76<\/a>.<\/p>\n<p>To determine how wing pattern influenced the motion-confusion metrics for real butterfly take-offs in free flight, we used linear mixed models (LMMs), with the \u2018lme4\u2019 package<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 77\" title=\"Bates, D., M&#xE4;chler, M., Bolker, B. &amp; Walker, S. Fitting linear mixed-effects models using lme4. J. Stat. Softw. 67, 1&#x2013;48 (2015).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR77\" id=\"ref-link-section-d58166892e1847\" rel=\"nofollow noopener\" target=\"_blank\">77<\/a>. For the analysis, the motion-confusion metrics (forwards confusion, sideways confusion and forwards energy) were considered as dependent variables in separate models, with wing pattern type (natural, averaged, black and white) as a factorial predictor variable. The ID number for each unique flight and the species were used as random effects. To compare differences between the factor levels, we used emmeans Tukey post hoc comparison tests<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 78\" title=\"Lenth, R. &amp; Lenth, M. R. Package &#x2018;lsmeans&#x2019;. Am. Stat. 34, 216&#x2013;221 (2018).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR78\" id=\"ref-link-section-d58166892e1851\" rel=\"nofollow noopener\" target=\"_blank\">78<\/a>.<\/p>\n<p>Given the vast array of wing features measured, we opted for a random forest model to evaluate the predictive value for each of the measures for each of our motion-confusion measures<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 33\" title=\"Cutler, A., Cutler, D. R. &amp; Stevens, J. R. in Ensemble Machine Learning: Methods and Applications (eds Zhang, C. &amp; Ma, Y.) 157&#x2013;175 (Springer, 2012).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR33\" id=\"ref-link-section-d58166892e1858\" rel=\"nofollow noopener\" target=\"_blank\">33<\/a>. Random forest provides a non-parametric ensemble learning method, using multiple constructed decision trees trained with random subsets of the data and the predictors. Predictions are then aggregated across the trees helping to prevent overfitting. For each of our metrics, random forest models were trained with 1,500 trees with 4 predictors per split. To evaluate model performance, we used R2 to estimate the proportion of explained variance.<\/p>\n<p>Recursive feature elimination was used to improve model interpretability by reducing redundant predictors. Predictors were systematically ranked based on their weight and model performance was evaluated for subsets from one to the total number of variables. R2 values of the complete model and the reduced models were compared to ensure that the predictive accuracy was retained. To evaluate which features of the reduced model were the most important, we used Shapley additive explanations (SHAP) as a measure of feature importance<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 79\" title=\"Lundberg, S. M. &amp; Lee, S.-I. A unified approach to interpreting model predictions. Adv. Neural Inf. Process. Syst. 30, 4768&#x2013;3777 (2017).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR79\" id=\"ref-link-section-d58166892e1873\" rel=\"nofollow noopener\" target=\"_blank\">79<\/a>. Greater absolute SHAP indicates a greater importance, with positive and negative values corresponding with a positive or negative correlation, respectively.<\/p>\n<p>Random forest models were performed using \u2018randomForest\u2019 and \u2018caret\u2019 packages<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 33\" title=\"Cutler, A., Cutler, D. R. &amp; Stevens, J. R. in Ensemble Machine Learning: Methods and Applications (eds Zhang, C. &amp; Ma, Y.) 157&#x2013;175 (Springer, 2012).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR33\" id=\"ref-link-section-d58166892e1881\" rel=\"nofollow noopener\" target=\"_blank\">33<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 80\" title=\"Kuhn, M. Building predictive models in R using the caret package. J. Stat. Softw. 28, 1&#x2013;26 (2008)\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR80\" id=\"ref-link-section-d58166892e1884\" rel=\"nofollow noopener\" target=\"_blank\">80<\/a>. As many of the wing features are potentially linked to phylogeny, we incorporated the complete European butterfly phylogeny of Wiemers et al. into the model<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 72\" title=\"Wiemers, M., Chazot, N., Wheat, C. W., Schweiger, O. &amp; Wahlberg, N. A complete time-calibrated multi-gene phylogeny of the European butterflies. ZooKeys 938, 97&#x2013;124 (2020).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR72\" id=\"ref-link-section-d58166892e1888\" rel=\"nofollow noopener\" target=\"_blank\">72<\/a>. Cophenetic distances were extracted from the phylogeny and converted into three phylogenetic principal components with principal coordinate analysis using the \u2018phytools\u2019 package<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 81\" title=\"Revell, L. J. phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ 12, e16505 (2024).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR81\" id=\"ref-link-section-d58166892e1892\" rel=\"nofollow noopener\" target=\"_blank\">81<\/a>. Similar to how principal component analysis can reduce multiple numeric variables into singular components, principal coordinate analysis allows an individual\u2019s position within the phylogeny to be redefined as a set of multidimensional coordinates. Our three phylogenetic components were included alongside the wing parameters as predictor variables within our model. Circular coordinates for the butterfly phylogeny were extracted with the \u2018ape\u2019 package<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 82\" title=\"Paradis, E. et al. Package &#x2018;ape&#x2019;. Anal. Phylogenetics Evol. Version 2, 47 (2019).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR82\" id=\"ref-link-section-d58166892e1896\" rel=\"nofollow noopener\" target=\"_blank\">82<\/a>.<\/p>\n<p>For the in silico butterflies, LMMs were used to validate whether butterflies significantly improved in fitness between the first and last generation for each of our selection variables (forwards confusion, sideways confusion and forwards energy) for our evolution treatments. Random forest models were again generated for the motion-confusion metrics using our reduced set of spatially filtered wing pattern variables. These models were created using the measured phenotypes from the first and last generation of the entirety of our in silico-generated dataset, rather than for butterflies under one selection pressure, using the initial randomly generated butterflies to provide a wider range of variation. Lastly, to determine whether or not butterflies under a particular selection pressure evolved to be more or less like the 757 natural butterfly morphotypes scanned from Collins, we generated principal components for the same wing pattern metrics used for our real butterflies, barring measures of colour as the artificial butterflies were rendered only in the luminance channel, (PC1 and PC2) and used pairwise comparison to calculate the Euclidean difference of principal components between every butterfly, both real and in silico, from every natural butterfly.<\/p>\n<p>Instances where real butterflies of the same morphotype were compared were removed as their distance would equal 0. Butterflies were divided into 6 groups: natural, forwards-confusion selected (gen\u2009=\u200920, top 1 per population), sideways-confusion selected (gen\u2009=\u200920, top 1 per population), forwards-energy selected (gen\u2009=\u200920, top 1 per population), random selection (gen\u2009=\u200920, top 1 per population) and unevolved (gen\u2009=\u20090, all individuals). We then used a linear model to test which group generated the lowest difference from real butterflies and whether the pairwise distance levels were significantly different from one another with Tukey post hoc comparisons. We hypothesized that the difference should be lower for those selected for motion confusion than for those that were randomly generated at the start.<\/p>\n<p>To test whether or not our motion-confusion measures influenced how the butterflies were clicked relative to the butterflies for our behavioural validation, we used an LMM, with the vector distance as the response variable and the axis (x or y) and the predicted motion-confusion measures, forwards confusion, sideways confusion and the forwards energy, of the butterfly as the predictor variables, with the player ID, the trial order and the path ID as random effects, in addition to frame rate as during some trials frame rate dropped to about 220\u2009Hz. For the model, we included interactions between the axis and each confusion measure. Our expectations were that forwards confusion should influence the click distance parallel to the butterfly (y) and that sideways confusion should influence the click distance perpendicular (x).<\/p>\n<p>In addition to the linear model, we used two-dimensional kernel density estimation with the Mass package for our vectors to determine how the butterfly phenotypes influenced the shape of the distribution of clicks<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 68\" title=\"Mitchell, M. An Introduction to Genetic Algorithms (MIT Press, 1996).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR68\" id=\"ref-link-section-d58166892e1924\" rel=\"nofollow noopener\" target=\"_blank\">68<\/a>. We extracted the grid for the top-25% densest regions of clicks for each butterfly and used ellipse statistics (centroid coordinates, angle, aspect ratio, major and minor width) to describe the shape of where players tended to click. We also used a binomial generalized LMM with the same random effects as the linear model to test whether our EMD measures influenced the likelihood of clicking forewing or hindwing. Clicks to the body and misses were excluded from this analysis.<\/p>\n<p>For each model, continuous predictor and response variables were re-scaled to a mean of 0 and a standard deviation of 1.<\/p>\n<p>Ethics statement<\/p>\n<p>Use of butterflies for flight recordings was approved by the University of Exeter ethics committee (application number eCORN000385). For the behavioural validation game, volunteers were recruited via email and by signs, with ethical approval from the University of Exeter ethics committee (REF: 9474868) and in line with the Declaration of Helsinki. No identifying data were collected as part of the experiment. All volunteers were required to read through the information sheet and sign a copy of the participant consent form. Copies of these forms are available within our data repository<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 75\" title=\"Hancock, G. R. A., Briolat, E., Hughes, A., Kelley, L. A. &amp; Trosicanko, J. Butterfly wing patterns in flight create powerful illusory motion cues&#x2014;Supplementary Data. figshare &#010;                https:\/\/doi.org\/10.6084\/m9.figshare.31626616&#010;                &#010;               (2026).\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#ref-CR75\" id=\"ref-link-section-d58166892e1939\" rel=\"nofollow noopener\" target=\"_blank\">75<\/a>.<\/p>\n<p>Reporting summary<\/p>\n<p>Further information on research design is available in the\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"supplementary material anchor\" href=\"http:\/\/www.nature.com\/articles\/s41586-026-11062-w#MOESM2\" rel=\"nofollow noopener\" target=\"_blank\">Nature Portfolio Reporting Summary<\/a> linked to this article.<\/p>\n","protected":false},"excerpt":{"rendered":"Temporally fluid motion measures To quantify the influence of butterfly wings and their patterns on motion detection, we&hellip;\n","protected":false},"author":2,"featured_media":866702,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[40190,82576,1159,1160,79],"class_list":["post-866701","post","type-post","status-publish","format-standard","has-post-thumbnail","category-science","tag-behavioural-ecology","tag-evolutionary-ecology","tag-humanities-and-social-sciences","tag-multidisciplinary","tag-science"],"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/posts\/866701","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/comments?post=866701"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/posts\/866701\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/media\/866702"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/media?parent=866701"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/categories?post=866701"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/tags?post=866701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}