MYSIMULATOR/ 2D LABS← All simulations
Interactive learning environment · Geometric Optics

Pinhole Camera Obscura Lab

Trace light rays through a tiny aperture to reveal image inversion, magnification and brightness trade-offs.

Live model · Adjustable parameters · Real-time feedback
SIMULATION CANVASRUNNING
Adjust the controls to explore the model.

What you are exploring

A 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.

How to experiment

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.

Made with 🤖 ChatGPT