Compare cataract lenses by simulating your vision before surgery

Before cataract surgery, a patient has to choose a replacement lens for each eye, and the evidence arrives as curves on a datasheet. One short prompt and about ten follow-up messages turned those curves into a working simulator. It shows the road, the computer and the phone as each lens would show them, with the two eyes set separately. It worked because the patient led AI the way you would lead a capable new hire.

Key takeaways

  • From a five-sentence prompt, AI built a simulator that shows six types of lens on three everyday reading tasks, by day and at night, with each eye set separately.
  • It got better because the patient led it like a teammate: real working distances changed the result, and one question about balancing the eyes got a plain answer, which was "only a little".
Try the simulatorEnter your vision today, choose a lens for each eye and compare a road sign, a computer screen and a phone, before and after.
Open the simulator
Set it up · Brief it like a colleague · Share what you know

Start with a short prompt

Cataract surgery replaces the eye's clouded natural lens with an artificial one, called an intraocular lens or IOL. The patient helps choose two things for each eye: the type of lens and its strength. No option wins everywhere. A lens that gives the sharpest distance vision leaves close work to reading glasses. A lens that covers more distances can add halos around lights at night. The evidence for that choice is a defocus curve, a chart of sharpness against distance, like the one here.

What the datasheet gives you

Every later figure is built on this chart. Sharpness is on the vertical axis, and distance runs from far on the left to near on the right. The curve is one eye with an extended depth of focus lens, as the simulator models it.

The curve is accurate, and it is hard to feel. What the patient wanted to know was simpler: will I be able to read the exit sign, the spreadsheet and the text message? So the prompt named those three things. It said what to build, which lens to start from, what had to be adjustable and where the numbers should come from.

The prompt, lightly edited

Let's create a cataract surgery simulation that lets me swap different lenses and shows the estimated far, intermediate and close vision if both eyes have an extended depth of focus lens. I want to be able to change the lens type in one eye to see the result. Let me enter my measured vision values where needed, and pull the rest from the lens datasheets. Far vision should be a road, intermediate should be working on a computer, and close should be reading a cell phone.

Extended depth of focus lenses stretch one focal point into a range. A second message followed before the first version was finished.

The follow-up, lightly edited

Also, I want to see before and after, so my current vision against the same images, and then compare different lens types.

That is five sentences and a follow-up. Together they cover what you would tell a colleague: a goal, a starting point, three scenes and two comparisons.

Explore · Ask for options

Put every lens on the same road

What came back was not a chart. It was three everyday reading tasks: a highway exit sign, a spreadsheet and a text message. A divider splits each one, with vision today on one side and the estimated result on the other. Choose a lens, drag the divider and switch the road sign to night.

Three reading tasks, now and after

Extended depth of focus. Stretches one focal point into a range. Distance and computer are the strong zones; phone-sized print may need light readers. This is the type named in the prompt.

Road sign20 ft
NowAfter
20/15CrispExample cataract today: 20/70
Computer3 ft
NowAfter
20/20CrispExample cataract today: 20/60
Phone18 in
NowAfter
20/30ComfortableExample cataract today: 20/50
The left side of each card is an example cataract, not the patient's own eyes: 20/70 at distance, with moderate yellowing. The right side is the simulator's estimate for the chosen lens in both eyes, aimed at distance, with the computer at 3 feet and the phone at 18 inches. It illustrates a trade-off; it is not what any one eye will see.

In the figure, the "now" side is blurred to the patient's current sharpness and tinted by the cataract. On the "after" side, the blur is calculated from the lens's curve at that distance. The prompt asked to compare lens types, so six came back, one from each main class, from a standard monofocal to a continuous-range multifocal.

It also came back with something nobody had asked for. At night, rings appear around the headlights, scaled to the lens. That is the cost side of the lenses with the best close vision, and a defocus curve does not show it at all. The same six lenses can also be compared in one view.

Six types of lens, three tasks and the night

Monofocal20/2020/3020/60no halos
Monofocal plus20/2020/2520/50● halos
Extended depth of focus20/1520/2020/30● halos
Extended depth of focus, diffractive20/1520/2020/30●● halos
Trifocal20/2020/2020/20●●●● halos
Continuous-range multifocal20/1520/2020/20●●●● halos
Every lens here reads the road sign. They differ at the phone and at night. Each row is one lens, from far on the left to near on the right, and a dot is sharp where that lens is in focus. In the model the monofocal reads 20/60 at phone distance and the two multifocal types read 20/20, and those same two draw the strongest halos. These are the simulator's estimates with the same lens in both eyes, not clinical results for any product.
Refine · Give real feedback

Use real distances and real numbers

The first version used textbook distances: a phone at about 16 inches and a computer at about 26. The patient works differently, and said so.

The feedback

Phone I want at 18 inches and computer at 3 feet.

That one line changed the result. For the same lens, the model reads 20/40 on a phone at 16 inches and 20/30 at 18. AI made the change and then questioned it. People with cataracts often hold a phone further away because close focus is already failing, and bring it back in after surgery. It suggested checking that 18 inches was a habit and not a workaround.

More feedback followed, a sentence at a time. The cataract tint was set to its minimum. The lens was named exactly, along with the right eye's numbers: an 18.0 dioptre lens, landing about a tenth of a dioptre from its target. A click now opens each scene at full size. And one message fixed two things at once.

The feedback, lightly edited

The defocus curve needs its x-axis labels fixed, they overlap. Also, where is the night mode toggle?

The night switch had been at the bottom of a side panel. It moved onto the driving scene, where anyone would look for it. None of this feedback is technical. It is what you would say to a colleague who had shown you a first draft.

Refine · Debate, don't just accept · Ask for different perspectives

Test the half-step

With the lens type chosen, the open question was strength. The right eye was settled at 18.0 dioptres, aimed at distance. Lens powers come in half-dioptre steps, and a slightly stronger lens in the left eye would move that eye's focus closer, so the pair might cover more of the day. The default plan was two matching eyes. The patient did not just accept it. Step the left eye's power here to see what the simulator said.

One eye, half a step at a time

Right eye18.0 Dlands near +0.10 D
Left eye
18.0 D
lands near +0.10 D

Where the focus lives, both eyes open

Road signComputerPhoneFar39 in20 in13 in10 in
CrispComfortableUsableStrainedNeeds glasses
Road signCrisp
20/15

Right eye 20/20 · left eye 20/20

ComputerCrisp
20/20

Right eye 20/25 · left eye 20/25

PhoneComfortable
20/30

Right eye 20/40 · left eye 20/40

Both eyes are focused at the same distance. They work fully together and there is no imbalance.

Left eye lensLands nearPhone, both eyesComputer, both eyesRoad, both eyesRoad, left eye alone
18.0 D+0.10 D20/3020/2020/1520/20
18.5 D−0.25 D20/3020/2020/1520/20
19.0 D−0.60 D20/2520/2020/2020/30
19.5 D−0.95 D20/2520/2020/2020/50
The first step barely moves the result; the third starts to cost something. At 18.5 the phone gains about half a line and nothing else changes. At 19.5 the phone reads 20/25, and the left eye on its own reads 20/50 on the road, although with both eyes open the road still reads 20/20. Both eyes carry the extended depth of focus lens, in an eye of average length.
The question, lightly edited

How can I test, say, 18.5 in the left eye to compensate for the distance in the right?

AI added the control that steps the lens power, and explained the catch. A change at the lens inside the eye is worth less at the glasses: in an eye of average length, half a dioptre of lens power moves the prescription by about a third of a dioptre. Then the scenes gave their answer. The phone improved by about half a line and still read 20/30. The computer and the road did not change.

AI said so plainly: a single half-step is a very small lever. It also gave the other side. Two or three steps is where the gain becomes visible, and the same model shows what it costs, because the left eye on its own gets weaker on the road with every step. Then it listed what the model cannot know, and who does.

What still needs the clinic

What to checkWho checks itWhy
Eye length and lens powerSurgeonHow far a step of lens power moves the prescription depends on the measured length of the eye and the surgeon's formula. The simulator uses a rule of thumb and an average eye.
Where the eye landsSurgeonResults land near the target, not exactly on it, and a small miss moves the whole curve. Ask how close the practice's results usually run.
Numbers from memoryClinic recordThe right eye's landing was entered from memory. It is the one input that shifts everything else, so it should come from the record.
Eye healthEye examThe macula, cornea and optic nerve set a ceiling on sharpness that no lens can raise.
A difference between the eyesContact lens trialSome people never notice a small offset and some dislike it. Trying it with a contact lens first is the usual test, because an implanted lens is not easily changed.
Night drivingPatient and surgeonThe halos are drawn to scale between lens types, but they are a drawing. If night driving matters, say so before choosing.
The takeaway

A good-looking simulator is still a model. Its curves are approximations of published data, measured in bright light, and it assumes each lens lands exactly where it was aimed. It makes a trade-off visible and a question specific. It is not a prediction for any eye, and it is not medical advice.

Carry it forward · Build on previous work · Keep ownership

Take it to the surgeon

Every request built on the one before, in the same simulator. A later addition let the patient load photos of their own road, desk and phone, with the same blur, tint and halos on top. Then the work carried forward once more: the simulator on this page is a simpler rebuild on the same model, with plain reading cards and a dot view for comparing lenses. It also says where it belongs. It asks the patient to take it to the surgeon and not to treat the numbers as a prediction.

Four ways to understand a lens choice

FormatWhat the patient seesThe two eyes togetherWhen a new question comes up
BrochureLens names and a list of benefits.Not shown.A call to the clinic.
Defocus curveSharpness against distance, one lens at a time.Usually one eye.Another chart to find and read.
Contact lens trialA difference between the eyes, felt for real.Yes, in the patient's own vision.New lenses and another visit.
SimulatorTheir own road, desk and phone, before and after.Each eye set separately, shown together.A new estimate in the same sitting.
These formats are not rivals. The curve is the evidence and the contact lens trial is the real test. The simulator earns its place between them, when the question is "what would this mean for my day?"

An appointment is short, and "which lens would you like?" is a hard question to answer cold. A patient who has dragged the divider across their own three scenes arrives with better questions. What happens to my phone at 18 inches? How much difference between my eyes would I notice? How close to the target do your results usually land? The surgeon still measures, advises and operates. The patient still decides, and is better prepared to.

Eight habits, one decision

Nothing here needed technical skill. It needed what good managers already do: set context, delegate clearly, review the work, give feedback and own the outcome.

The habits, as used on this project

PhaseHabitWhat it looked like here
Set it upBrief it like a colleagueA five-sentence prompt: what to build, the lens to start from, what must be adjustable and three scenes from daily life.
Set it upShare what you knowThe exact lens, the right eye's power and where it landed, and real working distances: 18 inches and 3 feet.
ExploreAsk for different perspectivesOne question about balancing the eyes brought back both sides of the trade, and a list of what only the clinic can measure.
ExploreAsk for options"Show against different lens types." Six came back, on the same three scenes, by day and at night.
RefineGive real feedbackA sentence at a time: change the distances, turn down the tint, fix the overlapping labels, move the night switch, make the scenes bigger.
RefineDebate, don't just acceptThe patient tested the default plan with a half-step in one eye. The answer was that a half-step does very little, and the model showed why.
Carry it forwardBuild on previous workEvery request extended the same simulator, and the simpler version on this page was rebuilt on the same model.
Carry it forwardKeep ownershipRemembered numbers get confirmed from the record. The surgeon owns the measurements and the plan; the patient owns the choice.
The habits that changed the result were sharing real numbers and questioning the default. The patient's own distances moved the phone from 20/40 to 20/30, and the question about one eye replaced a hunch with an estimate.

The use cases behind it

A lens simulator sounds like a niche job. Underneath, it is five general use cases from the Rappel AI Use Case Guide, and each one applies well beyond an eye clinic. Select any of them to open the guide.

Where else this applies

The pattern is the same wherever someone has to choose between options that are described in a datasheet and felt in daily life:

  • Healthcare. Patient education for any treatment with trade-offs, shown as everyday tasks and reviewed with the clinician.
  • Financial services. A mortgage, a pension or an insurance plan, shown as a household's month and not as a rate table.
  • Equipment and product sales. A specification sheet turned into what the customer will see, hear or wait for.
  • Benefits and HR. Plan options compared against an employee's own year.

Your turn

Pick one choice your customers or colleagues find hard because the facts arrive as a table or a chart. Then lead AI through it as a teammate: brief it in a few plain sentences, name the everyday situations that matter, and give it real numbers and three rounds of feedback. Before you share the result, ask it what the model cannot know, and who does.

AI Use Case Guide

See where AI can help your business.

Nine common business problems, eight areas and 44 use cases, with questions to take to your leadership team. Start from a problem you recognize and see which use cases fit.