Applet designed to be displayed on a 10" or more screen.[br][br]A pinhole camera is a device which creates an image on a surface through a small diameter circular aperture without any optical element.[br][br]This pinhole camera modelling allows to customize all the device parameters dynamically: [br][list][br][*]Pinhole diameter[br][*]Wavelength[br][*]Pinhole-sensor distance, improperly called focal length[br][*]Subject distance[br][*]Sensor size[br][/list][br]Bottom panel shows how a ponctual object creates an image spot on the sensor through the small diameter circular aperture according to geometrical optics rules.[br]However the real life experimetation shows a different behaviour since light is a wave and going through a pinhole leads to make the beam diverging more than expected according to geometrical optics rules. This is called diffraction.[br]Top panel shows evolution of the image spot diameter on the sensor according to geometrical optics rules (blue curve) and wave optics rules (red curve)[br]Diffraction spot diameter and geometric spot diameter don't vary in the same way depending on the pinhole diameter. In order to get the smallest actual image spot, a trade-off is found by minimizing both values. So the best pinhole diameter can be determined by the position of the intersection point.[br][br]Try several configurations (close or remote subject, long focal length or wide field of view, wavelength, etc.) and check how it influences the best pinhole diameter value.[br][br]This is a perfect pinhole camera modelling since the pinhole thickness is null. Of course, an actual pinhole will be several micrometers thick and the aperture won't be prefectly circular with clean edge. All theses flaws would affect resolution, contrast, luminosity, field of view, etc.[br][br]You can slide and zoom in order to focus on a detail or get overall view. The object point can be moved manually and the "Subject distance" field allows to place it very remotely and bring it back without zooming and dezooming.[br][br]Any question or remark ? Feel free to leave a comment thanks to the share button in the top right corner of this page :)
A simplified formula is usually used to determine the best pinhole diameter for a given focal length:[br][br][math]D=0.03679\times \sqrt{focal\;length}[/math][br][br]Will you find under which contitions this formula is true ?