Version 0.9
How to Use
Eye Refraction Simulator lets you experience how myopia, hyperopia, astigmatism and presbyopia change the way the eye sees.
It applies a calculation of the blur caused by the eye's refractive error to an image (a sample, the camera, or a photo from Photos), and lets you switch between it and the original image.
With images that have depth data (the distance to each object in the image), it also shows how the blur differs between what you are looking at and objects nearer or farther away.
It cannot be used for diagnosis, treatment or prescribing glasses. The numbers are literature-based estimates, and how things look differs between people.
Basic Usage
-
1. Set the refraction.
On the upper row of the bottom bar, pressing the "︿" on the right of the "Sphere (PWR)", "Cylinder (CYL)" or "Axis (AXIS)" button shows the vertical slider of that value in a balloon. You can enter the values of a glasses or contact lens prescription as they are. -
2. Set the accommodation.
With the "︿" of "Accom." on the right of the same row, set the accommodation (the power to focus on near objects). It becomes smaller with age ("Accommodation and Age"). -
3. Set the viewing distance.
On the lower row of the bar, move the blue circle with the ruler mark on the distance slider (left = near, right = far). With images that have depth data, pressing an object on the screen sets the distance to that object. The thumb with the eye mark inside a dotted ring shows where the eye focuses (it moves by itself). -
4. Choose the image.
Choose from the list of samples with the Samples button. Choose the camera or a photo from Photos with the 3rd button of the right column.
Main Screen
The panel name and the zoom ratio are at the top, buttons are on the left and right of the upper half, and one bar is at the bottom (the upper row has the four buttons for refraction and accommodation, and the lower row has the distance slider and the "Original" button). Ten seconds after the last operation the buttons and the bar are hidden. Tap the screen to show them again.
Text at the top
- Panel name: at the top center. The 1st line is "Simulated view" ("Original" while the original image is shown). The 2nd line shows the symbols and values in use ("PWR −2.00 · CYL −1.00 · AXIS 180° · 2.0 m"). Values that are turned off are not shown.
- Without depth data: the distance part of the 2nd line takes the form "No depth data · assumed 2.0 m" (the whole screen is shown as objects at that distance).
- Zoom ratio: at the top right ("Zoom:100%").
- "Using research values": at the top right while research values are used. A mark "*" follows the 1st line of the panel name.
Upper buttons (left and right columns): the same arrangement as Eye Age Simulator, with Torch and Disable Cont. Auto Focus added to the left column.
- Settings: (left column, 1st) shows the settings screen.
- Samples: (left column, 2nd) shows the list of samples.
- Torch: (left column, 3rd) turns the camera light on. Press again to turn it off. It cannot be pressed on a device without a light, while frozen, or when the input is not the camera.
- Disable Cont. Auto Focus: (left column, 4th) stops the camera from continuously refocusing. Press again to restore it. It is the same setting as "Cont. Auto Focus OFF" in the settings. It can be pressed only with the camera, and it is shown only when the screen is tall enough for 4 rows.
- Freeze: (right column, 1st, with the camera) freezes the camera video. With the samples, the same place is the button that starts and stops the automatic change.
- Save: (right column, 2nd) saves the image on the screen to Photos.
- Image Source: (right column, 3rd) chooses the rear camera, the front camera or a photo from Photos.
The Four Buttons for Refraction and Accommodation
On the upper row of the bar, the four buttons are arranged in three islands: [Sphere (PWR)] [Cylinder (CYL) | Axis (AXIS)] [Accom.]. Each button always shows its name and current value.
- Press: turns that button on or off. The value is kept while it is off (turning it back on applies that value). Buttons that are off are dimmed.
- Long press: leaves only that button on.
- "︿": shows the vertical slider of that value in a balloon. Press outside it or press "︿" again to close it.
| Button | Range and step | Meaning |
|---|---|---|
| Sphere (PWR) | −10.00 to +10.00 D, in steps of 0.25 D | Power for myopia (minus) or hyperopia (plus) |
| Cylinder (CYL) | −8.00 to 0.00 D, in steps of 0.25 D | Power of astigmatism (minus cylinder form) |
| Axis (AXIS) | 1 to 180°, in steps of 1° | Direction of astigmatism ("Direction of the Axis") |
| Accom. | 0 to 15 D, in steps of 0.5 D | How near the eye can focus |
- The Axis button cannot be pressed while Cylinder is off or 0.00 (the direction has no meaning then).
- When the app is first opened, all four are off ("When All Four Are Off"). The initial values are Sphere −2.00, Cylinder 0.00, Axis 180° and Accom. 9.5 D (the average at age 30); turning a button on applies its value.
When All Four Are Off
Values that are turned off are treated as follows. With all four off, the eye is emmetropic (no refractive error) with the largest accommodation (15 D). A young emmetropic eye focuses at the viewing distance anywhere from far away to near objects.
- Sphere or Cylinder off → 0.00 D (no error)
- Axis off → 180° (the reference direction)
- Accom. off → the top of the range (15 D)
With images that have depth data, near objects away from the viewing distance are still blurred with all four off (the eye can accommodate to only the one place it is looking at).
The Symbols PWR, CYL and AXIS
The symbols on the buttons and in the panel name are the column symbols of glasses and contact lens prescriptions.
| Symbol | Name | Other forms on prescriptions |
|---|---|---|
| PWR | Sphere (refractive power) | S, SPH |
| CYL | Cylinder (power of astigmatism) | C |
| AXIS | Axis (direction of astigmatism) | A, AX |
You can enter the values of a prescription as they are. For a prescription written with a plus cylinder, setting the sum of sphere and cylinder as the sphere, the cylinder with the opposite sign, and the axis turned by 90° gives the same eye (the app keeps the minus cylinder form).
Direction of the Axis
The axis angle follows the same rule as glasses prescriptions (the TABO scale: seen from the examiner, 0° is on the right, angles increase counterclockwise, and the scale is the same for the right and left eyes). Seen from the person looking out, left and right are reversed, so the following lines are blurred on the screen (a minus cylinder blurs lines parallel to its axis).
| Axis | Blurred lines |
|---|---|
| 180° (and 0°) | Horizontal lines |
| 90° | Vertical lines |
| 1 to 89° | Lines falling to the right "\" |
| 91 to 179° | Lines rising to the right "/" |
Figure: a grid image shown with cylinder −4.00 at axis 45° and at axis 135°. The blurred lines are those falling to the right "\" at axis 45° and those rising to the right "/" at axis 135° (the orange arrow at the top left shows the direction of the blurred lines).
Accommodation and Age
Accommodation becomes smaller with age. The average is given by Hofstetter's formula "18.5 − 0.3 × age" (D).
| Age | 20 | 30 | 40 | 45 | 50 | 55 | 60 or older |
|---|---|---|---|---|---|---|---|
| Average accommodation (D) | 12.5 | 9.5 | 6.5 | 5.0 | 3.5 | 2.0 | 0.5 or less |
When the accommodation is smaller than "the dioptric distance of the object + the myopic or hyperopic part", the eye cannot focus on what it is looking at, and it sees as a presbyopic eye does.
The Distance Slider and "Original"
The distance slider has two thumbs.
- The blue circle with the ruler mark: the viewing distance. You can move it with your finger. It is always drawn in front.
- The thumb with the eye mark inside a dotted ring: where the eye focuses. It is the distance the eye actually focuses on, and it moves by itself by calculation. You cannot move it with your finger (it does not react when touched). When the eye can focus on the viewing distance, the two thumbs are at the same position and the ring is seen around the blue circle. When the eye cannot focus on it (presbyopia, myopia, hyperopia, and so on), the two thumbs separate and the space between them becomes a light blue band.
- The 2 lines on the left: two lines are shown on the left of the slider (there is no "Distance" heading). The upper line is the ruler mark and the viewing distance; the lower line is the eye mark and the eye focus. Values are shown in the form "35 cm", "2.0 m" or "Far". Left is near and right is far ("Far" beyond 5 m).
- The viewing distance can also be moved with two fingers up and down (up = farther; half the screen height changes it by 4 D).
- The near end: it depends on the image. It is 10 cm for images without depth data (including photos without depth data); for images with depth data (including photos with depth data), it is the distance of the nearest object in the image; for the camera, it is the nearest distance that camera can focus on (the value the OS reports). The same idea applies when distances are measured with LiDAR on an iPhone or iPad.
- Original: not only while pressed; pressing it switches to the original image, and pressing it again returns to the simulated view (it is not remembered; the app always starts with the simulated view).
Samples and Images with Depth Data
The list of samples has two kinds of images.
- Images with depth data: images in which the distance of each object is known (CG scenes). Objects at the viewing distance are sharp, and nearer or farther objects are blurred according to the eye's refractive error.
- Night light images (HDR): they have no depth data; the whole screen is shown as objects at the viewing distance.
How to look at images with depth data
- Pressing an object on the screen sets the viewing distance to the distance of that object (you see as if focusing on it).
- Press a far object to look far away, or the book in front to look near. A myopic eye sees the near book sharp and the distance blurred; a presbyopic eye sees the distance sharp and the book blurred.
- When an image without depth data is opened, "No depth data. The whole image is shown at one distance." is shown.
- Photos with depth data:
- The depth of an iPhone photo can be read in the iPhone version (on iPhone 15 and later, depth data is saved even in the normal photo mode when the photo has a person or an animal, or an object you tapped to focus on). The Android version and the Web Edition do not read the depth of an iPhone photo (the photo is shown as an image without depth data).
- The depth of a photo taken in Portrait mode on Android (the Dynamic Depth format, on a Pixel or a similar phone) can be read in all three versions: iPhone, Android and Web Edition. A photo taken with the Pixel setting "Social media depth features" is shown as an image without depth data.
- Blur that was already in the photo when it was taken cannot be removed (objects outside the focus do not become sharp).
- Photos that suit the app: objects spread between 50 cm and a few meters, no extremely close object, and the focus near the middle of the picture.
The app starts with the samples, which change automatically about every 8 seconds (the same operation as Eye Age Simulator; while playing, swipe left or right with one finger for the next or previous sample).
Image Source (Camera and Photos)
With the 3rd button of the right column, choose the rear camera, the front camera or a photo from Photos. A photo with depth data uses its depth (see "How to look at images with depth data"). A photo without depth data is shown with the whole screen as objects at the viewing distance.
Camera
The camera video has no depth data, so the whole screen is shown as objects at the viewing distance.
- Pointing the camera somewhere else, pressing the screen, or moving the ruler: first the camera focuses on that distance, and it becomes the viewing distance. When the eye cannot focus on that distance (presbyopia, myopia, hyperopia, and so on), after a short delay the eye thumb and the camera focus move to the eye focus distance. The screen shows the blur as seen by that eye.
- The near end of the slider is the nearest distance that camera can focus on (the value the OS reports; about 15 cm on iPhone 15).
iPhone and iPad (models with LiDAR)
iPhone and iPad models with LiDAR (a distance sensor) measure the distance with LiDAR only. They do not switch to the ultra-wide camera at close range.
Android
Android uses the calibrated focus distance that the device reports, as it is (on devices without calibration it is not set automatically; set it with the slider).
Limits of the camera view: The camera video already contains the blur of the camera lens. Objects at the viewing distance are shown correctly, but for objects at other distances the app's blur is added on top of the camera's blur, so they may look more blurred than with a real eye (the blur cannot be removed from the video). To see how depth looks correctly, use the samples with depth data.
How Each Device and Type of Image Looks
This section summarizes, for each device, what you can show and how it looks. "Blur changes with the distance of each object" happens when depth data (the distance of each object) can be read. When it cannot be read, the whole screen is blurred in the same way.
iPhone and iPad (Models with LiDAR)
Models with LiDAR (a distance sensor), such as iPhone 15 Pro and iPad Pro.
| What you show | How it looks | Notes |
|---|---|---|
| Sample images | The 15 scenes with depth data change their blur with the distance of each object (they are CG images with no shooting information, so the blur already in them is overlaid as it is; see "How the Blur Already in a Photo Is Handled"). The 3 night light scenes are blurred in the same way over the whole screen | When you choose a night light scene from the list, "No depth data. The whole image is shown at one distance." is shown |
| Photo taken with this device's camera (normal photo mode, with depth data) | The blur changes with the distance of each object. The blur already in the photo is subtracted when the focal length and F number are available (see "How the Blur Already in a Photo Is Handled"; otherwise it is overlaid as it is) | Depth data is saved on iPhone 15 and later, for a photo with a person, an animal, or an object you tapped. Blur that was in the photo when it was taken cannot be removed |
| Photo taken with this device's camera (normal photo mode, without depth data) | The whole screen is blurred in the same way | "No depth data. The whole image is shown at one distance." is shown |
| Photo taken with this device's camera (Portrait mode, a camera mode that blurs the background) | The image before blurring is used, and the blur changes with the distance of each object. The blur already in the photo is subtracted when the focal length and F number are available (see "How the Blur Already in a Photo Is Handled"; otherwise it is overlaid as it is). When the image before blurring cannot be obtained, the Portrait mode blur is subtracted by an estimate (see "How the Blur Already in a Photo Is Handled") | The first time, you are asked for permission to access Photos. Without it, "To use the image before blurring, allow access to Photos." is shown and the blurred image is opened (the amount of blur is corrected by an estimate, so there is some error) |
| iPhone photo received by AirDrop (when the sender turned on "Options" > "All Photos Data" on the share screen) | The image before blurring is used, and the blur changes with the distance of each object. The blur already in the photo is subtracted when the focal length and F number are available (see "How the Blur Already in a Photo Is Handled"; otherwise it is overlaid as it is) | For a Portrait mode photo. The image before blurring, the depth data, the focal length and the F number remain |
| iPhone photo received by AirDrop (when the sender turned off "Options" > "All Photos Data" on the share screen) | The blur changes with the distance of each object. The Portrait mode blur is subtracted by an estimate (see "How the Blur Already in a Photo Is Handled") | One blurred photo remains. The depth data, the focal length and the F number remain, but the image before blurring does not |
| Photo received through the Messages app | The depth data is removed, so the whole screen is blurred in the same way | "No depth data. The whole image is shown at one distance." is shown. The focal length and F number remain |
| Photo received through a social media app | When the depth data does not remain, the whole screen is blurred in the same way | "No depth data. The whole image is shown at one distance." is shown |
| Photo taken on Android (Pixel and others) (Portrait mode) | The blur changes with the distance of each object. The blur already in the photo is subtracted when the focal length and F number are available (see "How the Blur Already in a Photo Is Handled"; otherwise it is overlaid as it is). The image before blurring in a Pixel photo is not used | The Pixel Portrait mode blur is overlaid as it is |
| Photo taken on Android (Pixel and others) (other than Portrait mode) | The whole screen is blurred in the same way | "No depth data. The whole image is shown at one distance." is shown. The same is true for a photo taken with the Pixel "Social media depth features" |
| Photo taken with a digital camera | The whole screen is blurred in the same way | "No depth data. The whole image is shown at one distance." is shown |
| HEIC photo (with depth data) | The blur changes with the distance of each object. The blur already in the photo is subtracted when the focal length and F number are available (see "How the Blur Already in a Photo Is Handled"; otherwise it is overlaid as it is) | — |
| HEIC photo (without depth data) | The whole screen is blurred in the same way | "No depth data. The whole image is shown at one distance." is shown |
| Rear camera | LiDAR measures the distance, and the blur changes with the distance of each object. The blur already in the camera video is overlaid as it is | Right after startup, "No depth data" is shown and goes away when the LiDAR distance is input. It may look more blurred than with a real eye |
| Front camera | The whole screen is blurred in the same way. You set the viewing distance with the slider | "No depth data" is shown |
iPhone and iPad (Models without LiDAR)
| What you show | How it looks | Notes |
|---|---|---|
| Sample images | Same as the models with LiDAR | Same |
| Photo taken with this device's camera (normal photo mode, with depth data) | Same as the models with LiDAR | Same |
| Photo taken with this device's camera (normal photo mode, without depth data) | Same as the models with LiDAR | Same |
| Photo taken with this device's camera (Portrait mode, a camera mode that blurs the background) | Same as the models with LiDAR | Same |
| iPhone photo received by AirDrop (when the sender turned on "Options" > "All Photos Data" on the share screen) | Same as the models with LiDAR | Same |
| iPhone photo received by AirDrop (when the sender turned off "Options" > "All Photos Data" on the share screen) | Same as the models with LiDAR | Same |
| Photo received through the Messages app | Same as the models with LiDAR | Same |
| Photo received through a social media app | Same as the models with LiDAR | Same |
| Photo taken on Android (Pixel and others) (Portrait mode) | Same as the models with LiDAR | Same |
| Photo taken on Android (Pixel and others) (other than Portrait mode) | Same as the models with LiDAR | Same |
| Photo taken with a digital camera | Same as the models with LiDAR | Same |
| HEIC photo (with depth data) | Same as the models with LiDAR | — |
| HEIC photo (without depth data) | Same as the models with LiDAR | Same |
| Rear camera | The whole screen is blurred in the same way. The viewing distance is input automatically from the position of the camera lens | The distance is an estimate, so it is shown like "about 2 m" (a guide). It may be off depending on the model and the unit (see "How the Distance Is Estimated from the Camera Lens"). "No depth data" is shown |
| Front camera | The whole screen is blurred in the same way. You set the viewing distance with the slider | "No depth data" is shown |
Android
| What you show | How it looks | Notes |
|---|---|---|
| Sample images | The 15 scenes with depth data change their blur with the distance of each object (they are CG images with no shooting information, so the blur already in them is overlaid as it is; see "How the Blur Already in a Photo Is Handled"). The 3 night light scenes are blurred in the same way over the whole screen | When you choose a night light scene from the list, "No depth data. The whole image is shown at one distance." is shown |
| Photo taken on iPhone (normal photo mode, with depth data) | The whole screen is blurred in the same way (the depth data of an iPhone cannot be read) | "No depth data. The whole image is shown at one distance." is shown |
| Photo taken on iPhone (normal photo mode, without depth data) | The whole screen is blurred in the same way | "No depth data. The whole image is shown at one distance." is shown |
| Photo taken on iPhone (Portrait mode, a camera mode that blurs the background) | The whole screen is blurred in the same way (the depth data and the image before blurring of an iPhone cannot be read) | "No depth data. The whole image is shown at one distance." is shown |
| Photo received through the Messages app | The depth data is removed, so the whole screen is blurred in the same way | "No depth data. The whole image is shown at one distance." is shown. The focal length and F number remain |
| Photo received through a social media app | When the depth data does not remain, the whole screen is blurred in the same way | "No depth data. The whole image is shown at one distance." is shown |
| Photo taken on Android (Pixel and others) (Portrait mode) | The blur changes with the distance of each object. If the photo contains the image before blurring, that image is used. The blur already in the photo is subtracted when the focal length and F number are available (see "How the Blur Already in a Photo Is Handled"; otherwise it is overlaid as it is) | For a photo that does not contain the image before blurring, the Pixel blur is overlaid as it is |
| Photo taken on Android (Pixel and others) (other than Portrait mode) | The whole screen is blurred in the same way | "No depth data. The whole image is shown at one distance." is shown. The same is true for a photo taken with the Pixel "Social media depth features" |
| Photo taken with a digital camera | The whole screen is blurred in the same way | "No depth data. The whole image is shown at one distance." is shown |
| HEIC photo (with depth data) | It opens. Depth data cannot be read (even depth data in the Apple format), so the whole screen is blurred in the same way | Checked on Android 16 (Pixel 8). When the OS cannot open HEIC, "Image File Load Error" is shown |
| HEIC photo (without depth data) | It opens. The whole screen is blurred in the same way | Checked on Android 16 (Pixel 8). When the OS cannot open HEIC, "Image File Load Error" is shown |
| Rear camera | The whole screen is blurred in the same way. On devices that report the focus distance, the viewing distance is input automatically | On devices that do not (such as fixed focus), set it with the slider (see "How the Distance Is Estimated from the Camera Lens"). "No depth data" is shown |
| Front camera | It works. There is no depth data, so the whole screen is blurred in the same way. The viewing distance is not input automatically, so you set it with the slider | "No depth data" is shown |
Web Edition
| What you show | How it looks | Notes |
|---|---|---|
| Sample images | The 15 scenes with depth data change their blur with the distance of each object (they are CG images with no shooting information, so the blur already in them is overlaid as it is; see "How the Blur Already in a Photo Is Handled"). The 3 night light scenes are blurred in the same way over the whole screen | When you choose a night light scene from the list, "No depth data. The whole image is shown at one distance." is shown |
| Photo taken on iPhone (normal photo mode, with depth data) | The whole screen is blurred in the same way (the depth data of an iPhone cannot be read) | "No depth data. The whole image is shown at one distance." is shown |
| Photo taken on iPhone (normal photo mode, without depth data) | The whole screen is blurred in the same way | "No depth data. The whole image is shown at one distance." is shown |
| Photo taken on iPhone (Portrait mode, a camera mode that blurs the background) | The whole screen is blurred in the same way (the depth data and the image before blurring of an iPhone cannot be read) | "No depth data. The whole image is shown at one distance." is shown |
| Photo received through the Messages app | The depth data is removed, so the whole screen is blurred in the same way | "No depth data. The whole image is shown at one distance." is shown. The focal length and F number remain |
| Photo received through a social media app | When the depth data does not remain, the whole screen is blurred in the same way | "No depth data. The whole image is shown at one distance." is shown |
| Photo taken on Android (Pixel and others) (Portrait mode) | The blur changes with the distance of each object. If the photo contains the image before blurring, that image is used. The blur already in the photo is subtracted when the focal length and F number are available (see "How the Blur Already in a Photo Is Handled"; otherwise it is overlaid as it is) | For a photo that does not contain the image before blurring, the Pixel blur is overlaid as it is |
| Photo taken on Android (Pixel and others) (other than Portrait mode) | The whole screen is blurred in the same way | "No depth data. The whole image is shown at one distance." is shown. The same is true for a photo taken with the Pixel "Social media depth features" |
| Photo taken with a digital camera | The whole screen is blurred in the same way | "No depth data. The whole image is shown at one distance." is shown |
| HEIC photo (with depth data) | Some browsers cannot open it (Safari can). Depth data cannot be read, so the whole screen is blurred in the same way | When it does not open, "This browser cannot open HEIC. Please convert it to JPEG and open it (Safari can open it as it is)." is shown |
| HEIC photo (without depth data) | Some browsers cannot open it (Safari can). When it opens, the whole screen is blurred in the same way | When it does not open, the same message is shown |
| Rear camera | The whole screen is blurred in the same way. You set the viewing distance with the slider | Works only on HTTPS pages. When it cannot be used, the message "The camera cannot be used" is shown |
| Front camera | The whole screen is blurred in the same way. You set the viewing distance with the slider | Same as above |
How the Distance Is Estimated from the Camera Lens
For camera video without depth data (the rear camera without LiDAR), the viewing distance is estimated from information about the lens.
- iPhone and iPad: The distance is converted from the lens position that the OS reports. Two points are joined by a straight line: the lens position when the focus is on far away (infinity) and the lens position when the focus is on the nearest distance. The distance is decided by where the current lens position is on that line (beyond the infinity position, it is far). For the conversion, the app uses the value of a measured model (iPhone 15, iPad mini (6th generation), iPhone 13 mini, iPhone 17, iPhone 18 Pro) or a standard value. When it does not match the real distance, you can adjust it with "Infinity lens position" in the research settings.
- Android: The focus distance that the device reports is used as it is. It is input only while the focus is locked. On a device that does not report it, the distance cannot be decided automatically.
How the Blur Already in a Photo Is Handled
- Blur in the photo: A photo already contains the blur of the lens from when it was taken.
- It cannot be made sharp: The app cannot make a blurred photo sharp again.
- Subtract: When the app adds the blur of the eye, it adds only the amount left after taking away the blur already in the photo. This way, blur is not added twice.
- Where the photo blur is larger: Where the blur in the photo is larger than the blur of the eye (such as an out-of-focus background), the photo blur is shown as it is.
What No Device Can Do
- Size of the pupil: An individual's pupil cannot be measured. The app uses a fixed size for the dark, or a value calculated from the brightness of the image, the field of view and the age.
- Blur in the photo: Blur already in a photo cannot be made sharp again. Where it is larger than the blur of the eye, the photo blur is shown as it is (see "How the Blur Already in a Photo Is Handled").
- Distance as a guide: For a photo whose depth data has an unknown distance scale, the values are shown as distances as they are, and "Approximate distance" is added to the panel name.
- Images without depth data: The whole screen is shown as objects at one distance, so the difference in blur by distance is not shown.
- Measuring distance from the camera video: Only LiDAR (the rear camera of iPhone and iPad models with LiDAR) measures distance from the camera video. Depth data inside a photo is used if it is in a readable format, even when it was made by the parallax of two or three cameras or by the front TrueDepth camera.
Zoom and Freeze
Pinch to zoom in (100 to 500%). Drag with one finger to move the image (when the image is larger than the screen). Double-tap to reset the zoom and position. A long press on the screen freezes the camera video (when "Freeze on Long Press" is on in the settings).
The size of the blur is calculated from the angle of the range visible on the screen. When you zoom in, the blur also looks larger by the same ratio (see "Size of the Blur" in the Theory).
Saving Images
Pressing the Save button saves the image on the screen to Photos. When "Embed Text in Saved Images" is on in the settings (the initial value), the panel name (PWR, CYL, AXIS and distance on the 2nd line) is overlaid at the top left of the saved image. While research values are used, the same mark "*" as on the screen is added.
Settings
The gear button opens the settings screen. From the top, it has the following sections.
- SAVE: "Embed Text in Saved Images"
- CONTROLS: "Freeze on Long Press", "Save on Volume", "Cont. Auto Focus OFF"
- SOUND: "Save Sound", "Volume"
- Color Space: "Automatic", "sRGB"
- RESEARCH: "Research settings" (opens the "Research Settings" screen below)
- OTHER: "Reset", "How to Use" (opens this page), "Privacy Policy", "Website"
- APPLICATION INFO.: "Version", "Copyright © 2026"
Research Settings
The current pupil size is shown at the top. The optical values of the eye (fixed pupil size, longitudinal chromatic aberration, spherical aberration, field of view, white luminance and age) can be opened by section and changed one by one with a slider or a number.
- Dark pupil: when on, the pupil is fixed to the size in the dark (when off, it is set automatically from the brightness of the image).
- Refraction reference position: choose "Eye surface" (contact lens power) or "Spectacle plane" (glasses power). When "Spectacle plane" is chosen, "Distance to spectacle plane" (0 to 30 mm, initial value 12 mm) is shown. Glasses power is converted to the power at the eye surface for the calculation (the stronger the power, the larger the difference).
- There are also "Infinity lens position" (the lens position of iPhone and iPad; "Reset to default" restores it), "Use LiDAR depth" (only on iPhone and iPad with LiDAR), "Reset to General Values", and "Save Values as JSON" and "Load JSON" (the set of values; the same format as the Web Edition).
While research values are used, "Using research values" is shown at the top right of the screen and on the settings screen, and the mark "*" follows the panel name.
The last state (the values and on/off of the four buttons, the viewing distance and so on) is remembered automatically. "Reset" returns everything to the initial values.
Screen Reader (VoiceOver and TalkBack)
The image reads out the sample name, the panel name, the values (sphere, cylinder and axis with their names; for the distance, both the viewing distance and the eye focus; the symbols are not read) and the zoom.
Instead of the gestures on the image, the image has these actions: zoom in and out; move up, down, left or right and back to the center (while zoomed in); reset the zoom and position; next sample and previous sample; look nearer and look farther (instead of two fingers up and down; 0.5 D at a time; not available while "Original" is shown); freeze and unfreeze (with the camera).
The four buttons read out their name, on or off, and value, such as "Sphere, on, −2.00". Instead of the long press, the action "Use only this value" can be chosen.
Notes
- Seeing an object doubled with one eye (the double image of astigmatism) is not shown (see Limits in the Theory).
- With images without depth data, the whole screen is shown as objects at one distance. The blur of objects at other distances is not correct.
- With images with depth data, the picture may not keep up while you move the slider or a value, so the motion may not be smooth. When you lift your finger, the correct picture is shown.
- This app gives an estimate of how things look. Have your eyes examined by an eye doctor.
Sources and Licenses of the Sample Images
The images with depth data are 3D scenes re-rendered with a different camera position and angle of view, together with the distances. The objects, lights and sky are those of the original scenes (only the sky outside the classroom windows and the placement of small objects on a desk were added when re-rendering). The credit follows the credit shown where the scene is distributed.
| Scene | Author | License | Source |
|---|---|---|---|
| Classroom | Christophe Seux | CC0 | blender.org Demo Files |
| Barcelona Pavilion | eMirage (Hamza Cheggour). Base model and textures: Claudio Andres. Architecture: Ludwig Mies van der Rohe | CC BY (version not stated) | blender.org Demo Files |
| Italian Flat | Flavio Della Tommasa | CC BY | blender.org Demo Files |
| Room (Blender 4.1 splash screen) | Lynxsdesign | CC BY | blender.org Demo Files (Splash Screens) |
| Bistro (Amazon Lumberyard Bistro) | Amazon Lumberyard | CC BY 4.0 | NVIDIA ORCA |
| Night streets (square, cobblestone street, night road; no depth data) | Greg Zaal and others (Jenelle van Heerden, Rico Cilliers) | CC0 | Poly Haven |
Licenses
Eye Refraction Simulator uses the open-source software and font listed below. The full license texts are in the second half of this section.Components and copyright notices
- Android Jetpack (AndroidX, Compose, CameraX): Copyright The Android Open Source Project (Apache-2.0)
- Kotlin standard library, kotlinx (coroutines, serialization, atomicfu): Copyright JetBrains s.r.o. and Kotlin Programming Language contributors (Apache-2.0)
- JetBrains annotations: Copyright JetBrains s.r.o. (Apache-2.0)
- Dagger: Copyright Google, Inc. (Apache-2.0)
- AutoValue annotations: Copyright (C) 2012 Google, Inc. (Apache-2.0)
- JSpecify: Copyright The JSpecify Authors (Apache-2.0)
- Jakarta Inject: Copyright Eclipse Foundation and the respective authors (Apache-2.0)
- javax.inject (JSR-330), Guava ListenableFuture: Apache-2.0
- libyuv (included in CameraX): Copyright 2011 The LibYuv Project Authors. All rights reserved. Licensed under BSD-3-Clause.
- Roboto Bold font (a subset of Latin characters): Copyright 2011 Google Inc. All Rights Reserved. (Apache-2.0)
The full texts of the Apache-2.0 and BSD-3-Clause licenses follow.
Apache License, Version 2.0
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
libyuv (BSD-3-Clause)
Copyright 2011 The LibYuv Project Authors. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
* Neither the name of Google nor the names of its contributors may
be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
open image
open image



open image
open image