Kazunori Asada

About "Eye Age Simulator - Web Edition"

This is an experience tool that shows how aging and cataract change the way the eye sees. It applies a calculation of the eye's optics (yellowing of the lens, blur, and glare and haze from opacities) to an image (a sample, the camera or your own image) and shows it next to the original image and a normal eye. It cannot be used for diagnosis or treatment. The numbers are literature-based estimates, and how things look differs between people. Version 0.9.1.

How to Use
OriginalNormal eyeCataract eyeViews
Original, Normal eye at the set age, and Cataract eye. All three are on by default. The three buttons are independent; each chosen view becomes a panel (at least one stays on). When all the cataract types are off, the cataract eye panel is named like "Age 65, no cataract" (the image is the same as the Normal eye). Based on the literature, this app views the difference between aging and cataract as follows. The normal eye of the chosen age shows the changes said to occur with age, in which the whole lens slowly becomes yellow and scatters more light. The cataract eye adds opacities to it: nuclear cataract is represented as that change progressed strongly at the centre, and cortical and posterior subcapsular cataracts as opacities that form in part of the lens.
About the reference eye

The reference is a 20-year-old eye

The image on the screen reaches you through your own eyes. The yellowing and light scatter of your eyes are added to the image without doing anything. So "Normal eye (age)" and "Cataract eye" apply to the image only the change from the reference eye (a young eye of age 20). When a person of about 20 looks at it, it is close to how that age sees.

If you are older than 20

While the reference stays at 20, the change in your own eyes is added on top, so it looks a little stronger than it really is.

The reference age can be changed

The reference age of 20 is the initial value. You can change it from 20 to 90 with "Viewer age" in the research settings. If you set it to your own age, how ages above yours look becomes more accurate.

How an eye younger than you sees

When "Viewer age" is set to your own age, setting the age slider younger than your age cannot fully reproduce how a younger eye sees.

  • Light scatter (glare and haze): The scatter of an eye younger than you cannot be simulated, because the scatter that happens inside your eyes cannot be removed on the image side. In the range younger than your age, the scatter stays the same as at your age, and it is not a correct simulation.
  • Color: The difference in lens yellowing is corrected with the colors of the image. In the range younger than your age, the image is made bluer to bring it closer to the color of a younger eye.
Nuclear 50% ▼Cortical 25% ▼PSC 25% ▼Cataract type and progress
Pressing the body of a type button turns that type on or off; the button always shows its progress in %, and a type that is off is dimmed but keeps its %. Pressing the ▼ opens a popup with the progress slider (0 to 100%); the popup closes when you press outside it or when the window width (or screen orientation) changes. Moving two fingers up or down (on a trackpad, two-finger scrolling) also changes the progress of the type you last adjusted. More than one type can be on. The initial values are Nuclear 50% (on), Cortical 25% (on), PSC 25% (off).
Age slider (20 to 90)
Sets the age in steps of 5. Normal eye and Cataract eye use the same age. Older age means more lens yellowing and light scatter.
Dark pupilDark pupil
In the dark the pupil opens, and glare and haze from the opacity get stronger. On fixes the pupil at 7 mm; off is automatic from the brightness of the image. It is on by default.
Chromatic adaptationChromatic adaptation
With long-standing cataract, the brain adapts to the yellowing and notices it less. On is after adapting (the default); off is before adapting.
Image source
The album button opens a list: Samples, Camera, My image. Samples are grouped by scene and change automatically about every 8 seconds; the play/stop button starts and stops it. While the automatic change is playing, swipe the image left or right with one finger (or drag with the mouse) for the next or previous sample (left = next, right = previous; a diagonal swipe works when the movement is more sideways than up or down); the automatic change continues. Moving up or down does not move the image, and the automatic change continues. Tapping (releasing without moving), double-tapping, two-finger operations, the wheel, and so on stop the automatic change. When it is stopped, choose from the sample list. The scene name is shown at the bottom left. The camera button switches to the next camera. The next time the page opens, it starts with the samples.
Save
Saves the image on screen (all panels) as a JPEG.
Research
Opens the research panel, where the physical values can be entered directly by area (age, eye conditions, cataract, image, calculation). It also saves and loads all values as JSON (including the choice of views) and sets the random seed. While any research value is changed from its general value, "Using research values" is shown at the top right of the image, and a mark "*" is added after the names of the panels the value affects; "Reset to general values" brings them back.
Settings
Embed text in saved images, the language, the color space, Reset all to default, the application information and related software. The last state, including the research values, is remembered automatically.
Zoom
Zoom with the slider, pinch or the trackpad pinch. Drag with one finger or the mouse to move the image (when the image is larger than the screen; while the automatic change is playing, the image does not move, so tap the screen to stop the automatic change first). Double-click (double-tap) returns zoom and position to the start.

A web browser which supports WebGL 2 is required. The web camera only works when WebRTC is supported and the page is opened over HTTPS. Images are processed only in your browser and are not sent anywhere.

HDR photos and ordinary photos: the glare of a cataract depends on the true strength of strong lights, which an ordinary photo records only as "white". A photo with a gain map (HDR; Android Ultra HDR or ISO 21496-1) lets this app calculate the glare of headlights and street lamps according to their strength. Other photos and the camera video are treated as ordinary photos, with weaker glare. 44 of the 50 samples are HDR. "HDR" next to the scene name at the bottom left shows that the image is an HDR image.

Licenses

The sample photos are cropped from HDRIs (CC0) of Poly Haven (polyhaven.com) and ambientCG (ambientcg.com). CC0 is a public-domain dedication; credit is not required, but the sources and the authors are listed below, with thanks. The reading pages are self-made, using text from Natsume Soseki's public-domain novel "I Am a Cat". The photo of the oncoming headlights is "Headlights of a car running on a night road" (Yukillow) from Pakutaso (pakutaso.com, https://www.pakutaso.com/en/20200244059post-25672.html). It is used under the Pakutaso terms of use (free for commercial and non-commercial use, modification allowed, no credit required); it is not CC0. Physical values have been added to the headlight pixels.

Privacy Policy