When light passes through a circular aperture it spreads into a diffraction pattern rather than forming a point. The central bright region, known as the Airy disk, has an angular radius . Two stars separated by less than this angle blur together. This page upgrades the classic Rayleigh criterion calculator by coupling the formula to a dynamic canvas that renders two moving Airy disks. Users can watch as the star separation oscillates and determine whether the peaks are distinguishable. Such visual feedback makes the abstract resolution limit intuitive.
The simulation assumes a circular unobstructed aperture of diameter and monochromatic light of wavelength . The stars are equally bright point sources. Their angular separation follows a simple harmonic motion defined by and where is set to 1 rad/s for clarity. Numerical integration uses a fourth-order Runge–Kutta (RK4) scheme for stability.
Each Airy intensity pattern is computed with the Fraunhofer diffraction formula where and is the Bessel function approximated as . The combined intensity is the sum of the two star patterns. We also track the oscillator energy to expose numerical drift.
The star separation dynamics are advanced with RK4. At each frame the state vector is updated using the time step . RK4 combines four slope evaluations: , , and so on, leading to excellent energy conservation for modest . Users can experiment with the time step to see how coarse integration increases the energy error .
Suppose , , and separation amplitude equals one Rayleigh angle. The simulation begins with the stars at maximum separation and zero velocity. As it runs, the stars approach, momentarily overlap, and recede. The canvas shows the twin Airy disks merging into one when . The energy overlay confirms that RK4 conserves to better than 0.1% for s. A CSV download captures time, separation, and energy for further analysis.
Case | D (m) | λ (nm) | θR (arcsec) |
---|---|---|---|
Baseline | 1 | 550 | 0.138 |
Large Aperture | 2 | 550 | 0.069 |
Infrared | 1 | 1000 | 0.251 |
The canvas renders intensity with brightness. Two bright spots signify resolvable stars, while a single blob indicates blending. A vertical dashed line marks one Rayleigh radius. Energy is displayed as a horizontal bar: green shows kinetic portion, blue potential, and a thin red band marks drift from the initial total.
This model neglects atmospheric seeing, optical aberrations, and finite star size. The Bessel approximation breaks down for very large angles. The oscillator is an idealization; real binaries may have eccentric orbits or unequal brightness. Numerical errors grow if exceeds about 0.05 s.
Future versions could include adjustable damping, different aperture shapes, or a phase-space plot of . Adding photon noise would illustrate signal-to-noise limits.
Related calculators: double-slit interference, wavelength-frequency converter, Rayleigh–Taylor growth rate.