Drag to rotate, pinch or scroll to zoom, tap the swimmer to pause or play. The swimmer faces right and the water flows left, because the view follows the swimmer; the blue plane is the water surface and the grid the pool floor.
Top: the phase gauge (phase slider, real time at the end of every phase and keyframe buttons). Top left: the view controls (play or pause, uniform or real timing, Edit, look, help, and the technique buttons Master, Original, Optimized and Calibrated, up to four shown at once). Top right: energy cost and mental overload. Bottom left: Playback · colours (stroke rate, playback speed, limb colours). Bottom right: the Original panel with the swim parameters and the angles of the selected phase; Save stores them as the Original profile. Every panel minimizes with its – button. Edit shows the joint marks on the model: drag a mark and the selected phase is matched to it. Below the view: swim speed U (with the time for 100 m at that speed and the level band), fastest hand or foot part relative to the water, peak flow speed on the streamlines and the drag area CdA of the current pose.
Streamlines are coloured by water speed relative to the swimmer (blue slow, green = U, red 2U or more). The white dots move along them at that local speed, slowed by the playback speed. Top swimmer sets the look of the top swimmer only: human (skin and swim trunks; drawing only, the calculations are the same), coloured body parts (grey-blue trunk and head, orange arms, green legs, darker green feet, yellow hands), muscle load, or the limbs coloured by acceleration, speed, force or energy cost. Limb colours applies to every swimmer shown; the lower swimmers are always drawn as humans.
Open water: no walls, so no start dive, turns or underwater phases, and air hunger never resets at a wall. The swim speed includes the sighting and the wetsuit. Elite open-water swimmers use about 34–41 cycles/min.
Both phases are optional and belong to the current stroke. With neither ticked, the race time is the distance divided by the swim speed, as before.
Start phase
Turn phase
Under water (both phases)
Finds the free parameters that give the highest calculated swim speed U at the current stroke rate (); with the goal Least energy for a distance, the least metabolic energy to swim the set distance in km without dropping below the set share of the start speed; or, with Safe sprint, the lowest mental overload while holding a target speed over a sprint. The stroke rate, body height and weight, propulsive effectiveness, drag coefficient and playback speed stay fixed. The drag area follows the poses the optimizer tries. Only values inside the search range are tried, and only cycles that fit the stroke rate count. Every candidate is swum with the anatomical joint limits of shoulder, elbow and forearm. Where its keyframes ask for a pose a real joint cannot reach, the limits move the arm, and the optimizer counts that against the candidate: the score is U minus a realism penalty, so the optimized keyframes describe movements a swimmer can actually make.
The swim parameter sliders are in the Original panel at the bottom right of the 3D view.
Drag area CdA = Cd × frontal area. The frontal area is the shadow of the body seen from the front, recalculated for every pose: trunk and head always count, arms and legs only where they are under water. Body drag uses the time-weighted mean over the cycle.
The angle sliders of the selected phase are in the Original panel at the bottom right of the 3D view. Edit there, or switch on Edit in the view and drag the joint marks.
Every value of the current stroke with its boundaries (Min, Max): the angles and palm angles of all phases, the swim parameters, and the joint boundaries of shoulder, elbow, forearm, wrist, hip, knee and ankle, which hold in every phase. No joint can make a full turn: each twist and swing stops at its boundary, and the line under a boundary shows how much of it the technique in the 3D view uses. Type a value to change it; it is kept inside its boundaries.
Everything the model does, in one place. Open a heading to read it. The numbers in the tables are read from the running app.
A reduced-order model of a swimmer: a jointed body is moved through one stroke cycle, the water forces on its parts are estimated with simple rules, and the swim speed follows from thrust against drag. It is made for comparing techniques, timings and body sizes, and for seeing how the water moves around the swimmer. It is not a CFD simulation or a measurement.
The default swimmer is an adult of 1.75 m and 70 kg. A skeleton carries ellipsoidal parts: a flattened trunk with pelvis, waist, chest and shoulders, neck, skull and face, tapered arms and legs, flat palms with fingers and thumb, and flat feet. Body height scales every length by height / 175 cm. Body weight sets the girth of trunk, head, arms and legs so that volume follows weight (girth factor √((weight / 70 kg) / (height / 175 cm))); hands and feet follow height only. The human look in the 3D view blends extra shapes between the parts for drawing only; forces use the parts.
Head. The head pivots at the top of the neck. The head tilt angle (chin up or down; per phase in Butterfly and Breaststroke, one value in Freestyle and Backstroke) and the head turn of Freestyle (per phase, for breathing) rotate the whole head, so face, nose, mouth, chin, ears and goggles follow. The app reports how far the mouth is above or below the water surface over the cycle. With Breathing ticked (Swim parameters), the body takes a breathing posture around the phase where the mouth is highest, by the smallest amount that brings the mouth 1 cm above the surface. Breaststroke and Butterfly breathe forward: the back bends (chest up, up to 30° more), the shoulders shrug toward the head (up to 5 cm more; in Butterfly the chest rises with the body wave instead, up to 10 cm) and the head tilts back at the neck by up to 35°, so it looks forward and up with the neck pressed between the raised shoulders. Freestyle breathes to the side: the head turns by up to 80° and the water beside the head is taken up to 10 cm lower (the trough of the bow wave, not drawn). Nothing lifts the head off the neck. In Breaststroke the Shoulder shrug slider raises the shoulders toward the head around the insweep in every cycle; the shoulder girdle follows and the head sits lower between the shoulders.
After the keyframes are joined, each arm is checked against anatomical boundaries and turned back to them where needed, keeping the hand as close to its path as possible: the plane and twist of the upper arm in the shoulder, the elbow angle, the forearm rotation and the two palm angles. Each leg is checked for the hip angle (thigh against the trunk), the knee and the ankle. Limbs are kept from passing through the body and each other: each arm against the trunk, head, neck and both legs, the two arms against each other, and the two legs against each other. Touching is allowed (hands together, arms against the ears or the chest, up to 0.5 cm overlap); where a limb would pass through, it is swung outward about the shoulder or hip by the smallest angle that clears, and the swing counts in the joint realism penalty of the optimizer and calibration. The Body contacts box in the Parameter table switches this off for comparison. No joint can make a full turn about its own axis; the arm as a whole still circles once per cycle in Butterfly, Freestyle and Backstroke, which is the stroke itself. All boundaries, and how much of each the current technique uses, are in the Parameter table.
Undisturbed water moves backward past the swimmer at the swim speed U. Each body part adds the potential flow of a moving sphere plus an entrained-water term, which shows the jets behind hands and feet. 42 streamlines are traced every frame and coloured by local speed (scale in the section above); the white dots travel along them at the local water speed. The flow picture is an illustration: the forces below do not come from it.
The body is not at constant speed. Its mass plus about 30 % of water carried along is driven by the thrust of that instant against the drag of that instant. This equation of motion is stepped through four cycles (36 instants, three steps each); U is the mean speed of the fourth cycle, and the app reports the lowest and highest speed within it. Because drag grows with the square of the speed, a stroke with large speed swings is slower than one with the same mean thrust applied evenly. The plain race time is the distance divided by U; the optional start and turn phases (next heading) add to it. Fatigue is optional, in the optimizer (see 14. Energy cost).
Both are optional and set per stroke in the section Start and turn phases, with a race distance and a pool length.
A separable CMA-ES evolution strategy changes the ticked free parameters inside the search range (a percentage of each slider range around the current value) for the set number of model evaluations. It maximises U minus the joint realism weight times a penalty for hands pulled off their path by the joint boundaries. Techniques that break the order of the arm cycle are rejected. With the goal Least energy for a distance it instead maximises the start energy divided by the energy for the set distance, minus the realism penalty and a steep penalty below the lowest allowed speed (see 14. Energy cost). The result is stored as the Optimized profile; the progress graph and the badges beside the free parameters show which parameters gained the speed.
Every stroke has four profiles: Master (built in), Original (the saved working technique), Optimized and Calibrated. The video calibrator app fits the keyframes, palm angles, timing and camera angle to joints marked on video frames, by minimising the distance between marked and model joints, and stores the result as the Calibrated profile.
The optimizer had produced speeds above world-record pace. The review found four causes and changed five things.
Found.
Changed, first step. Speed within the cycle (8), wave drag (6), the muscle force limit, the fixed reference power and the thrust power ceiling (9). The thrust factors were re-tuned so that the reference techniques keep their earlier speeds: Butterfly 1.48, Freestyle 1.67, Backstroke 1.48, Underwater kick 1.30, Breaststroke 0.97 m/s for 1.75 m and 70 kg.
Changed, third step (drag). Wave drag that fades with depth, the body-line factor and the leg sink (6). The thrust factors were re-tuned to the same reference speeds and the thrust power ceilings raised to match the higher drag.
Changed, second step. The limb speed limit in the timing (3), and the new propulsion rules (7): plate force by angle of attack, the flexible foot, added mass, and slender arm and leg segments. The thrust factors fell from 29, 5.6, 7.0, 8.8 and 5.3 to 2.4, 1.3, 0.6, 3.5 and 0.9 (Butterfly, Freestyle, kick, Breaststroke, Backstroke), the limb power of the reference techniques fell to about a third to a sixth, and the speed swing of the Freestyle master went from 1.34–2.02 to 1.45–2.08 m/s around a higher mean.
| Stroke | Master (m/s) | Optimized before the review | Optimized after the first step | Optimized now | Record pace, about |
|---|---|---|---|---|---|
| Freestyle | 1.83 | 2.27 | 1.88 | 1.94 | 2.1 |
| Butterfly | 1.50 | 2.26 | 1.80 | 1.83 | 2.0 |
| Backstroke | 1.48 | 1.89 | 1.76 | 1.89 | 1.9 |
| Breaststroke | 0.93 | 1.87 | 1.30 | 1.45 | 1.7 |
| Underwater kick | 1.30 | 1.98 | 1.54 | 1.61 | – |
One optimizer run per stroke at the default settings (25 % range, 1,200 evaluations), 1.75 m and 70 kg. “Before the review” already includes speed within the cycle, wave drag and the fixed reference power, which were not enough on their own. Master and “Optimized now” are for the current model (all later steps, including leg sink); all five optimized results stop at the thrust power ceiling. Record pace is an approximate mid-pool speed over 100 m and is not from the model.
The energy to swim a distance D is E = (Pmech / ηM + RMR · m) · D / U. The useful power, drag × speed, is in real watts. The total mechanical power Pmech is the model's limb power converted to watts with a fixed factor per stroke, set so that each Master (elite swimmer) is just within its limit over 100 m. Their propelling (Froude) efficiency then lies between about a third (Breaststroke) and a half (Freestyle). A technique that loses less power to moving water reaches a higher propelling efficiency, up to a cap near the highest values measured in swimmers. The metabolic power adds the gross efficiency of the muscles ηM and a resting metabolic rate. The Masters then cost roughly 1.4–2 kJ per metre at race pace.
Because drag grows with speed, swimming slower always costs less energy per metre, down to the speed where the resting metabolism dominates. The optimizer therefore keeps the speed at or above the set share of the start speed. The stroke rate stays fixed, so the energy is saved by technique: less drag and less water moved without thrust. Efficiencies and resting rate are round literature values, not fitted to this swimmer, and the model does not tell aerobic from anaerobic energy or include fatigue. The result warns when the metabolic power is above about 24 W/kg (a VO2max of 70 ml/kg/min), which a trained swimmer cannot hold over a long distance; the master techniques, swum at race pace, are above it.
Fatigue (Optimizer checkbox). The metabolic power a swimmer can keep up for a time t is P(t) = VO2max power · k(t) · f(t) + reserve / t. VO2max (slider, default 60 ml/kg/min) is turned into watts with 20.9 kJ per litre of oxygen. k(t) is the slow rise of oxygen uptake at the start. f(t), the share of VO2max that can be held, is 1 for a few minutes and falls slowly for longer swims. The anaerobic reserve (slider, default 1.0 kJ/kg) can be spent once over the swim. If the technique needs more than P(t), the distance is swum at the speed where the two meet (metabolic power growing with the cube of speed), and energy and time follow from that speed. With fatigue on, the speed goal maximises this sustainable speed. The energy goal instead lets the swimmer hold the lowest allowed share of the pace the start technique can sustain, and no faster, so all techniques are compared at the same pace: a better technique then saves energy rather than being spent on going faster (if the swimmer always went all out, the energy for the distance would be set mostly by the swimmer's capacity and hardly by the technique). Butterfly also has local muscle fatigue: the power above the resting rate falls slowly with the time swum. Its two constants are fitted to two data points, each with the best technique the optimizer finds (Highest speed, fatigue on, reserve 1.0 kJ/kg, 1.75 m, 70 kg, default search): an elite swimmer (VO2max 70) holding 1.011 m/s over 1 km (16:29 in a 50 m pool, the record time given by the user, not an official World Aquatics event), and a Masters swimmer (VO2max 60) holding 0.741 m/s over 2 km (45:00). The fit gave 16:33 and 45:06; the optimizer is random, so single runs vary by about 2 %. The app's Master technique is far less economical than the optimized one, so it is slower than these: about 0.69 m/s over 1 km at VO2max 70 and 0.50 m/s over 2 km at 60. The other strokes have no such term yet. Fatigue lowers the pace only; the model does not make the technique itself worse as the swimmer tires, and does not model pacing, drafting, feeding or temperature.
Runs every stroke with its current technique and settings at the stroke rates of elite finalists and compares the distance per cycle with the measured range (elite women to elite men at that rate, reference/stroke-rate-speed-reference.md). A result more than 20 % outside the range is flagged. It also checks the trends: swim speed should rise with the rate in Freestyle, Backstroke and Butterfly, and distance per cycle should fall toward high rates in Breaststroke.
The optimizer goal Safe sprint keeps the stroke rate and looks for the technique that holds a target speed (an elite pace you set) over a 50, 100 or 200 m sprint with the least mental overload. The mental overload index MOI is the weighted mean of four parts, each 1 at the limit and capped at 1.5:
Default weights: precision 0.25, timing 0.20, effort 0.20, air 0.15, muscle complexity 0.20 (sliders); timing pressure and complexity partly overlap, so they share the weight timing had alone. A steep penalty is added when a muscle group is above its maximum. Score = 1 / (1 + MOI + penalties), with the joint realism penalty and a steep penalty when the held speed is below the target. A gauge in the upper right corner of the 3D view (minimizable to one line) shows the energy cost (kJ/m, metabolic power, propelling efficiency) and the MOI parts of the current technique for the sprint distance set in the Optimizer.
MOI is a structured heuristic, not a measured model of the mind: the references (110 m/s², 6.5 m/s, 15 s, 3 %, 5 %) and weights are informed guesses. It leaves out coordination load, head motion, race tactics, arousal and how well a technique is learned. To make it a measured index, collect NASA-TLX or RPE ratings after sprint trials filmed for the video calibrator and fit the weights to them.
The animation is stopped. You can close this tab, or open the app again.