Build a 3D tennis technique lab from motion capture data

A Redditor used Claude Code with Fable 5.2 to build Tennis Lab, a browser app that plays pro mocap on a 3D body model and analyses your own stroke videos on device.

Done withClaude Code· Nov 24, 2026

What they did

The poster wanted to see tennis strokes from every angle at any moment, the way technique videos never show them. They opened Claude Code on Fable 5.2 with a first prompt of more than 1,000 words describing the idea, then kept working with it on almost every part. Claude wrote the 3D scene, the ball physics, converters that turn raw motion capture files into motion a body model can play, and a video analyser that finds strokes in a clip and draws a pose overlay, all in the browser. Where a stroke was missing from the mocap data, the two of them filled it with movement simulated from forces on a body and checked it frame by frame. Claude also wrote a self-check script that tests the movement rules, ball flights and analyser against hand-labelled clips. The poster set what the app should do and what counts as correct form.

How it went

The result is a free app with seven sections (Diagnose, Strokes, Footwork, Tactics, Practice, Body, Glossary) where you can rotate the camera, slow a stroke down and scrub frame by frame, with the kinetic chain from legs to wrist shown. Videos never leave the browser. Stroke detection is free and a full comparison report against the pro data costs $39 once. The poster says the analyser is still being improved and is asking tennis subreddit posters for clips to make it more reliable.

Worth knowing

The app has a Data and method page that separates what is measured from what is modelled, which matters because some strokes are simulated rather than captured. The post is fresh with only a few comments, so nobody outside has yet checked how accurate the analyser is.

Try it

With Claude Code· 5 parts to fill in

Build a browser app that teaches [sport] technique. Convert the motion capture files in [folder of mocap data] into motion for a 3D body model, and let me orbit the camera, slow down and scrub each [stroke or movement] frame by frame. Add an analyser that finds [strokes] in a video I pick and draws a pose overlay, running entirely in the browser with no upload. Where a movement is missing from the data, propose a physics-based simulation and label it as modelled, not measured. Write a self-check script that tests the motion and the analyser against [my hand-labelled clips]. Stop and show me the results of that script before adding any new section.

Square brackets are the parts to fill in. The prompt is ours; the story is theirs.

Where they said it

Related