Play free

Fixes and answers

Fix camera problems: missed, late and wrong swings

When a webcam swing goes wrong the cause is almost always one of five things: permission, light, distance, a slow picture or a timing offset. This page walks through them in the order that finds the problem fastest.

The camera setup guide explains how to arrange the room. This page is for when you have done that and something still feels wrong. Hand cam follows your racket hand; Body cam follows your racket arm (shoulders, elbow and wrist). Both read the camera picture inside your browser with a tracker, so everything below is about giving the game a clear, quick picture of you.

Start with what the game is already telling you

Open Settings, Controls and press Camera check. Under the live picture the game writes one line of advice and colours it good, warning or bad. It is not decoration: the line comes from measuring your picture (how bright it is, how big your hand or shoulders look, how many pictures a second get through) and it changes as you move. If you do one thing from this page, stand where you play and read that line.

A missed swing is not a mystery either. When a ball goes past without a swing counting, the game says why in a few words. Here is what each one means:

The game saysWhat it sawWhat to do
LostYour hand or arm dropped out of the picture mid-swingMore light, a smaller swing, and on Body cam step back so the whole arm shows
No swingYour hand or arm hardly movedSwing across your body and swing harder
Too slowUnder the speed a swing needs (it shows both numbers)Swing faster, or raise Sensitivity
Wind-upRead as taking the racket backSwing straight through without a pause
Up/downThe movement went mostly up or downSwing across your body, like a groundstroke
Arm backYour arm returning after the last swingLet it settle before the next ball
TossThe movement was the toss, not a swingOn a serve, swing as the ball drops
Not clearSomething was seen but not countedA bigger, cleaner swing

The camera will not start

These come before any tracking and each has its own message:

  • “The camera needs a secure page.” Browsers only give cameras to pages opened over https (or from your own computer as localhost). Play from the real site address, not a copy of the file opened from a folder.
  • “The camera is blocked.” Click the camera or padlock icon in the address bar, allow the camera for this page, and try again. If the browser never asked, the block is in your computer’s own privacy settings (the camera switch in Windows or macOS settings, or a privacy shutter on the laptop).
  • “The camera can’t be opened.” Another program or tab already has it: a video call, a recording tool, a second browser. Close it and try again.
  • “No camera was found.” Plug one in, or choose another control. The mouse, phone and controller need no camera.
  • “This camera wouldn’t start with the picture the game asks for.” Rare: the game asks for 640 by 480 first, then for anything at all. Try another camera.
  • The tracker could not be fetched. The hand tracker (about 10 MB) and the body tracker (about 6 MB) download once, the first time you use them. Check your connection and reload. If the body tracker cannot start on your computer, the game falls back to Hand cam and tells you.

Light: the cheapest fix

Most late or missed swings are light problems wearing a disguise. A webcam in a dim room keeps its shutter open longer, so a moving hand smears, the tracker loses it, and the camera also delivers fewer pictures a second. The game checks four things in your picture:

  • Too dark: “Too dark to see you.” Below a set brightness nothing tracks at all. Switch on a light in front of you.
  • A bit dim: tracking works but is slower and shakier. A second lamp aimed at the wall often helps more than one harsh lamp.
  • Backlit: the middle of the picture, where you stand, is much darker than the edges. A window behind you does this. Turn to face the window, or close the curtain.
  • Washed out: too much of the picture is pure white, usually from direct sun or a lamp pointing at the lens. Turn away from it.

Where your browser allows it, the game asks the camera for a faster shutter (a sixtieth of a second) when the picture is bright enough, and gives control back when it is not. If the shutter stays slow, the advice line says so with a number: “The camera is exposing for 33 ms, so a swing smears and the hand drops out”. The answer is more light on you.

Distance and framing

Hand cam judges distance from the size of your palm. “Step back a little: your hand is too close” and “Come a little closer: your hand looks small” are the two ends. Your hand should stay inside the picture on both sides of your body, and keep it open towards the camera: a fist or the edge of a hand is a hard shape to find.

Body cam judges distance from the width of your shoulders. At about two metres your shoulders take roughly a sixth of the picture’s width. Over about 30 percent, the game asks you to step back, because a swing sweeps about 1.6 shoulder widths to each side and needs room. Under about a tenth, you look too small to track well. If the game says “One shoulder is out of the picture”, move toward the middle. Wear a top that stands out from the wall behind you.

One person only. Body cam follows one person, whoever it finds first, and it prefers a whole body to a cropped one. A second person standing behind you can take over the tracking. Ask spectators to stay out of the picture.

A slow computer or a slow camera

With a camera running, the Camera check shows a Camera timing card with four live numbers: the camera’s own speed in pictures a second, the time the tracker needs for each picture, the time from picture to game (with how much it wobbles), and how long after its peak a swing is heard. The card also gives one line of advice:

What the card findsWhat it means
Under 3 pictures a secondAlmost nothing is getting through. Close other apps and tabs, and check that the camera is not covered or in use elsewhere.
Under 12 a secondSwings are heard a good fifth of a second late and fast ones can be missed. A brighter room helps most, because cameras slow down in dim light.
12 to 19 a secondPlayable but better with more light or other apps closed.
Tracker over 45 ms a pictureThe computer is the slow part. Close tabs and apps, or lower Graphics quality in Settings.
Pictures arrive unevenly (more than 25 ms wobble)Timing varies from swing to swing. Closing other apps usually calms it.

The game and the tracker share your computer. Lowering Graphics, Quality (see the performance guide) gives the tracker more of the processor. On Body cam, Settings, Controls, Body cam diagnostics has a switch to run the body tracker on the processor only; try it if the outline is shaky or slow, then restart the camera. Plug a laptop into its charger too: many slow themselves down on battery.

Timing: the offset the game learns for you

Every webcam delays its pictures by an amount no web page can read: the sensor, the cable and the driver add somewhere between 30 and 120 ms, differently on every machine. Timing offset in Settings, Controls (from minus 100 to plus 250 milliseconds, starting at plus 90) tells the game how late your pictures are, so it can credit the swing to the moment you made it. Too small an offset and your swings read as late; the shot is pushed to one side every time.

You rarely need to set it by hand. Learn my timing as I play is on by default. After about ten hits that are all early or all late, it moves the offset a little (at most 60 ms at a step) and the timing bar says, for example, “Timing offset now +100 ms (was +40 ms)”. If you are already on time it leaves the offset alone. For a quick start, run the Timing step of the Camera check: a practice ball and six more come at a circle, you swing a forehand as each reaches it, and the game sets the offset from where your swings landed. It tells you if the readings varied too much to trust.

The Camera check has four steps in all: framing, sensitivity (four swings set how hard a swing must be), a swing test (a forehand, a backhand and a toss) and the timing step. Doing all four once, in the light you normally play in, fixes most cases.

Swings on the wrong side, or swings you did not make

  • Everything goes the wrong way. If your hand moves the wrong way in the preview, your camera or a virtual camera is already mirroring its picture. Switch on Flip camera picture in Settings, Controls.
  • “That looks like your left hand.” Check Plays (left- or right-handed) in Settings, Gameplay. If you play left-handed, set it to Left so forehands and backhands read the right way round.
  • Swings with no ball. Lower Sensitivity in Settings, Controls (its range is 0.6 to 1.6), keep a busy background and other people out of the picture, and avoid waving the arm between points.
  • Backhands get lost on Body cam. The body model can lose the wrist when your arm crosses your chest. Keep the swing clear of your torso.

Sending us a recording

If something still feels wrong, both camera modes can record a diagnostic session: Record a session for diagnosis in the Hand cam’s Camera check, or Body cam diagnostics in Settings, Controls. It keeps numbers only (where your hand or joints were in each picture, when, and which swings were counted). No picture, video or sound is kept, nothing is sent anywhere, it is off until you switch it on, and it is gone when you close the page. If you want us to look, save the file and attach it to a message on the contact page.

If the room cannot be lit well, the mouse, the phone racket and a controller need no light at all.