Interactive demonstration of rectilinear light propagation
Pinhole imaging is an optical phenomenon where light passing through a small hole forms an inverted real image on a screen behind the hole. This phenomenon demonstrates the principle that light travels in straight lines. The ancient Chinese text 'Mo Jing' recorded pinhole imaging: 'The image is inverted because the rays cross at the opening.' A key feature is that regardless of the object's distance from the pinhole, an image forms on the screen, and it's always an inverted real image.
The principle of pinhole imaging is based on rectilinear light propagation and similar triangles. Light rays from an object pass through the pinhole and form an inverted image on the screen. According to geometric relationships, the ratio of image height to object height equals the ratio of image distance to object distance: hᵢ/h₀ = dᵢ/d₀. Therefore, magnification M = dᵢ/d₀. When image distance exceeds object distance, the image is magnified; when image distance is less than object distance, the image is reduced. Pinhole imaging doesn't rely on refraction or reflection—it's purely a geometric optics effect, making it the simplest form of imaging.
The diameter of the pinhole significantly affects image quality. Theoretically, smaller holes produce sharper images because the light beam from each point is narrower. However, if the hole is too small (diameter接近光波长), diffraction effects become significant, causing image blur. The optimal pinhole formula is d ≈ √(λ × dᵢ), where λ is the wavelength of light and dᵢ is the image distance. For visible light (λ≈500nm) and image distance of 20cm, the optimal diameter is about 0.3mm. If the hole is too large, light rays from the same point on the object spread into a spot on the screen, causing blur. Therefore, choosing the appropriate pinhole size is key to obtaining a sharp image.
The image formed by pinhole imaging is an inverted real image, an inevitable result of crossing light rays. 'Inverted' means the image is upside down and left-right reversed compared to the object; 'real image' means light rays actually converge at the image location and can be projected on a screen or recorded on film. Unlike lens imaging, pinhole imaging has no concept of focal length—images form at any distance, only the magnification and brightness vary. Image brightness is proportional to the pinhole area and inversely proportional to the square of the image distance. Therefore, increasing the pinhole size appropriately while maintaining sharpness can improve image brightness.
Pinhole imaging has played an important role in human civilization. The ancient Chinese Mohist school described pinhole imaging as early as the 5th century BCE. In Europe, Renaissance artists used camera obscura (meaning 'dark room') to assist painting—the prototype of cameras. Leonardo da Vinci studied the camera obscura principle in detail. In the 19th century, pinhole cameras were used for photography. Although exposure times were long, they produced unique soft effects. Modern applications include: safe solar eclipse viewing (through pinhole projection of the sun's image), architectural design light wells, special photography effects, and as a classic physics experiment demonstrating rectilinear light propagation. Pinhole imaging is also fundamental to understanding human eye imaging and camera principles.
Both pinhole imaging and lens imaging can form inverted real images, but the principles differ. Pinhole imaging relies on rectilinear light propagation and geometric projection without lenses; lens imaging uses light refraction and follows the lens imaging formula 1/f = 1/d₀ + 1/dᵢ. Pinhole imaging forms images at any distance but produces dimmer images; lens imaging only forms sharp images at specific distances (focal relationship) but produces brighter images. Pinhole imaging has no chromatic aberration or distortion (if diffraction is ignored), while lens imaging has various aberrations requiring correction. Modern cameras combine both: aperture (variable pinhole) controls depth of field and brightness, lens groups focus the image, reflecting the practical application of pinhole imaging principles.