SIMULATION CANVASRUNNING
Adjust the controls to explore the model.
Trace light rays through a tiny aperture to reveal image inversion, magnification and brightness trade-offs.
Live model · Adjustable parameters · Real-time feedbackA pinhole camera forms an inverted image because rays from the top and bottom of an object cross at the aperture. Similar triangles give image height = object height × screen distance ÷ object distance. A smaller aperture sharpens the image but admits less light.
Change one parameter at a time, observe the response, then reset and compare. The model runs locally in your browser and does not require an account or external libraries.