Identifying the kinematic and behavioral variables of prey that influence evasion from predator attacks remains challenging. To address this challenge, we have developed an automated escape system that responds quickly to an approaching predator and pulls the prey away from the predator rapidly, similar to real prey. Reaction distance, response latency, escape speed and other variables can be adjusted in the system. By repeatedly measuring the response latency and escape speed of the system, we demonstrated the system's ability to exhibit fast and rapid responses while maintaining consistency across successive trials. Using the live predatory fish species Coreoperca kawamebari, we show that escape speed and reaction distance significantly affect the outcome of predator–prey interactions. These findings indicate that the developed escape system is useful for identifying kinematic and behavioral features of prey that are critical for predator evasion, as well as for measuring the performance of predators.

Predation is a strong selective force that shapes various forms of defensive tactics of prey (Davies et al., 2012; Endler, 1991). One of the most common tactics when encountering a predator is the use of escape responses that produce rapid acceleration away from it (Cooper and Blumstein, 2015; Domenici and Hale, 2019). Numerous studies have explored the environmental and internal factors that influence the behavioral and kinematic variables associated with the escape response, such as reaction distance, escape trajectory, response latency and speed (Bateman and Fleming, 2014; Cooper et al., 2003; Kawabata et al., 2023; Meager et al., 2006; Stewart et al., 2014). These studies assume that these variables determine the success or failure of predator evasion. However, direct evidence linking these variables to evasion outcomes is limited (Dangles et al., 2006; Kimura and Kawabata, 2018; Stewart et al., 2013; Walker et al., 2005), especially when prey species show little variation in the variable being investigated. Understanding the relationship between these variables and successful predator evasion is crucial not only for comprehending the determinants of successful predator evasion but also for shedding light on the evolution of specific traits and the dynamics of predator–prey relationships on a larger scale.

One promising approach to linking the prey's behavioral and kinematic variables with the outcome of predator–prey interactions is the use of a simulated prey system, which allows the manipulation of the prey's kinematic and behavioral features, exposing them to real predators. For instance, Shifferman and Eilam (2004) and Ilany and Eilam (2008) manipulated the escape direction and flight initiation distance of prey items (i.e. dead mouse or chick) by attaching a string to the prey and manually pulling it from a distance, subjecting them to barn owl Tyto alba attacks. Szopa-Comley and Ioannou (2022) developed a robotic prey system and manipulated the repeated escape trajectories against predatory fish, either fixed to a specific direction or randomized within a 270 deg range (45–315 deg away from the predator). However, the response latency and speed of simulated prey in these studies are not comparable to real prey, making it difficult to establish a direct link between many of the prey's variables and survival. Creating a system that moves comparably to real prey animals remains challenging, especially for invertebrate and lower vertebrate species that respond quickly to predators (e.g. in less than 100 ms) and escape rapidly (e.g. exceeding 1.0 m s−1) (Bullock, 1984).

Here, we have developed an automated escape system comparable to real prey species. The system can respond to a predator in less than 100 ms and achieve speeds exceeding 1.0 m s−1 during escape. It automatically detects an approaching predator and pulls the prey away from the predator once the predator reaches a predetermined threshold distance. The system is relatively low cost (approximately 2000 US dollars), customizable, and versatile for various applications, including measurement of predator performance and eliciting escape responses in prey. This paper provides a detailed description of (1) the technical aspects of the developed system, (2) a performance test conducted to evaluate the system's ability to exhibit fast and rapid responses while maintaining consistency across successive trials, and (3) a case study investigating the effects of escape speed and reaction distance on the success or failure of evading live predatory fish.

Ethics statement

The animal care and experimental procedures were approved by the Animal Care and Use Committee of the Faculty of Fisheries (Permit No. NF-0058), Nagasaki University, in accordance with the Guidelines for Animal Experimentation of the Faculty of Fisheries and the Regulations of the Animal Care and Use Committee, Nagasaki University.

Automated escape system

The system comprised a USB camera (DMK33UX287, The Imaging Source Co., Ltd., Bremen, Germany), a laptop (DAIV 5N 20075N-CML, Mouse Computer Co., Ltd, Tokyo, Japan; CPU: Intel® Core™ i7-10875H at 2.30 GHz), a microcontroller board (UNO R3, Elegoo Inc., Shenzhen, China) with a motor driver shield (SU-1201, EK Japan Co., Ltd, Fukuoka, Japan), a DC motor (RE-260RA, Mabuchi motor Co., Ltd, Chiba, Japan) with a pulley (radius 25 mm), and a weight connected to the pulley by a string (Fig. 1). The experimental arena was surrounded by double circular plastic walls (outer radius 248 mm, height 160 mm; inner radius183 mm, height 130 mm) (Fig. 1; Fig. S1). These walls were attached using three sets of two (outer and inner) PVC pipes (outer PVC pipes: inner radius 15 mm, height 35 mm; inner PVC pipes: inner radius 8 mm, height 70 mm) (Fig. 1; Fig. S1). The inner PVC pipe was attached to the inner plastic wall and the outer PVC pipe, and the outer PVC pipe was attached to the inner PVC pipe and the outer plastic wall (Fig. 1; Fig. S1). The inner wall and PVC pipes were positioned 15 mm above the bottom of the tank to allow the weight to pass through (Fig. 1; Fig. S1). The end of the string, running through the outer PVC pipe and the hole in the outer wall, was connected to the motor with the pulley outside the outer wall (Fig. 1; Fig. S1), creating an open line setup. Pulleys (radius 5 mm) were attached to the lower ends of the outer PVC pipes to reduce friction when moving the string. The string consisted of a polyethylene line (length 2.2 m) and a transparent carbon nylon line (length 1.0 m). We used two different lines because a carbon nylon line is transparent but is easily twisted, whereas a polyethylene line is the opposite. We attached a weight at the other end of the string as well as the prey to prevent the prey from moving. We used a fishing barrel swivel (0.17 g) as the weight to prevent it from rolling as a result of a twisted string. The escape direction of prey could be adjusted by using a different PVC pipe to pass through a string toward the motor.

Fig. 1.

The automated escape system. (A) Schematic drawing of the system. (B,C) Diagram of the top view of real-time video images with the search and reaction circles overlaid. When a predator is within the search circle (yellow), its uppermost point (filled green circle) is automatically tracked in real time (B). When the predator's uppermost point is detected in the reaction circle (blue), the weight (with prey) attached to the string starts moving (C). See Movie 1 for an example.

Fig. 1.

The automated escape system. (A) Schematic drawing of the system. (B,C) Diagram of the top view of real-time video images with the search and reaction circles overlaid. When a predator is within the search circle (yellow), its uppermost point (filled green circle) is automatically tracked in real time (B). When the predator's uppermost point is detected in the reaction circle (blue), the weight (with prey) attached to the string starts moving (C). See Movie 1 for an example.

The step-by-step process of programs for detecting an approaching predator and triggering the escape movement of the prey is shown in Fig. S2 (see Movie 1 for an example of how the system works). The USB camera was installed above the experimental arena to monitor the real-time movement of the predator and display the image on the laptop. Two circles – the search circle (outer circle) and reaction circle (inner circle) – were generated using a program superimposed onto the image (Fig. 1B,C). Inside the search circle, the uppermost point of the predator was detected and tracked (Fig. 1B,C). When the uppermost point of the predator was detected within the reaction circle, the laptop computer sent a signal to the microcontroller board. The custom program for the predator monitoring system was written in Python (v.3.7.7) with the OpenCV library (Opencv-contrib v.3.4.10.37). The USB camera recorded images in monochrome, but the output image format was RGB. Therefore, the program converted the images to a monochrome format. Subsequently, these monochrome images were converted to binary images using a threshold of 65. This process transformed the predator into a black object in the image, enabling the computer to detect the predator's contour. Before detecting the predator's contour, the program manually cropped the binary image using a search circle to exclude objects outside the search circle, such as the plastic wall and the tank equipment, which were also converted to black objects. Finally, the program detected the contour of the black object (representing the predator), converted it into a blob, and tracked the blob's uppermost point. This mechanism allows the detection of predators with non-uniform colors or complex shapes. The position and the radii of search and reaction circles could be adjusted in the Python program. The temporal resolution (i.e. frame rate) of the USB camera was limited by the program and exhibited fluctuations with a mean±s.d. of 238±39 frames s−1. The custom Python program is available from GitHub (https://github.com/YuukiKawabata-Lab/PreyEscapeSystem).

The movement of the prey was controlled by the motor and microcontroller board with a custom program written in Arduino IDE (v.1.8.19) through a connection with the string between the weight (the prey) and the pulley. When the microcontroller board received the predator detection signal from the laptop computer, it sent movement commands to the motor, which rolled up the string and dragged the weight (with prey) (Fig. 1). The Arduino program provided the flexibility to adjust the timing (latency) and duration of the motor's rotation with millisecond resolution. The rotation speed of the motor could be regulated by Pulse Width Modulation (PWM) signal values ranging from 0 (minimum) to 255 (maximum). The custom Arduino program is available from GitHub (https://github.com/YuukiKawabata-Lab/PreyEscapeSystem).

Performance test

To evaluate the performance and consistency of the developed system, we conducted 30 trials and analyzed the response latency and moving speed of the weight. The system was placed inside a rectangular acrylic tank (width 60 cm, height 60 cm, length 150 cm). Throughout the experiment, the water depth in the tank was maintained at 100 mm. The radii of the search and reaction circles were set to 153 mm and 40 mm, respectively, with the weight positioned at the center of these circles. Three different speeds (high, middle and low) were utilized in the motor control program, corresponding to PWM signal values of 245 (high), 40 (middle) and 11 (low). We conducted 10 trials at each programmed speed. In every trial, the motor rotation was programmed to displace the weight approximately 232 mm from its starting position towards the PVC pipe on the right side. The displacement of 232 mm was achieved by varying the running duration of the motor via trial and error for each speed. Delay time was not included in the program as our objective was to estimate the baseline response latency of the system. The system was activated by manually moving a dummy predator into the inner circle. The movements of the weight were recorded from above using a high-speed video camera (RX10IV, Sony Corp., Tokyo, Japan) with a frame rate of 480 frames s−1.

The recorded videos were analyzed using Kinovea v.0.8.27 (www.kinovea.org). The response latency was determined as the duration between the entry of the dummy predator into the reaction circle and the initiation of weight movement. To determine the moving speed, the coordinates of the weight were digitized semi-automatically using Kinovea in each frame from its starting position to the inner plastic wall. Subsequently, we calculated the time-series speed of the weight from its positional data using the Lancoz smoothing method with custom R code.

Case study using live predator

To demonstrate the utility of the system, we exposed the controlled prey to a live individual predatory fish Coreoperca kawamebari Temminck & Schlegel 1843 (total length: 69.2 mm). We manipulated the escape speed (i.e. mean speed from the starting position to the inner plastic wall; Fig. 1) and reaction distance (i.e. radius of the reaction circle; Fig. 1) to investigate whether these variables influence the predation probability. This experiment was conducted using the same tank and system as in the performance test. The fish had been kept in a compartment (width 20 cm, height 25 cm, length 20 cm) made with transparent PVC punching plates. Live shrimp Neocaridina denticulata (De Haan 1844) (mean±s.d. total length 14.4±1.4 mm) attached to the weight with adhesive (Aron Alpha A Sankyo®, Daiichi-Sankyo Co., Ltd, Tokyo, Japan) was used as prey. Live prey was chosen because the preliminary experiment showed that the predator did not chase or strike towards dead prey or artificial pellets. The prey's heads were positioned to face the entrance of the experimental arena. At the start of each trial, the compartment was positioned in front of the arena entrance, laid horizontally to allow the fish to enter the arena. As in the performance test, the radius of the search circle was set to 153 mm, and the system was programmed to move the weight 232 mm from its starting position towards the PVC pipe on the right side. A total of 33 trials were conducted, with the prey being randomly assigned seven different speeds (voltage values of 10–16, corresponding to mean speeds of 0.25–0.40 m s−1) and eight different reaction distances (16–58 mm) to elicit the predator's movement. Because the actual escape speed cannot be measured when the predator successfully captures the prey (capture success: 19 trials, escape success: 14 trials), we measured the speed of the actual movements 5 times for each programmed speed before the trial (without the predator), and its mean value was used for the analysis. The water depth was kept at 100 mm and temperature was maintained at a mean±s.d. of 22.9±0.2°C throughout the experiment. We chose this temperature because it is close to the highest suitable temperature for this species (range 10–23°C) (Froese and Pauly, 2010).

In three cases, the predator touched the prey, but the predator finally failed to capture the prey. Because this study focused on kinematic and behavioral variables rather than the other variables (e.g. size, spines), these cases were regarded as successful capture.

To investigate the potential effects of sound and vibration generated by the motor on predator behavior, we used the same system without any bait attached, and the predator did not respond to the movement of the weight and string. This result suggests that the effects of sound and vibration are negligible.

Statistical analysis

In the performance test, the effect of three different programmed speeds on response latency was examined using one-way analysis of variance (ANOVA). In order to assess the consistency of the measurements, we calculated the coefficients of variation (CV) for the response latency, as well as the mean and maximum speed corresponding to each programmed speed. Consistency of the parameters were classified based on a previous study (Aronhime et al., 2014), defining excellent when CV was <10%, good when CV was 10–20%, acceptable when CV was 20–30%, and poor when CV was >30%.

In the case study, the effects of prey escape speed and reaction distance on predation probability were evaluated using a logistic regression analysis. Success and failure of predation were designated as 1 and 0, respectively, and used as the objective variable. Escape speed and reaction distance were considered as the explanatory variables. The significance of the variables was assessed by removing them from the model, and comparing the change in deviance using the likelihood ratio test with a χ2 distribution. All analyses were carried out using R (v.4.0.5).

Performance test

There was no significant difference in the response latency among the three programmed speeds (Table S1; ANOVA, F2,27=0.82, P=0.450). The mean (±s.d.) response latency was 72.0±7.4 ms, which is comparable to the response latencies of visually evoked escape responses in different fish species (Batty, 1989; Cade et al., 2020; Dunn et al., 2016; Paglianti and Domenici, 2006) (Table S1; Fig. 2). With a CV of the response latency of 10.2%, the consistency of the response latency in this system is considered good (almost excellent).

Fig. 2.

Results of the performance test. (A–E) The response latency of the developed system and those of the visually evoked escape responses in different fish species. The black filled circle and vertical line represent the median and range of the values, respectively. Please note that there are no value ranges in D and E; there is only one estimated point reported in these studies. (A) Response latency of the developed system (n=30). The width of the red filled area (violin plot) represents the kernel probability density. (B) Response latency of larval herring Clupea harengus to a flush light under dark and light conditions. Data were obtained from fig. 4 of Batty (1989). (C) Response latency of anchovy Engraulis mordax to a flush light. Data were obtained from Cade et al. (2020). (D) Response latency of staghorn sculpin Leptocottus armatus, estimated from the fish's last response after the end of the expansion of the looming stimulus (Paglianti and Domenici, 2006). (E) Response latency of larval zebrafish Danio rerio, estimated from the escape responses to looming stimuli with different expansion speeds (Dunn et al., 2016). (F) Time-series moving speeds of the weight (prey) in the developed escape system. Three different speeds (high, middle and low, corresponding to PWM signal values of 245, 40 and 11, respectively) were utilized in the motor control program, and 10 trials were conducted at each programmed speed. The thin gray lines represent the moving speed of each trial, while the thick colored lines represent the smoothed curve of each programmed speed, estimated by the generalized additive mixed model.

Fig. 2.

Results of the performance test. (A–E) The response latency of the developed system and those of the visually evoked escape responses in different fish species. The black filled circle and vertical line represent the median and range of the values, respectively. Please note that there are no value ranges in D and E; there is only one estimated point reported in these studies. (A) Response latency of the developed system (n=30). The width of the red filled area (violin plot) represents the kernel probability density. (B) Response latency of larval herring Clupea harengus to a flush light under dark and light conditions. Data were obtained from fig. 4 of Batty (1989). (C) Response latency of anchovy Engraulis mordax to a flush light. Data were obtained from Cade et al. (2020). (D) Response latency of staghorn sculpin Leptocottus armatus, estimated from the fish's last response after the end of the expansion of the looming stimulus (Paglianti and Domenici, 2006). (E) Response latency of larval zebrafish Danio rerio, estimated from the escape responses to looming stimuli with different expansion speeds (Dunn et al., 2016). (F) Time-series moving speeds of the weight (prey) in the developed escape system. Three different speeds (high, middle and low, corresponding to PWM signal values of 245, 40 and 11, respectively) were utilized in the motor control program, and 10 trials were conducted at each programmed speed. The thin gray lines represent the moving speed of each trial, while the thick colored lines represent the smoothed curve of each programmed speed, estimated by the generalized additive mixed model.

Time-series moving speeds of the weight (prey) for three different programmed speeds are shown in Fig. 2F. The variations among trials were apparently small, and the CVs of the mean and maximum speeds for all three programmed speeds were less than 10% (Table S1). This suggests that the consistency of the moving speeds of the system is excellent. When the speed was set to low, the weight rapidly accelerated to about 0.3 m s−1 in around 5 ms and maintained that speed. When the speed was set to middle or high, the weight reached the inner wall before its moving speed stabilized. For the middle speed set, the weight rapidly accelerated to approximately 0.7 m s−1 in around 25 ms, followed by gradual acceleration with oscillations. For the high speed set, the weight rapidly accelerated to approximately 1.8 m s−1 in about 15 ms, and then gradually accelerated to about 2.5 m s−1 by the 40 ms mark. The speed then decelerated to 1.5 m s−1 and eventually reached the inner plastic wall.

The oscillations observed at middle and high speed can be attributed to the extension and contraction of the string. According to the principles of classical mechanics, a force exceeding the static friction force is required to initiate weight movement. Therefore, the string attached to the weight would have been slightly extended before the onset of weight movement, which caused rapid acceleration after the onset of movement. The rapid acceleration would then contract the string, resulting in deceleration of the weight movement. This process is likely to have produced the oscillations in the speed of prey movement. Using an inextensible string and/or a weight made with a material that has less friction could help alleviate the oscillations in prey speed over time. Nonetheless, it is worth noting that these kinds of oscillation pattern are often observed in actual animal movements (Alexander, 2003; Voesenek et al., 2019).

Case study using a live predator

The system successfully detected the predator and moved the prey accordingly in every trial. Faster escape speeds and longer reaction distances significantly reduced the predation probability (Fig. 3; likelihood ratio test, escape speed: χ21=17.39, P<0.001; reaction distance: χ21=5.70, P=0.017). The predation probability (P) can be calculated using the following equation:
(1)
Fig. 3.

Effects of escape speed and reaction distance of prey on the outcome of predator–prey interactions. Prey were manipulated by the escape system developed here. The dotted line represents the 50% predation probability estimated from the logistic regression analysis (19.87−0.45×Escape Speed−1.12×Reaction Distance=0), with the area below and above the line indicating predicted capture and escape, respectively. Out of the 33 data points analyzed, 29 (87.9%) were correctly categorized by the estimated line.

Fig. 3.

Effects of escape speed and reaction distance of prey on the outcome of predator–prey interactions. Prey were manipulated by the escape system developed here. The dotted line represents the 50% predation probability estimated from the logistic regression analysis (19.87−0.45×Escape Speed−1.12×Reaction Distance=0), with the area below and above the line indicating predicted capture and escape, respectively. Out of the 33 data points analyzed, 29 (87.9%) were correctly categorized by the estimated line.

The odds ratio, based on 1 s.d., was 0.64 for escape speed and 0.33 for reaction distance. These findings are consistent with previous studies that used live prey and predators (Kimura and Kawabata, 2018; Langerhans, 2009; Stewart et al., 2013; Walker et al., 2005).

General discussion

Previous studies have used different simulated prey systems that manipulate the kinematic and/or behavioral variables of prey to study their interactions with live predators. The simplest method involves attaching a string to the prey and manually pulling it from a distance (Ilany and Eilam, 2008; Shifferman and Eilam, 2004). While this method is easy to implement, it is limited by the response latency of human visual processing, which is approximately 175–202 ms (Solanki et al., 2012). Additionally, the escape speed of the prey is influenced by human performance, which can lead to inconsistencies across successive trials. A virtual prey system, in which prey objects are projected onto one side of an experimental tank, has been used to examine the schooling parameters of prey by manipulating their movement trajectories (Duffield and Ioannou, 2017; Ioannou et al., 2012, 2019). However, live predators are generally attracted to the movement of virtual prey, and virtual prey are not programmed to respond to approaching predators. Therefore, this method is not suitable for situations where the prey remains stationary at first and rapidly initiates escape motion. Additionally, because predators are not rewarded for successful attacks on virtual prey, this system cannot address questions that require successive trials for individual predators to learn (e.g. random versus specific escape trajectories). A recently developed robotic prey system (Swain et al., 2012; Szopa-Comley and Ioannou, 2022), which responds to approaching predators by turning and escaping, can be successfully used to answer such questions. However, it has a longer response latency (approximately 700 ms), probably because of its complex system. In addition, the robotic system should be slower than our system as a result of the robotic prey's heavier mass. Consequently, it may be challenging for the robotic prey system to respond quickly and escape rapidly to evade actual predators, making it difficult to directly link the prey's variables to successful predator evasion. In the study by Szopa-Comley and Ioannou (2022), indirect metrics (i.e. time required for the predator to capture the prey) was used to examine the benefit of random escape directions over specific directions. In contrast, our system can control the prey's escape speed over a relatively wide range, including speeds that enable prey to evade actual predator attacks. Additionally, the prey reacts to approaching predators as quickly as real prey species (i.e. <100 ms). Therefore, our system is more suitable for research questions that need to elicit a predator's maximum performance, such as the establishment of a direct link between prey variables and the outcome of predator–prey interactions. While our current system is not designed for multiple individuals, the number of prey and escape direction choices can be easily increased by using multiple strings and motors, enabling simulation of grouped prey escaping in various directions.

One potential drawback of the developed system is that the prey's escape direction may be predictable to predators because of the presence of the string. This becomes especially problematic when the research question involves examining escape directions across successive trials (e.g. random versus specific escape directions) and predators can perceive or sense the string. To address this issue, one possible solution is to incorporate a magnet system similar to the one used in the robotic prey system (Swain et al., 2012; Szopa-Comley and Ioannou, 2022). In this setup, one magnet connected to a motor is positioned underneath the floor of the experimental arena, while another magnet is attached to the prey on the floor. However, it is important to note that using magnets may increase friction, resulting in slower prey movement and larger oscillation amplitudes in speed. Additionally, working with magnets could interfere with the magnetic detection fields of some fish and would not allow lure-type prey to float and move freely, as a result of this magnetic attraction. Another potential solution is to use multiple strings placed underneath the weight, which could prevent predators from predicting the escape direction. Considering the above, the solution will depend on the biology and characteristics of the subject of study. Further research is necessary to investigate whether predators can perceive transparent strings and to evaluate the effectiveness of modified systems, such as those utilizing magnets or multiple strings.

Our system has potential to be applied for a range of objectives. First, the response latency of our system is adjustable via the Arduino program, and the escape trajectory can be altered by adding more PVC pipes and threading the string through them. This allows investigation of how variation in these parameters affects the outcome of predator–prey interactions. Second, as implied by the case study, our system is useful for measuring behavioral traits of predators such as reaction time, approach speed, interception strategy, learning and plasticity. The third potential application is the elicitation of escape responses in prey species. Many studies have employed artificial stimuli, such as dummy predators, air-puffs or dropping balls, to trigger escape responses in prey (Camhi and Tom, 1978; Kawabata et al., 2023; Marras and Domenici, 2013; Meager et al., 2006). In these studies, observers typically wait for the prey to approach a specific location or force the prey to stay at that location before triggering the artificial stimulus. Our system can be modified to efficiently collect data in such cases by placing the reaction circle in front of the artificial stimulus and connecting the microcontroller board to the device that generates the artificial stimulus. These examples demonstrate the versatility of our device, which can be utilized for investigating various questions in animal behavior.

In this study, we have introduced a novel prey escape system that demonstrates fast and rapid responses to predators while maintaining consistency across successive trials. Our system allows manipulation of various kinematic and behavioral variables of prey, enabling us to establish a direct link between these variables and successful predator evasion. Given the design and functionality of our system, it would also be applicable to studies involving terrestrial predators. In conclusion, our prey escape system holds great potential for advancing knowledge of predator–prey interactions in various ecological contexts.

We sincerely thank the staff and the students in the Kawabata Laboratory for their daily support in our research activities. We appreciate the valuable comments from two anonymous reviewers, which significantly improved the manuscript.

Author contributions

Conceptualization: Y.K.; Methodology: N.S., H.K., M.H., K.M., H.W., Y.K.; Software: H.K., H.I., K.H.; Validation: N.S., Y.S., S.T.; Formal analysis: N.S., Y.K.; Investigation: N.S., S.T., Y.K.; Resources: N.S., S.T.; Data curation: N.S., H.K., Y.S., Y.K.; Writing - original draft: N.S., Y.K.; Writing - review & editing: H.K., Y.K.; Visualization: N.S., H.K., Y.K.; Supervision: Y.K.; Project administration: Y.K.; Funding acquisition: Y.K.

Funding

This study was funded by Grants-in-Aid for Scientific Research, Japan Society for the Promotion of Science, to Y.K. (19H04936 and 21H02269).

Data availability

All relevant data can be found within the article and its supplementary information. The Python and Arduino programming codes are available from GitHub: https://github.com/YuukiKawabata-Lab/PreyEscapeSystem

Alexander
,
R. M.
(
2003
).
Principles of Animal Locomotion
.
Princeton University Press
.
Aronhime
,
S.
,
Calcagno
,
C.
,
Jajamovich
,
G. H.
,
Dyvorne
,
H. A.
,
Robson
,
P.
,
Dieterich
,
D.
,
Fiel
,
M. I.
,
Martel-Laferriere
,
V.
,
Chatterji
,
M.
,
Rusinek
,
H.
et al. 
(
2014
).
DCE-MRI of the liver: effect of linear and nonlinear conversions on hepatic perfusion quantification and reproducibility
.
J. Magn. Reson. Imaging
40
,
90
-
98
.
Bateman
,
P. W.
and
Fleming
,
P. A.
(
2014
).
Switching to plan B: changes in the escape tactics of two grasshopper species (Acrididae: Orthoptera) in response to repeated predatory approaches
.
Behav. Ecol. Sociobiol.
68
,
457
-
465
.
Batty
,
R. S.
(
1989
).
Escape responses of herring larvae to visual stimuli
.
J. Mar. Biol. Assoc. U.K.
69
,
647
-
654
.
Bullock
,
T. H.
(
1984
).
Comparative neuroethology of startle, rapid escape, and giant fiber-mediated responses
. In
Neural mechanisms of startle behavior
(ed.
R. C.
Eaton
), pp.
1
-
13
.
Boston, MA
:
Springer
.
Cade
,
D. E.
,
Carey
,
N.
,
Domenici
,
P.
,
Potvin
,
J.
and
Goldbogen
,
J. A.
(
2020
).
Predator-informed looming stimulus experiments reveal how large filter feeding whales capture highly maneuverable forage fish
.
Proc. Natl. Acad. Sci. USA
117
,
472
-
478
.
Camhi
,
J. M.
and
Tom
,
W.
(
1978
).
The escape behavior of the cockroach Periplaneta americana - I. Turning response to wind puffs
.
J. Comp. Physiol. A Sens. Neural Behav. Physiol.
128
,
193
-
201
.
Cooper
,
W. E.
and
Blumstein
,
D. T.
(
2015
).
Escaping From Predators
.
Cambridge, UK
:
Cambridge University Press
.
Cooper
,
W. E.
,
Pérez-Mellado
,
V.
,
Baird
,
T.
,
Baird
,
T. A.
,
Caldwell
,
J. P.
and
Vitt
,
L. J.
(
2003
).
Effects of risk, cost, and their interaction on optimal escape by nonrefuging Bonaire whiptail lizards, Cnemidophorus murinus
.
Behav. Ecol.
14
,
288
-
293
.
Dangles
,
O.
,
Ory
,
N.
,
Steinmann
,
T.
,
Christides
,
J. P.
and
Casas
,
J.
(
2006
).
Spider's attack versus cricket's escape: velocity modes determine success
.
Anim. Behav.
72
,
603
-
610
.
Davies
,
N. B.
,
Krebs
,
J. R.
and
West
,
S. A.
(
2012
).
An Introduction to Behavioural Ecology
.
Oxford
,
UK
:
Wiley-Blackwell
.
Domenici
,
P.
and
Hale
,
M. E.
(
2019
).
Escape responses of fish: a review of the diversity in motor control, kinematics and behaviour
.
J. Exp. Biol.
222
,
jeb166009
.
Duffield
,
C.
and
Ioannou
,
C. C.
(
2017
).
Marginal predation: do encounter or confusion effects explain the targeting of prey group edges?
Behav. Ecol.
28
,
1283
-
1292
.
Dunn
,
T. W.
,
Gebhardt
,
C.
,
Naumann
,
E. A.
,
Riegler
,
C.
,
Ahrens
,
M. B.
,
Engert
,
F.
and
Del Bene
,
F.
(
2016
).
Neural circuits underlying visually evoked escapes in larval zebrafish
.
Neuron
89
,
613
-
628
.
Endler
,
J. A.
(
1991
).
Interactions between predators and prey
. In
Behavioural Ecology: An Evolutionary Approach
(ed.
J. R.
Krebs
and
D. N.
B
), pp.
169
-
196
.
Oxford, UK
:
Blackwell Scientific Publications
.
Froese
,
R.
and
Pauly
,
D.
(
2010
).
FishBase: Fisheries Centre
.
Vancouver, BC
,
Canada
:
University of British Columbia
.
Ilany
,
A.
and
Eilam
,
D.
(
2008
).
Wait before running for your life: defensive tactics of spiny mice (Acomys cahirinus) in evading barn owl (Tyto alba) attack
.
Behav. Ecol. Sociobiol.
62
,
923
-
933
.
Ioannou
,
C. C.
,
Guttal
,
V.
and
Couzin
,
I. D.
(
2012
).
Predatory fish select for coordinated collective motion in virtual prey
.
Science
337
,
1212
-
1215
.
Ioannou
,
C. C.
,
Rocque
,
F.
,
Herbert-Read
,
J. E.
,
Duffield
,
C.
and
Firth
,
J. A.
(
2019
).
Predators attacking virtual prey reveal the costs and benefits of leadership
.
Proc. Natl. Acad. Sci. USA
116
,
8925
-
8930
.
Kawabata
,
Y.
,
Akada
,
H.
,
Shimatani
,
K. I.
,
Nishihara
,
G. N.
,
Kimura
,
H.
,
Nishiumi
,
N.
and
Domenici
,
P.
(
2023
).
Multiple preferred escape trajectories are explained by a geometric model incorporating prey's turn and predator attack endpoint
.
Elife
12
,
e77699
.
Kimura
,
H.
and
Kawabata
,
Y.
(
2018
).
Effect of initial body orientation on escape probability of prey fish escaping from predators
.
Biol. Open
7
,
bio023812
.
Langerhans
,
R. B.
(
2009
).
Morphology, performance, fitness: functional insight into a post-Pleistocene radiation of mosquitofish
.
Biol. Lett.
5
,
488
-
491
.
Marras
,
S.
and
Domenici
,
P.
(
2013
).
Schooling fish under attack are not all equal: some lead, others follow
.
PLoS One
8
,
e65784
.
Meager
,
J. J.
,
Domenici
,
P.
,
Shingles
,
A.
and
Utne-Palm
,
A. C.
(
2006
).
Escape responses in juvenile Atlantic cod Gadus morhua L.: the effects of turbidity and predator speed
.
J. Exp. Biol.
209
,
4174
-
4184
.
Paglianti
,
A.
and
Domenici
,
P.
(
2006
).
The effect of size on the timing of visually mediated escape behaviour in staghorn sculpin Leptocottus armatus
.
J. Fish Biol.
68
,
1177
-
1191
.
Shifferman
,
E.
and
Eilam
,
D.
(
2004
).
Movement and direction of movement of a simulated prey affect the success rate in barn owl Tyto alba attack
.
J. Avian Biol.
35
,
111
-
116
.
Solanki
,
J.
,
Joshi
,
N.
,
Shah
,
C.
,
Hb
,
M.
and
Pa
,
G.
(
2012
).
A study of correlation between auditory and visual reaction time in healthy adults
.
Int. J. Med. Public Health
2
,
36
-
38
.
Stewart
,
W. J.
,
Cardenas
,
G. S.
and
McHenry
,
M. J.
(
2013
).
Zebrafish larvae evade predators by sensing water flow
.
J. Exp. Biol.
216
,
388
-
398
.
Stewart
,
W. J.
,
Nair
,
A.
,
Jiang
,
H.
and
McHenry
,
M. J.
(
2014
).
Prey fish escape by sensing the bow wave of a predator
.
J. Exp. Biol.
217
,
4328
-
4336
.
Swain
,
D. T.
,
Couzin
,
I. D.
and
Ehrich Leonard
,
N.
(
2012
).
Real-time feedback-controlled robotic fish for behavioral experiments with fish schools
.
Proc. IEEE
100
,
150
-
163
.
Szopa-Comley
,
A. W.
and
Ioannou
,
C. C.
(
2022
).
Responsive robotic prey reveal how predators adapt to predictability in escape tactics
.
Proc. Natl. Acad. Sci. USA
119
,
e2117858119
.
Voesenek
,
C. J.
,
Pieters
,
R. P. M.
,
Muijres
,
F. T.
and
van Leeuwen
,
J. L.
(
2019
).
Reorientation and propulsion in fast-starting zebrafish larvae: an inverse dynamics analysis
.
J. Exp. Biol.
222
,
jeb203091
.
Walker
,
J. A.
,
Ghalambor
,
C. K.
,
Griset
,
O. L.
,
McKenney
,
D.
and
Reznick
,
D. N.
(
2005
).
Do faster starts increase the probability of evading predators?
Funct. Ecol.
19
,
808
-
815
.

Competing interests

The authors declare no competing or financial interests.

Supplementary information