At a glance
The title promises dogs, and dogs are the hook, but this Veritasium film is really a tour of a US government lab that photographs air. Derek Muller visits a fluid dynamics group at NIST, the National Institute of Standards and Technology, where researcher Matt Staymates uses mirrors, lights and lasers to make the invisible visible: the heat off a hand, the breath of a dog, the shock wave of a bullet, the residue of a gunshot, the plume of a person leaking skin cells into a room.
The dog part is the payoff of a real experiment. A dog does not smell by inhaling steadily. It breathes out and in about five times a second, and the rapid turbulent exhale is what lets it reach out and pull a fresh scent sample toward its nose. Staymates measured that this in and out bellows action extends a sniffer's reach by roughly a factor of 18, then 3D printed a set of dog style nostrils, bolted them onto an ordinary commercial vapor detector, and improved its detection performance by a factor of 16 to 18. The machine got dramatically better at its job just by learning to sniff like a Labrador.
From there the video becomes a masterclass in flow visualization. Three techniques do the work: Schlieren imaging, its simpler cousin the shadowgraph, and the laser light sheet. With them the lab reads the speed of a bullet off the angle of its shock cone, watches gunshot residue flood a room, tracks how a clandestine drug cook contaminates himself and everything around him, and tests exactly how much air escapes around the edges of a face mask. The closing idea is the through line: seeing the air is how you build the standards that keep the public safe.
A crime lab that photographs air
The film opens cold, inside the lab. In this US government facility they study air flow to solve crimes. Using mirrors, lights and lasers they can illuminate the tiniest differences in air temperature and density. With that ability they can track how drug powder settles through the rooms of a house, work out which of two people fired a gun, and spot particles quietly escaping from a sealed package. Those three claims are the spine of everything that follows, and by the end each one is demonstrated on camera.
The premise Staymates opens with is that our best tool for picking up trace substances has barely changed in centuries, because nature already built the best chemical detector there is. It is the dog's nose. Everything the lab does is, in one way or another, an attempt to understand that nose well enough to copy it and to build the measurement standards around it.
Bubbles, and how a dog actually sniffs
Meet Bubbles: a 3D printed, anatomically correct model of a female Labrador Retriever. The team had tried to film a real police canine in front of the mirror, but as Staymates puts it, dogs get hungry and cranky very quickly, and after about four seconds of usable footage he decided a printed nose that never gets bored would do the job better.
Here is the key fact the whole segment turns on. A dog sniffing for a faint, far away scent does not simply breathe in. It breathes out and in rapidly, around five times a second. The thing that lets it detect a scent from a distance is not the inhale at all, it is the fast, turbulent exhale.
When the dog exhales, a turbulent air jet shoots out of each nostril, the same two jets you feel if you put a hand under your nose and breathe out. But a dog on the ground is nose down, and those jets are vectored backward, aimed toward its rear. By blowing air backward the dog does something clever: it pulls air toward itself from up ahead. Staymates gives the human version. Blow air away from you and, by conservation of momentum, you also reach out and draw air in behind the jet. The dog fires its exhale backward, that jet entrains fresh air from in front of its nose, then the dog reverses the flow and inhales, capturing a brand new sample and handing it to the olfactory region upstairs for analysis. Then it does it again. Five times a second, a repetitive sine wave of push and pull. That rhythmic sampling is what makes the dog such an extraordinary detector.
One detail Staymates stresses: the breed barely mattered. Whatever the dog, evolution seems to have converged on the same timing, roughly one fifth of a second between puffs. And the reason the rhythm matters is reach. If a dog had infinite lung capacity and simply inhaled without stopping, its reach would be short, because a pure inhale only draws from the air immediately at the nose. The out and in bellows action is what stretches that reach out, by roughly a factor of 18.
Teaching a machine to sniff like a dog
That number is where the science turns into engineering. The lab has a shelf of commercially available vapor detectors: some tuned for explosives and drugs, some for chemical and biological hazards. They are good instruments, but they all share one crude habit. They just inhale air, steadily, the way a dog never would.
So the team designed and 3D printed what are essentially a pair of nostrils that plug onto the front of one of these detectors and make it sniff like a dog, firing rhythmic jets instead of pulling a constant stream. Then they ran controlled experiments, moving the vapor source farther and farther away to test the range. On average, the biomimetic nostrils improved the detection performance of the instrument by a factor of 16 to 18. Derek's reaction on camera is the honest one: whoa. The machine got that much better at catching a faint, distant scent for one reason only, because it was made to sniff like a real dog. That result is published work, the study Biomimetic Sniffing Improves the Detection Performance of a 3D Printed Nose of a Dog and a Commercial Trace Vapor Detector.
| Ordinary detector | Dog style sniffer | |
|---|---|---|
| Airflow | Steady, continuous inhale | Rapid out and in, about 5 times per second |
| Why it reaches | Only draws from air right at the intake short range | Backward exhale jets entrain and pull a fresh sample from ahead long range |
| Effective reach | Baseline | Up to about 18x farther (the bellows effect) |
| Detection performance | Baseline | Improved by a factor of 16 to 18 in the tests |
| What was added | Nothing, it inhales as sold | A pair of 3D printed nostrils bolted onto the same instrument |
Schlieren imaging: knifing the light
How do you photograph a dog's breath, or the heat coming off a hand? With Schlieren imaging, a technique Veritasium has covered before. Staymates walks through his rig piece by piece.
The light source is an ordinary automotive headlamp. Its light passes through a condenser lens that focuses it down to a single point. From that point the light diverges again, travels out, and fills a large concave mirror. Think of the light as a bundle of arrows, all flying dead straight. When one of those arrows passes through something with a different refractive index, the warm air off a hand, or a pocket of gas at a different density, it bends. It refracts, just slightly, and its path shifts a hair off from the others.
All the light then reflects back off the mirror to a two way mirror, which turns the returning beam 90 degrees. And here is the trick, the whole reason the method works. Sitting exactly at the focal point of the mirror is a razor blade. Every undisturbed arrow of light comes to a focus right at that edge. By sliding the knife edge in, Staymates cuts off precisely the beams that got shifted, the ones that passed through a density change, and blocks them. With the blade pulled out, nothing is blocked and you just have a very expensive mirror doing nothing. As he pushes the blade in, the turbulence in the air suddenly appears, and Derek can hold his hand in front of the mirror and watch its heat pour upward like smoke. The bent rays get knifed, so gradients in the air print as bright and dark on the image.
Shadowgraph: Schlieren's little brother
Next to the Schlieren rig sits a shadowgraph. Staymates calls it Schlieren's little brother. It is not as sensitive, but it is far easier to build: all you really need is a flashlight and a white wall, and a shadowgraph appears on its own. The physics is simpler too. Light passes through a hot flame or plume at a different density and refractive index, and the plume casts a shadow of itself onto the wall. That shadow is the image, which is why it is called a shadowgraph.
Simple as it is, a shadowgraph can pull out real numbers. From footage of guns being fired, the lab can read off both the speed of the bullet and how loud the bang was. In the slow motion you can see the bullet whizzing away trailed by a very small bow shock, the sign that it is supersonic. For a Smith & Wesson handgun round the shock is tiny, roughly Mach 1.05, just barely above the speed of sound. Set that beside the infamous AK47 rifle round and two things jump out.
First, loudness. Comparing the two side by side, the line of the shock is darker for one gun than the other. The Smith & Wesson is the quieter firearm, so its shock line is less pronounced. The reason is physical: the hot gases released when a gun fires expand outward and create a shock wave. Across that shock the pressure, temperature and density of the air all change abruptly, and the bigger the jump, the darker it prints in the shadowgraph. So the darkness of the shock is a readout of how loud the shot is.
Reading a bullet's speed from its shock cone
Second, speed. The AK47 round comes off far faster, around Mach 2 to 2.5, and its shock cone is a narrow, sharp wedge. The underlying idea is general. Any object moving through air makes pressure waves that spread out at the speed of sound. When the object outruns its own sound, those waves pile up and compress into a single conical shock wave trailing behind it, a tiny sonic boom. And the geometry of that cone encodes the speed. As Staymates states the rule, the sine of the cone's half angle equals the ratio of the speed of sound to the speed of the object. Measure the angle and you have the Mach number.
The relation means a slow, barely supersonic round makes a wide, weak, nearly flat shock, while a fast round makes a tight, narrow, violent one. A round at Mach 1.05 opens a cone of about 72 degrees, almost perpendicular to its path, whereas one at Mach 2.25 draws a sharp cone of about 26 degrees. Wide and faint means slow and quiet, narrow and dark means fast and loud, and the shadowgraph lets you read both straight off the image.
Laser light sheet: making invisible plumes glow
The third technique swaps refraction for illumination. A laser light sheet lights up fine particles directly, so you can see plumes of gun powder residue in the air. The setup is almost absurdly simple: a laser beam is steered through a cylindrical glass rod, just a piece of glass shaped like a cylinder, and the rod spreads the beam into a flat, two dimensional wall of laser light. Whenever particles or theatrical fog drift across that sheet, they light up. Staymates wears laser safety glasses and can barely see the sheet himself; it shows up clearly only through the camera.
With the sheet running, the lab studies gunshot residue, the burned and unburned propellant thrown out whenever a firearm is discharged. Laser sheets plus high speed cameras capture the plume of residue that erupts after a firing event, and reveal the ventilation inside a real gun range. The footage is startling: an invisible cloud of residue you would never see with the naked eye, five shots in a few seconds throwing off enormous amounts of material. A lot lands on the shooter's hands, but a lot more disperses into the surrounding room, and it travels much farther than Derek expected. That leads straight to a forensic question the lab is actively working on: can you tell apart residue actually deposited by the shooter from residue picked up by a bystander who wandered in two minutes later?
Staymates is careful about what these tools are. The Schlieren, shadowgraph and laser sheet methods are qualitative, or at best semi quantitative. They do not replace hard chemical measurement; they illustrate what is happening so you know where and how to measure. The table below lays the three side by side.
| Schlieren | Shadowgraph | Laser light sheet | |
|---|---|---|---|
| Makes visible | Faint density and temperature gradients in clear air | Sharper density changes, cast as shadows | Actual particles and fog crossing a flat light plane |
| How it works | Bent rays trimmed by a razor at a mirror's focal point | A plume casts a shadow of its own refraction on a wall | A laser beam fanned by a glass cylinder lights up whatever passes through |
| Sensitivity | Highest, catches the faintest gradients | Lower, but far easier to build | Shows particulates, not gradients |
| In this video | Dog breath, hand heat, mask leakage | Gun shocks, bullet speed, loudness | Gunshot residue, talc, drug mixing plumes |
Trace detection and Locard's principle
Now the public security half of the lab, which is about trace contraband detection. It starts with a creepy demonstration. Every one of us gives off heat, so every one of us carries a warm rising column of air, the human thermal plume. Under Schlieren you can watch it stream up off a person. And that plume is full of you: skin cells, shed constantly at a rate Staymates puts at thousands an hour. From a trace detection standpoint, that constant shedding is not a bad thing at all, it is the whole game.
The principle underneath is Locard's exchange principle from forensic science: every contact leaves a trace. Spend time in the lab and you leave part of yourself behind, and you carry part of the lab away, whether you like it or not. Turn that on a criminal and it becomes a detection strategy. A bomb maker, or someone cooking illegal fentanyl in a basement, inevitably contaminates himself with the bulk material, and that contamination takes the form of extremely small particles. Modern chemical detection systems are so sensitive they can flag a single particle of explosive residue.
So imagine a bomb sealed in a package at a screening facility, say a checkpoint for items arriving from overseas. You have a sniffer, a commercial vapor detector, and ten seconds to sample the package. Where do you aim it? The lab answers that with an experiment they call burping the package. They put acetone inside a box, and when you squeeze it, acetone vapor puffs out through every gap and seam. Those gaps are where the inside leaks to the outside, so aiming the detector at the seams and corners, where vapor is actually permeating through, gives you the best chance of catching what is inside. Aim at a flat, sealed face and you get nothing.
The drug angle is even more vivid. To simulate illicit manufacturing, Staymates uses talc powder. He shakes a container and squeezes, and to the naked eye nothing happens, yet in the laser sheet the room fills with powder. He pours one substance into another and, invisible to the eye but glaring in the laser, a cloud rolls off the moment the lid comes off and keeps going. The point lands hard: a basement cook is spreading contamination across every surface in the room without seeing a thing. Staymates says he cannot share the actual numbers, only that they are pretty startling. There is, in his words and Derek's, a lot.
The particle count graph: how much you breathe in
The laser sheet does more than show where powder goes; it lets you count exposure in real time. As a person works with the material, a plot in the top corner of the frame tracks the real time count of particles being generated around them. That graph is essentially the person's inhalation exposure, the load of material they are breathing in moment to moment. Derek does the grim math out loud: if that powder were fentanyl and the person had no mask on, they are gone. To trace where contamination ends up, the lab also spikes the material with fluorescent powder so the spread lights up and can be mapped.
Alongside the visual methods, the lab runs a quantitative one: swabbing surfaces around the house to measure what settled where. It is exactly what happens at the airport when security asks for your hands and wipes them with a swab, hunting for trace explosive particles that would cling to anyone who had handled a device.
Then a forward looking idea. Staymates points at a drone. Its four propellers throw off an interacting prop wash, and the question is whether that fluid dynamics could do the sampling for you. Sending human Hazmat crews into a suspected meth or fentanyl lab is slow, expensive and dangerous. Instead, fly a drone in, let its prop wash stir particles up off the surfaces, catch them with a collector on the drone's belly, fly back to base, and run the chemical analysis. If it comes back clean, nobody had to suit up; if it finds something, only then do you send in the Hazmat team. It is an idea, not a finished product, but it shows how the lab thinks.
Mask research: seeing what a face mask really does
All of this sits under one umbrella, public safety and security, and when the Covid pandemic hit, the lab switched gears to it. Staymates built a machine that breathes like a human, tuned to his own measured breathing rate: a pneumatic system driving a set of artificial lungs, fed by a fog generator so each breath is visible. On camera it looks exactly like something taking a drag off a cigarette and exhaling.
The payoff is quantitative. Put a mask on the breather and it looks like almost nothing gets through, but in fact millions and millions of particles are pushing at the fabric, and some do make it, because no mask is 100 percent. Staymates wrote an image processing program that counts the white pixels of escaping fog. Run an N95 respirator through it and guess what fraction of pixels light up white. Derek guesses 5 percent, and he is right, 5 percent.
Then Derek wears masks himself while the Schlieren rolls. Breathe in and the image darkens; breathe out and it lightens, because the exhaled air is warmed by your lungs and shows up as a different density. A good mask that seals shows almost no color change at all, which is the difference between sealing and merely filtering. A thinner mask changes color much more dramatically, because more heat transfers straight through it, and you can watch a lot of air escaping over the top edge where the fit is poor. Seeing it is the whole point.
Why show it at all: communication and standards
Staymates ties the mask work back to a public failure. Early in the pandemic the message lurched around: masks do not work, do not wear one; then masks do work, wear a cloth mask; then no, cloth masks do not work. There was a lot of confusion. What the lab took from that is that the communication of mask effectiveness could have been much better, and that is exactly why he made the Schlieren videos. The average person is never going to sit down and read a scientific journal article, but they will happily watch a 90 second clip of a scientist coughing with a mask on and off. So that is what he made.
He also explains how this lab fits into the wider system. NIST has a distinctive relationship with other federal agencies. A three letter agency in the security world arrives with a concrete need, say, we want to sample people's shoes for explosives. The lab then works out which sampling methods are good and which are poor, what the measurements need to look like to evaluate a shoe sampling device that does not even exist yet, and what standards would support those measurements. They package all of that up and hand it back to the sponsoring agency, which takes it to industry, and industry gets a head start because NIST already did the heavy lifting.
The closing note is that the application space is enormous. Because the Covid visualization worked so well, the same tools now point at indoor air quality, and Staymates imagines a bigger mirror that could show two people interacting and exactly how breath transfers from one to the other. The take home message he leaves with is simple: flow visualization is a critical tool at NIST, because it is one thing to run quantitative analysis on surfaces, and another thing entirely to actually see where the particles are and where they go.
The video closes with a sponsor read for Caseta by Lutron, smart home lighting control, on the theme that good lighting matters for more than photographing air.
Where it stands
Nothing here is speculative fringe science; it is a working measurement lab, and most of the striking claims are grounded. The dog nose result is peer reviewed: the roughly 16 to 18 times improvement in detection comes from the published biomimetic sniffing study, and the physics of shock cones, refraction and thermal plumes is textbook. The honest caveats are the ones Staymates flags himself. The imaging methods are qualitative to semi quantitative, so they guide measurement rather than replace it. The single particle sensitivity and the drone sampling concept are real research directions, not deployed products, and he is explicit that some numbers, on drug contamination, cannot be shared. Read that way, the video is less a story about dogs and more a clear window into how a standards lab turns something invisible into something you can measure and regulate.
Key takeaways
- A dog does not smell by inhaling steadily. It breathes out and in about five times a second, and the turbulent backward exhale is what pulls a fresh scent sample toward its nose.
- That out and in bellows action extends a sniffer's reach by roughly a factor of 18 over a constant inhale, and the timing is nearly the same across breeds.
- Bolting 3D printed dog style nostrils onto a stock commercial vapor detector improved its detection performance by a factor of 16 to 18, a peer reviewed result.
- Schlieren imaging makes invisible density and temperature gradients visible by focusing light to a point and trimming the bent rays with a razor blade at the focal point.
- A shadowgraph is simpler and less sensitive, needing only a light and a wall, yet it can measure a bullet's speed and loudness from the shape and darkness of its shock.
- A supersonic object trails a conical shock whose half angle obeys sin of the angle equals the speed of sound over the object's speed, so the cone's geometry gives the Mach number.
- A laser light sheet, made by fanning a laser through a glass cylinder, lights up particles directly and reveals otherwise invisible gunshot residue and drug powder plumes.
- Locard's exchange principle, every contact leaves a trace, underpins trace detection: people and criminals both shed particles that sensitive detectors can catch down to a single particle.
- The lab makes air visible not for spectacle but to build the measurement standards and public communication, from where to aim a package sniffer to how much air escapes a face mask.
Chapters
00:00 Intro 00:26 How dogs sniff 03:14 Schlieren Imaging 04:57 Shadow Graph 07:24 Laser Sheet 09:28 Trace Detection 13:53 Trace Detection Graph 15:56 Mask Research 16:56 Breathing 17:39 Masks 20:12 Sponsor
Notable quotes
- "So it turns out nature has already provided us with the best chemical detector, and that is the dog's nose." (00:31)
- "What they do is breathe out and in rapidly, around five times a second." (00:50)
- "But when the dog is down on the ground, those air jets are vectored back towards its rear. The dog is pushing air back, and by doing that, it's pulling air from ahead of it." (01:11)
- "But because of this in and out bellows effect, its reach goes up by roughly a factor of 18." (01:43)
- "We were able to, on average, improve the detection capabilities of these by roughly a factor of 16 to 18. Just by making them sniff like a real dog." (02:01)
- "I cut off those arrows of light, those beams of light that shifted a little bit, and I cut 'em off, I block 'em." (04:26)
- "It's Schlieren's little brother. It's not a Schlieren system, but it's very close. Shadowgraph is not as sensitive, but it's easier to build." (05:07)
- "The bigger that change, the darker this shows up in the Shadowgraph. So you can get a sense of how loud it is by how dark that shock appears." (06:00)
- "The sine of the angle is the ratio of the speed of sound to the speed of the object." (07:15)
- "It's all based on this fundamental principle, it's called Locard's Exchange Principle. It's that every contact leaves a trace." (10:52)
- "The chemical detection systems that we have available now are so sensitive, they can detect a single particle of an explosive residue." (11:36)
- "That's crazy, 'cause if that's fentanyl, and that person doesn't have a mask on, they're gone." (15:20)
- "The average American is not gonna sit down and read a scientific journal article. But they will sit down and watch a 90 second video of me coughing with a mask on and off." (18:52)
Resources mentioned
- Veritasium, the channel, hosted by Derek Muller.
- NIST, the National Institute of Standards and Technology, where the lab is based.
- Matt Staymates, the NIST research fluid dynamicist featured throughout.
- Biomimetic Sniffing Improves the Detection Performance of a 3D Printed Nose of a Dog and a Commercial Trace Vapor Detector, the published study behind the dog nose result.
- Schlieren photography and the shadowgraph technique.
- Mach number, shock waves and the sonic boom that set a bullet's shock cone.
- Gunshot residue and Locard's exchange principle from forensic science.
- Dog olfaction and the Labrador Retriever that Bubbles was modeled on.
- N95 respirators and face masks during the Covid pandemic.
- Caseta by Lutron, the smart lighting sponsor of the video.


