Pool and snooker, on iPhone

See the shot before you take it.

Point your phone at the table. CueSight draws where the balls go, where to aim and how hard to hit.

Free for non-commercial use. Early days: tested in the Simulator, not yet on a real table.

DemoA real run in the iOS Simulator, on the app's generated demo table. The scan is sped up.
Potted: 0

How it works

Three steps, about a minute.

No stand, no stickers on the table, no special lights. Just the phone in your hand.

The table on screen with a prompt to tap the first corner

Tap the four corners

Pick your table size, then tap where the cushions meet. That's how the app learns where the table is.

Scanning the balls, with a coverage map filling in

Walk round to scan

Hold the phone at chest height and walk along the table. A small map fills in as each part gets seen.

The view from behind the cue ball, lined up, with a red dot where to strike

Pick a shot, then line up

Choose one of up to three shots. Step behind the cue ball and the app tells you when you're on the line.

The shot, drawn for you

Up to three shots, easiest first.

Each one says which pocket, how hard to hit and where on the cue ball. Tap through them and pick the one you like.

  • Where the cue ball goes
  • Where the object ball goes
  • Where the cue ball ends up after
  • The ghost ball: aim here
A shot option on a pool table: white line to the ghost ball, yellow line into the pocket, dashed light blue line for the cue ball after contact

Features

Made for a real night at the table.

The review screen, with a ring on every ball that was found

Fix any ball by hand

Check what the scan found. Drag a ring to move a ball, add one it missed, or remove one it made up.

Shot lines drawn on a blue cloth table

Green, blue or red cloth

The line colours were checked on every common cloth, so they stay easy to read off tournament green too.

The scan screen with very large text, still fitting on screen

Large text and VoiceOver

Panels grow with your text size, and every shot can be read out loud.

Off a cushion, with spin

Kicks off one cushion, follow and draw, and a simple throw correction for when balls rub.

Pool and snooker

7, 8 and 9 ft pool, full-size and 10 ft snooker, with basic 8-ball and snooker rules if you want them.

Stays on your phone

No account and no server. Camera frames are never saved or sent anywhere, and a check in the repo makes sure of it.

Install

Up and running in minutes.

You need a Mac with Xcode 16 or newer, and nothing else. It isn't on the App Store yet, so you build it yourself.

Pick the CueSight scheme and an iPhone Simulator, then press Run. The Simulator gets a generated demo table in place of the camera. For a real iPhone (iOS 17 or newer), set your own team under Signing and change the bundle id from com.example.cuesight.

Get it and open it
$ git clone https://github.com/abozaralizadeh/CueSight.git
$ cd CueSight
$ open CueSight.xcodeproj
Run the tests, no phone needed
$ cd CueSightKit
$ swift test
Run the app's scan on a generated table
$ swift run -c release cuesight-bench session --table pool8

FAQ and limits

The honest bit.

It's early. Here's where things really stand.

Has it been tested on a real table?

Not yet. Every number so far comes from generated tables on a Mac, with lamps, shadows, noise and hand shake added. A real table and a tape measure are next.

How accurate is it?

On generated 9 ft tables, half the balls are found within about 2 mm of where they really are, and 95% within about 4 mm. Red cloth is the weak spot: maroon balls blend in, so only about 93% get found and you add the rest by hand. Real-world numbers are still unknown.

Which iPhones will it run on?

Any iPhone on iOS 17 or newer, because it uses ARKit. You don't need LiDAR. The camera code builds for a real phone but hasn't run on one yet.

Is it on the App Store?

No. For now you build it from the source with Xcode.

Does it send anything anywhere?

No. There's no account and no server, and camera frames never leave the phone. A script in the repo fails if networking or image saving ever sneaks into the app.

Can I use it in a commercial product?

Not without permission. It's source available and free for non-commercial use, under PolyForm Noncommercial 1.0.0. To ask about commercial use, open a GitHub issue.

Got a table and a tape measure?

The most useful help right now is a real scan, plus ruler measurements of where the balls actually are. The repo has a tool that compares the two.

Share a test