LensSimulator.photo Bridges the Gap Between Optical Theory and Real World Character Through Patent Derived Ray Tracing

The landscape of optical evaluation has undergone a significant transformation with the release of LensSimulator.photo, a sophisticated browser-based application that utilizes authentic patent data to model the unique rendering characteristics of historical and modern lenses. Developed by Peter Wey, a Zurich-based software engineer and landscape photographer, the platform represents a departure from traditional depth-of-field calculators that rely on simplified "thin-lens" mathematical models. By integrating the exact optical prescriptions found in public patent filings from manufacturers such as Leica, Nikon, Canon, and Zeiss, the tool allows users to visualize complex phenomena including mechanical vignetting, focus breathing, and spherical aberration within a real-time 3D environment.

The Technical Evolution of Optical Simulation

For decades, photographers seeking to understand how a lens would perform before a purchase or a shoot were limited to two primary resources: simplified online calculators or subjective reviews. Traditional calculators typically treat lenses as mathematically perfect, infinitely thin planes that bend light without the interference of glass thickness, barrel length, or internal obstructions. While these tools provide a baseline for understanding focal length and aperture, they fail to account for the "character" of a lens—the specific way it draws out-of-focus highlights or distorts the background.

Chasing Lens Character in Code – Ray-Tracing Vintage and Modern Lenses from Their Optical Patents

The development of LensSimulator.photo began as an experimental project to master WebGL and Three.js, two powerful technologies for rendering 3D graphics within a web browser. Peter Wey, whose professional background involves high-level software engineering, initially sought to create a tool for side-by-side comparisons of framing and perspective. However, the project evolved into a deep dive into optical physics when Wey realized that the standard "thin-lens" math produced sterile, identical results for every lens of a matching focal length and f-stop. To achieve a higher degree of realism, Wey turned to the archives of the United States Patent and Trademark Office and international patent databases.

Inside these documents, manufacturers disclose the "prescription" of their optical designs. This data includes the radius of curvature for every glass surface, the center thickness of each element, the precise air gaps between groups, the refractive indices of the specific glass types used, and the positioning of the aperture iris. By feeding these variables into a custom-built ray-tracer, Wey has created a platform where users can "look inside" the barrel of iconic lenses, such as the Canon 50mm f/0.95 "Dream Lens" or the modern Nikon NIKKOR Z 58mm f/0.95 Noct, to see how their physical construction dictates their visual output.

Analyzing the "Character" of Glass Through Ray Tracing

The primary innovation of LensSimulator.photo is its ability to visualize how light bundles are physically clipped by the lens barrel, a phenomenon known as mechanical vignetting. This effect is most famously observed in vintage designs like the Helios 44-2 58mm f/2, a Soviet-era lens based on the Zeiss Biotar formula. In the simulator, users can observe how light entering from the center of the frame forms a perfect circular bokeh disc, while light from the corners is squeezed by the front and rear rims of the barrel.

Chasing Lens Character in Code – Ray-Tracing Vintage and Modern Lenses from Their Optical Patents

In the case of the Helios 44-2, the simulator provides specific data: at wide-open apertures, corner highlights are reduced to 61% roundness with a -1.3 EV falloff, creating the "swirly" bokeh effect highly prized by portrait photographers. In contrast, modern designs like the Nikon NIKKOR Z 135mm f/1.8 S Plena utilize massive entrance pupils (66.0 mm) and telecentric designs to maintain 100% roundness and zero exposure falloff even in the extreme corners. By allowing users to toggle between "Ideal" math and "Real" lens profiles, the tool provides an empirical explanation for why two lenses with identical specifications can produce vastly different images.

Another critical factor modeled by the simulator is focus breathing. This occurs when the effective focal length of a lens changes as the internal glass elements move to focus on a nearby subject. For example, the simulator reveals that the Leica Noctilux-M 50mm f/0.95 breathes to an effective 53.4 mm when focused at its minimum distance of 98 cm. This data is invaluable for cinematographers and portrait photographers who need to understand how their framing will shift during a focus pull or when working in tight environments.

Comparative Studies: From Full Frame to Large Format

The simulator offers a comprehensive library of 278 real patent profiles, spanning a wide range of formats from small digital sensors to large-format film. One of the most educational features of the platform is the ability to compare format equivalence. For instance, a user can compare the rendering of a Helios lens on a full-frame sensor against the legendary Kodak Aero Ektar 178mm f/2.5 on a 4×5 large-format camera.

Chasing Lens Character in Code – Ray-Tracing Vintage and Modern Lenses from Their Optical Patents

While the framing might remain consistent between the two setups if the photographer adjusts their distance, the simulator demonstrates the dramatic difference in depth of field. The Aero Ektar, with its massive 71.2 mm entrance pupil, reduces the sharp zone to a mere 9.9 cm, effectively "melting" the background in a way that is physically impossible for smaller format lenses to replicate. This feature provides a practical visualization of why many fine-art and portrait photographers continue to utilize film formats that are over a century old.

Furthermore, the tool includes specialized scenes for different photographic disciplines. A "Wildlife" scene allows users to test the compression and background isolation of extreme telephoto lenses, such as the Canon RF 800mm f/5.6 L IS USM. At a distance of 6.8 meters, the simulator shows how the long focal length flattens perspective, bringing distant background elements forward and creating a sense of intimacy with the subject that wide-angle lenses cannot achieve.

Implications for the Photography Industry and Education

The launch of LensSimulator.photo has significant implications for the photography industry, particularly in the secondary market for vintage lenses. As prices for "character" glass continue to rise, tools that allow photographers to verify the rendering of a lens before investing hundreds or thousands of dollars are becoming increasingly essential. By providing a scientific basis for terms like "swirl," "glow," and "compression," the platform moves the conversation from subjective anecdotes to objective data.

Chasing Lens Character in Code – Ray-Tracing Vintage and Modern Lenses from Their Optical Patents

From an educational perspective, the tool serves as a free, accessible resource for students of optical engineering and photography. By visualizing the "Optical X-Ray" of a lens, students can see how spherical aberration is corrected (or intentionally left under-corrected) to influence the softness of the bokeh edges. The simulator shows how under-corrected fast primes concentrate light in the center of the blur disc with a feathered edge, whereas heavily corrected modern lenses render a neutral, uniform disc.

Industry experts suggest that such tools could eventually influence how manufacturers market their products. While current marketing focuses heavily on MTF charts (Modular Transfer Function) and sharpness, there is a growing segment of the market—driven by the resurgence of film and the "vintage" aesthetic in digital cinematography—that prioritizes rendering over technical perfection. A tool that can accurately simulate these aesthetic qualities provides a new metric for evaluating lens design.

Limitations and Future Developments

Despite its technical sophistication, Peter Wey is transparent about the current limitations of a browser-based simulation. While the ray-tracing accurately captures the geometry and physics of the glass elements, it does not yet account for chemical or manufacturing variables. Factors such as the specific flare characteristics of vintage single-coatings, the yellowing of thorium glass (common in lenses like the Aero Ektar), balsam separation in older elements, or the "onion ring" textures caused by aspherical molding processes are not represented in the current model.

Chasing Lens Character in Code – Ray-Tracing Vintage and Modern Lenses from Their Optical Patents

Additionally, the simulator relies on the accuracy of patent filings. While these are generally precise, manufacturers occasionally make minor adjustments to the final production models that may not be reflected in the initial patent. To address this, Wey has invited the global photography community to contribute patent numbers for classic lenses not yet in the catalog, aiming to create the most comprehensive database of optical prescriptions available to the public.

Conclusion and Accessibility

LensSimulator.photo is currently available as a free resource, requiring no login or subscription. It is compatible with both desktop and mobile browsers, making it a portable tool for photographers to use in the field or the studio. In addition to the main simulator, the site offers interactive guides on bokeh, depth of field, lens compression, and crop factor equivalence.

As digital sensors become increasingly clinical and high-resolution, the demand for lenses with "soul" and "character" has never been higher. By demystifying the physics behind the glass, Peter Wey has provided the photographic community with a bridge between the cold math of engineering and the subjective art of image-making. Whether used for pre-visualization, academic study, or pure curiosity, LensSimulator.photo stands as a landmark achievement in the democratization of optical science.

Leave a Reply

Your email address will not be published. Required fields are marked *