XRS XSCRIPT RADAR SYSTEMS
SCANNING SIMULATION
--:--:--Z AIR RADAR
← EXIT

Radar & Sonar Screen Simulator — Fake Radar Display

This page turns your browser into a radar room. A beam sweeps round a circular scope, lighting up aircraft, ships, and storms as it passes, and each echo glows and fades the way it did on the old phosphor screens. Tracks carry invented ID numbers and trails of earlier positions, and the side panel lists every contact with its bearing, range, speed, heading, and whether it is friendly, unknown, or hostile. Switch between air radar, naval sonar, and weather radar, call in an incoming hostile with one key, and click ⛶ FULLSCREEN to fill the screen.

Is any of it real?

No. Everything on the screen is simulated. The radar site, the aircraft, the ships, the submarines, the storms, and every number in the contact list are generated in your browser from random numbers. Nothing is fetched from an air traffic feed, a ship tracker, or a weather service, and nothing you see matches a real aircraft or vessel. The header says SIMULATION, and so does the scope itself, so the label is still there in a fullscreen recording.

What's on the screen

The three modes

Pick a mode from the MODE menu or press 1, 2, or 3. Each one has its own colours, range scale, and traffic.

Air radar
A green long-range air surveillance radar on a 120 nautical mile scale with rings every 20 NM. Airliners cross on straight routes, light aircraft and helicopters wander at low level, fighters and drones fly racetrack patterns, and now and then a hostile fighter holds near the edge. New tracks start as UNKNOWN and are identified by IFF a few scans later.
Naval sonar
A cyan active sonar on a 20 kiloyard scale, with your own ship at the centre. Merchant ships, fishing boats, warships, submarines, and biologics (whales and shoals of fish) move through the picture. A faint ring spreads out each time the sonar pings. With sound on you hear the ping and a fainter echo from each contact the beam crosses, slightly higher in pitch when the contact is closing.
Weather radar
A 240 km base reflectivity display. Rain areas and thunderstorm cells drift across with the wind, grow, peak, and die away. The colours follow the usual dBZ scale from light blue and green through yellow and red to magenta in the hail cores, and the side panel lists each storm cell with its peak reflectivity and movement. A dashed line from each cell shows where it will be in 30 minutes.

Movement is sped up so that tracks visibly move on a backdrop: four times real speed for air, ten times for sonar, and thirty times for weather. The speeds in the contact list are the real-world speeds the contacts are meant to be doing.

Red alert and incoming contacts

Press A or click ⚠ RED ALERT. In air mode a fast hostile contact appears at the edge of the scope and heads straight for the radar at about 950 knots. In sonar mode it is a torpedo, and in weather mode a severe storm cell develops and moves towards the site. The scope rim turns red, a dashed line marks the threat's path, and a banner shows its bearing, range, speed, and ETA. The banner pulses slowly, once every two seconds, and nothing on the screen flashes.

Close in, the hostile breaks off and turns away (the torpedo loses its lock), or the storm passes overhead, and the alert clears a few seconds later. Press A again to stand down at any time. Set EVENTS to Auto and the screen raises an alert by itself: the first within three minutes, then one every 6 to 14 minutes.

How to use it

The mode, sweep speed, events setting, labels, and panel are kept in the address bar, so a copied link reopens the same setup. For example, /radar-screen?mode=sonar&sweep=6 opens a slow sonar, and /radar-screen?events=auto&panel=0 opens a scope-only air radar that raises its own alerts. Sound is never saved in the link; it always starts off.

Keyboard shortcuts

How radar works

A radar transmitter sends out a short, powerful pulse of radio energy and then listens. Aircraft, ships, rain, and hills all reflect a tiny fraction of that energy back. Radio waves travel at the speed of light, about 300,000 km per second, so the time between sending the pulse and hearing its echo gives the distance to whatever reflected it:

range = c × t ÷ 2

The division by two is there because the pulse has to go out and come back. An echo that arrives one millisecond after the pulse came from 150 km away. An echo from one nautical mile takes 12.4 microseconds, a figure radar engineers call the radar mile.

Bearing comes from the antenna. A surveillance radar's antenna forms a narrow beam, one or two degrees wide, and turns steadily. Whichever way it is pointing when an echo comes back is the bearing of the target. One revolution is one scan, and at 12 rpm each target is seen once every five seconds. That is why blips on a radar screen step forward from scan to scan instead of gliding.

The timing sets the radar's limits, and the sensor panel in air mode follows them:

Hills, buildings, waves, and rain return echoes too. Air surveillance radars remove most of that clutter with moving target indication (MTI), which compares the echoes from successive pulses and cancels anything that has not moved. What is left near the site in this simulator is the patchy residue that gets through.

A radar only sees a reflection; it cannot tell whose aircraft it is. Military identification friend or foe (IFF) and civil secondary surveillance radar solve that by sending an interrogation that the aircraft's transponder answers with a code. That four-digit code, the squawk, only uses the digits 0 to 7 because it is an octal number. No reply does not make a track hostile, only unknown.

Where the round screen came from

The first radar displays were A-scopes: a single line across a cathode ray tube, with each echo appearing as a spike whose position along the line gave its range. Operators turned the antenna and read the bearing from a dial. The plan position indicator, developed during the Second World War, swept the electron beam outward from the centre of the tube in step with the rotating antenna, so the screen became a map with the radar in the middle. From the winter of 1940–41 British ground-controlled interception stations used it to guide night fighters onto bombers, and airborne sets such as H2S used it to draw the ground beneath the aircraft. The PPI is still the standard layout for air traffic control, ship, and weather radars, even though it is now drawn by a computer on a flat screen.

Why the picture glowed and faded

A rotating radar only looks in each direction once per scan, so the screen had to remember what it saw for several seconds until the beam came round again. The answer was a long-persistence phosphor. The common radar phosphor, P7, had two layers: a short blue-white flash where the electron beam struck it, and a yellow-green afterglow that lasted for seconds. The beam drew the bright radial line you see turning, each echo lit up as the line crossed it, and the afterglow faded slowly enough to keep the whole picture readable but quickly enough that old positions did not smear into new ones.

Modern consoles use ordinary monitors and imitate the afterglow in software, because operators find it easier to read: the brightness of an echo shows how recently it was seen. This simulator does the same. Each echo's brightness is worked out from how far the sweep has turned since it passed.

How sonar works

Radio waves barely travel through seawater, but sound travels well, at about 1,500 m per second, more than four times faster than in air. So sonar uses the same equation with the speed of sound in place of the speed of light: range = v × t ÷ 2. Because sound is about 200,000 times slower than light, the waits are long. An echo from 10 km takes more than 13 seconds to come back, and a ping to the edge of this simulator's 20 kiloyard scale (18.3 km) needs over 24 seconds for the round trip. The display here compresses that so the picture keeps moving.

Active sonar
Sends a ping and listens for the echo, which gives both range and bearing. The catch is that the ping announces your position to anyone listening, and they can hear it from much further away than you can hear its echo, because it only has to travel one way to reach them.
Passive sonar
Transmits nothing. It listens to the noise the target makes: engines, pumps, propellers, and the hiss of cavitation as propeller blades churn the water into bubbles. It gives a bearing but no direct range. Operators work out the range from how the bearing changes over time, a process called target motion analysis, and the display is usually a scrolling waterfall of bearing against time, not a PPI. Submarines rely on passive sonar for exactly that reason.
Baffles
The sector behind a ship or submarine where its own hull and propellers drown out everything else. Submarines turn from time to time to clear their baffles. On this screen it is the noisy wedge astern.
Layers and shadow zones
Sound does not travel in straight lines in the sea. Temperature, pressure, and salinity change its speed with depth, which bends sound into channels and leaves shadow zones. A submarine below a sharp temperature layer can be hidden from a sonar above it.
Doppler
A moving target shifts the pitch of its echo: higher when it is closing, lower when it is opening. Sonar operators hear it, and the echoes in this simulator do the same.

Weather radar and what the colours mean

A weather radar is the same instrument aimed just above the horizon and used to measure rain. Raindrops are tiny compared with the wavelength, about 10 cm at S band, and for drops that small the echo grows with the sixth power of the drop's diameter, so one 4 mm drop returns as much as 4,096 drops of 1 mm. The quantity measured is the reflectivity factor, Z. Because it spans an enormous range, it is shown on a logarithmic scale in decibels, dBZ, where every 10 dBZ is ten times the reflectivity.

dBZColourWhat it usually meansRough rain rate
15–20Light blueDrizzle, light snow, or very light rainUnder 1 mm/h
20–30GreenLight rainAbout 0.6–3 mm/h
30–40Dark green to yellowModerate rainAbout 3–12 mm/h
40–50Yellow to orangeHeavy rain, thunderstormsAbout 12–50 mm/h
50–65RedVery heavy rain, often with hail50 mm/h and up
65+MagentaAlmost certainly hailNot meaningful as rain

The rain rates use the Marshall–Palmer relation, Z = 200R1.6, the long-standing default for turning reflectivity into rainfall. Real rates vary with the kind of rain, and above about 55 dBZ hail makes the conversion unreliable.

Distance matters too. The beam travels in a nearly straight line while the Earth curves away beneath it, so at 0.5° elevation its centre is about 5.5 km up at 240 km range. A distant storm is seen from the top, and light rain far from the radar can be missed altogether, which is one reason weather services combine many radars into a mosaic. The speckle right next to the site in weather mode is the usual close-in clutter from hills and buildings.

Reading the track symbols

The colours follow NATO's military symbology standard (APP-6): blue for friendly, red for hostile, yellow for unknown. The real standard also changes the frame shape with identity and with whether the track is in the air, on the surface, or under water, and adds green for neutral. This screen keeps it simple with a circle, a diamond, and a square. The leader line points along the track's heading and is longer for faster tracks. A track that has stopped returning echoes is drawn faintly and marked COAST in the list; after three scans with no echo it is dropped.

Good uses

Background screens for films, series, and music videos set in a control room, a ship's operations room, a submarine, or a weather office; stream and video backdrops; escape rooms and tabletop games, where you can call the alert on cue; classroom lessons on echo ranging; and ambient displays for themed events. For a long YouTube loop or a lobby screen, set EVENTS to Auto and press P to hide the panel. The simulation recycles its tracks and storms as they leave, so it runs for hours without slowing down. For OBS setup as a browser source, see the streaming toolkit.

Frequently asked questions

Is this real radar data?

No. Every aircraft, ship, submarine, storm, track number, and reading is invented and generated in your browser. Nothing is fetched from an air traffic, ship tracking, or weather service, and the screen is labelled SIMULATION. To see real aircraft or real rain, use a flight tracker or your national weather service's radar.

Why do the blips jump instead of moving smoothly?

Because that is how a rotating radar works. The beam only sees a target when it points at it, once per revolution, so the target's position is updated once per scan and stays put in between. At 12 rpm that is every five seconds. The dots behind each track are its positions on earlier scans.

How do I trigger the incoming alert?

Press A or click ⚠ RED ALERT. A fast hostile contact (a torpedo in sonar mode, a severe storm in weather mode) appears and heads for the centre, the scope rim turns red, and a banner shows its bearing, range, and ETA. Press A again to stand down. Set EVENTS to Auto to have alerts happen by themselves every 6 to 14 minutes.

Does it make sound?

Only if you ask. Sound is off every time the page loads. Press M or click ♪ SOUND to hear a sonar ping each revolution with faint echoes from the contacts in sonar mode, a soft tick in the other modes, and a two-tone alarm during an alert. It goes quiet while the video version is playing.

Can I use it in a video or on a stream?

Yes. It is free to use for videos, films, streams, presentations, classrooms, and escape rooms. Click ⛶ FULLSCREEN, or add the page as an OBS browser source. The mode, sweep speed, events setting, labels, and panel are kept in the address bar, so a copied link reopens the same setup, and the simulation runs for hours without slowing down.

Is it safe for viewers sensitive to motion or flashing?

Nothing on the screen flashes. The alert banner pulses once every two seconds and the sweep turns at 6 to 30 rpm. With reduced motion set in your operating system, the sweep starts at the slowest speed, the afterglow trail, ping rings, and pulses are off, and echoes are drawn at a steady brightness.

Does it work offline?

Once the page has loaded, the simulation makes no further network requests, so it keeps running if the connection drops. The optional VIDEO view streams from YouTube and needs a connection.

Related tools

Fill the rest of the control room with the rocket launch control console, the futuristic tech dashboard, and the live cyber attack map. Put the starfield on the main viewscreen of a spaceship set, or the oscilloscope beside the sonar operator.