About once a second, a muon born ten kilometres up when a cosmic ray struck the atmosphere passes straight through the glass you are reading this on. Muon Tracker turns the screen into a detector of them: each arrival drawn as a track at its angle, with its energy, counted and logged.
It is a simulation, not a sensor, and it says so. What makes it worth having is that the simulation is honest: the rate follows your altitude, latitude, the time of day and the season, and the angles and energies follow the distributions physicists measure.
Version 1.0 · 597 KB · Works entirely offline
No account · No analytics · No tracking · Nothing collected

Cosmic rays, mostly protons flung across the galaxy, hit nuclei in the upper atmosphere and shatter into showers of short-lived particles. Among them are pions, which decay within nanoseconds into muons: heavy cousins of the electron, two hundred times its mass, living on average just 2.2 microseconds before they too decay.
At that lifetime a muon should travel about 660 metres and vanish. Yet they arrive at sea level at roughly one per square centimetre per minute, because they move so close to the speed of light that, from our frame, their clocks run slow. Every track in the app is a small demonstration of special relativity, and the Physics page inside explains it in full.
The app measures the physical area of your screen in square centimetres and treats it as a detector of that size. Muons arrive as a random process at the expected rate, each with an angle and an energy drawn from the physics. Hold the phone upright and they come in as slanted tracks; lay it flat and they pierce the glass as points.


The rate starts from the textbook figure of one muon per square centimetre per minute at sea level, and is corrected for where and when you are. Each arrival is then given a zenith angle and an energy from the distributions below.
Arrival rate
rate = 1 /cm²/min · eh / 6000 m · flat · fhour · fseason · areaThe expected number per tick is fed to a Poisson draw a thousand times a second, so arrivals cluster and thin out the way real counts do, rather than ticking like a metronome.
Angle and energy
P(θ) ∝ cos²θ · e−h / (10 km · cos θ)E ≈ (4 GeV + 1 GeV/km · h) / (2 − cos θ)Muons come mostly from overhead. The more slanted the path, the more atmosphere it crosses, and the fewer survive. Energies sit around 4 GeV at sea level and rise with altitude.
Three panels fold out from the bottom of the detector. None of them stops the count.

Every event with its time to the millisecond, angle and energy, newest first. The share button exports the full session as a CSV file: event, date, time, arrival angle, energy. Up to a hundred thousand rows.

A histogram of arrival angles in four degree bins, normalised to the vertical bin. Leave it running and the familiar bell of cos²θ emerges from the noise.

Override the altitude from the GPS with a slider from sea level to ten thousand metres, and watch the rate respond. Reset returns to the measured altitude.
Set the altitude to 3,000 metres and watch the rate climb by two thirds; set it to zero and watch it fall back. Open the plot after a few minutes and the histogram has taken the cos²θ shape on its own, out of random draws. Export the CSV and the class can check it in a spreadsheet.
The Physics button opens a short, referenced account of what muons are, how the atmosphere makes them, why relativity lets them reach the ground, and what every number on the readout means. Nothing on this page is needed to use the app.
The app reads the gravity vector from the motion sensors and rotates every track so that muons keep coming from the sky whichever way the phone is turned. Rotate the device slowly and the tracks swing to stay vertical in the world, not on the screen.
Past seventy degrees of tilt, with the screen facing up, the view switches: a muon crossing a horizontal detector leaves a point, not a line, and the screen shows pulsing dots instead of tracks. Tilt it back and the tracks return.
The detector area is derived from the model: a 6.1 inch iPhone is a smaller target than a 12.9 inch iPad, and sees proportionally fewer muons.
Arrivals are Poisson-distributed. Some seconds pass with nothing, others bring three at once. The rate shown is the average over the last ten seconds.
The exported log has a header row and plain decimal numbers, ready for a spreadsheet or a Python notebook.
The Physics page links to the background reading, so a curious student can go on from the app to the literature.

Muon Tracker has no network code at all. The only permission it asks for is your location while the app is open, and only to know your altitude and latitude for the rate. The App Store privacy label reads "Data Not Collected".
The app makes no network requests. There is no server, no account, no update check, nothing to phone home to.
Latitude, longitude and altitude feed the rate calculation and are shown on screen. They are never stored or sent. Deny the permission and the app runs at a default position.
The gravity vector from the motion sensors orients the tracks. Nothing is recorded.
The CSV lives in the app's own documents folder and is cleared at each launch. It leaves the phone only when you share it.
A live demonstration of cosmic rays, relativity and Poisson statistics that every student can run on their own desk, with data to take home.
Vary the altitude, collect a histogram, export it, fit it. A complete small experiment, with the model written out so it can be questioned.
For anyone who has read that cosmic rays pass through us all the time and wanted to see, roughly, what that looks like.
Open it on a mountain pass, or in a plane at cruising altitude, and watch the counter run several times faster than at home.
Muon Tracker was released in May 2025 and is version 1.0. The whole app is smaller than a photograph.
One just went through. And another.
Muon Tracker is an educational simulation. A phone has no sensor that can register a muon; the events shown are generated at random, at rates and with angles and energies taken from published models of the atmospheric muon flux, so that they are statistically faithful to what a real detector of the same size would see at your position. They are not measurements of real particles, and the exported data should not be presented as such. Energies, rates and the altitude dependence are simplified for teaching and can differ from precise measurements by tens of percent.