Fresnel Integrals
$I(x) \propto [C(u_2)-C(u_1)]^2 + [S(u_2)-S(u_1)]^2$$N = \dfrac{a^2}{\lambda z}$, $u = x\sqrt{\dfrac{2}{\lambda z}}$
$C(u)=\int_0^u\!\cos\!\tfrac{\pi t^2}{2}\,dt,\quad S(u)=\int_0^u\!\sin\!\tfrac{\pi t^2}{2}\,dt$
Compute near-field diffraction intensity patterns for single slits, circular apertures, and knife edges using Fresnel integrals. Watch the Cornu spiral animate in real time and explore the transition from Fresnel to Fraunhofer regime as you change wavelength, slit width, and observation distance.
The core of Fresnel diffraction is the Huygens-Fresnel principle, where every point on a wavefront is a source of secondary spherical wavelets. The total field at an observation point is the superposition of all these wavelets from the open part of the aperture. This leads to the famous Fresnel integrals.
$$I(x) \propto \left[ C(u_2) - C(u_1) \right]^2 + \left[ S(u_2) - S(u_1) \right]^2$$Here, $I(x)$ is the light intensity at position $x$ on the observation screen. $C(u)$ and $S(u)$ are the Fresnel cosine and sine integrals, defined below. The limits $u_1$ and $u_2$ are transformed coordinates for the edges of the aperture.
The transformation from physical space to the dimensionless `u` variable is crucial, as it normalizes the problem. It involves the Fresnel number and wavelength.
$$N = \dfrac{a^2}{\lambda z}, \quad u = x \sqrt{\dfrac{2}{\lambda z}}$$$a$ is the slit width, $\lambda$ is the wavelength of light, $z$ is the observation distance from the aperture, and $x$ is the position on the screen. The Fresnel integrals themselves are:
$$C(u)=\int_0^u\!\cos\!\left(\frac{\pi t^2}{2}\right)dt,\quad S(u)=\int_0^u\!\sin\!\left(\frac{\pi t^2}{2}\right)dt$$Plotting $S(u)$ against $C(u)$ gives the Cornu spiral. The chord drawn between two points on this spiral directly gives the amplitude and phase of the diffracted wave.
Optical System Alignment & Testing: Fresnel diffraction patterns from edges or wires are used in knife-edge tests to measure the focus and aberrations of lenses and telescope mirrors. By analyzing the intensity pattern near the focal point, engineers can precisely align optical systems.
Acoustics and Sonar Design: The same principles apply to sound waves. Predicting how sound diffracts around barriers or through openings in the near field is critical for designing noise shields, concert hall acoustics, and the beam patterns of underwater sonar arrays.
Radio Wave Propagation: For long-wavelength radio waves, obstacles like hills or buildings are often within the Fresnel zone of a transmitter. Calculating Fresnel diffraction is essential for planning cellular tower placement and satellite communication links to ensure a clear signal path.
Microscopy and Lithography: At small scales, like in photolithography for manufacturing computer chips, light passes through masks very close to the silicon wafer (small `z`). Modeling the Fresnel diffraction is vital to predict the exact pattern that will be etched, affecting the final feature size and resolution.
First, understand that "Fresnel diffraction is 'near-field,' but not 'ultra' near-field." For example, with visible light of wavelength 0.5μm and a slit width of 1mm, in the "immediate vicinity" of a few mm to a few cm, the concept of a geometric shadow becomes dominant, and the scalar diffraction theory itself, which is the basis of this tool, may not hold. In practice, you should first check if the observation distance z is several times larger than the aperture size a.
Next, do not mix units in the parameter settings. This is the most common mistake. If you input wavelength λ in "nm", slit width a in "mm", and distance z in "m", you'll get nonsensical results. For instance, for λ=633nm (He-Ne laser), a=0.1mm, z=1m, it's safest to input everything on a meter basis (λ=6.33e-7, a=1e-4, z=1). The tool calculates using dimensionless numbers internally, so consistency in the unit system is essential.
Finally, understand that "the Cornu spiral is a visualization of the calculation method, not the physical path of light." It's easy to mistakenly think the spiral represents the "path of light," but it's actually a diagram of the mathematical integration path. However, once you grasp this, you'll see that calculations for knife-edges or various aperture shapes reduce to the problem of "which two points on this spiral to choose." Try changing the aperture type in the tool while observing the spiral to appreciate the power of this abstraction.
The calculation method of this tool is fundamentally the same as in acoustical engineering and antenna design. Sound waves and radio waves are also waves, after all. For example, diffraction from the edges of a speaker cabinet's baffle plate can be analyzed precisely with the knife-edge diffraction model. The aperture synthesis method used to calculate antenna radiation patterns is mathematically a close sibling.
In semiconductor manufacturing miniaturization, diffraction of the exposure light directly determines the resolution of the transferred pattern. Here, the "near-field" is predominant, and the core of lithography simulation, which calculates the light intensity distribution at the imaging plane of the projection lens, is precisely Fresnel diffraction (or more accurately, its advanced forms). If you simulate with the slit width set to the order of 1μm in the tool, you can visualize the challenges of microfabrication.
More surprisingly, there's radio wave propagation in geophysics. The "knife-edge model" for predicting radio wave shadowing/diffraction by mountains or buildings is a classical technique still used in mobile communication base station design. Also, similar mathematics dealing with wave propagation and synthesis is active in some medical imaging technologies (e.g., aperture synthesis in ultrasound). It's fascinating how a single physical principle finds such broad application.
The first next step is to firmly understand "why do we use integration?" from the Huygens-Fresnel principle. The formula behind the tool, $$I(x) \propto \left[ C(u_2) - C(u_1) \right]^2 + \left[ S(u_2) - S(u_1) \right]^2$$, represents the very operation of summing (integrating) waves from countless point sources on the aperture, taking their phase (delay) into account. Textbooks typically next discuss how to cleverly calculate (or approximate) this integral.
As a mathematical background, I strongly recommend learning the basics of Fourier optics. When you realize that Fraunhofer diffraction is the Fourier transform of the aperture function itself, everything starts to connect in a single line of thought. With this perspective, you can interpret the phenomenon in the tool where the pattern approaches a simple sine curve as you increase the "observation distance z" as "the loss of high-frequency components," a signal processing interpretation.
Ultimately, you should advance to considering the "limitations of scalar diffraction theory." This tool treats light amplitude as a scalar (magnitude only), but actual light is a vector of electric and magnetic fields. When the aperture size becomes comparable to the wavelength or when using metallic apertures, the influence of polarization can no longer be ignored. Beyond that lies the world of more rigorous vector diffraction theory and numerical electromagnetic field analysis, represented by methods like FDTD (Finite-Difference Time-Domain). Building your intuition for "wave behavior" with this tool first forms the foundation for all of that.