📷 Pinhole Camera Generator
Pinhole Camera Generator
Pinhole Camera Generator
A working pinhole camera for photo paper, with exposure guide.
Fit
Top
Front
Grid
Drag to rotate · Scroll to zoom · Right-click to pan
About this generator

A Camera Without a Lens

The LyraMaker Pinhole Camera Generator builds a real, working camera: a light-tight box with a tiny hole at the front and a sheet of photo paper or sheet film at the back. Light from the scene goes straight through the hole and paints an upside-down picture on the paper — no lens, no batteries.

Choose the paper size and the focal length. The generator sizes the box, calculates the best pinhole diameter, the f-number and the field of view, and gives you an exposure table for your paper or film.

🔬
Optimal Pinhole d = 1.9 √(f λ), shown live.
🌑
Light Trap Lid Two 180° turns, no straight path.
⏱️
Exposure Table From the f-number and ISO.
📐
Tripod Mount Captive 1/4 inch nut.

Free Pinhole Camera Generator — 3D Print a Light-Tight Camera for Photo Paper and Sheet Film

A pinhole camera is the simplest camera there is, and one of the most rewarding to build: the picture is formed by a hole a few tenths of a millimetre wide. The LyraMaker Pinhole Camera Generator creates a 3D printable camera body for 4×5 inch, 9×12 cm or 5×7 inch paper or sheet film in your browser, with the optics worked out for you, and exports STL or 3MF files.

The optics: pinhole size, f-number and view

A bigger hole makes a blurrier picture because each point of the scene lights a bigger spot; a smaller hole blurs it again by diffraction. The best compromise was worked out by Lord Rayleigh: d = 1.9 √(f λ), with f the distance from the pinhole to the paper and λ the wavelength of light. With λ = 550 nm (green, where the eye and most papers are sensitive), a 75 mm camera wants a 0.39 mm pinhole and works at about f/194; 50 mm gives 0.32 mm at f/159 and 150 mm gives 0.55 mm at f/275. Other authors use constants between about 1.5 and 2, so do not worry about a few hundredths of a millimetre.

The field of view follows from the image size behind the gate and the focal length: on 4×5 inch paper, 75 mm covers about 78° × 66°, so it behaves like a wide-angle lens. Light also falls off towards the corners in any wide pinhole camera (roughly with the fourth power of the cosine of the angle), so the corners of a very wide camera come out darker.

Making the pinhole

Loading and taking a picture

Printing and light-proofing

Black PLA or PETG with 0.2 mm layers works well. Use at least 3 perimeters and 100 % infill for the front wall area if your slicer allows modifiers, because thin dark plastic can still pass a little light in bright sun. The lid is a push fit with 0.3 mm clearance by default; raise it to 0.35–0.4 mm if it is too tight, and add a rubber band or tape around the seam for long exposures. A matt black paint or flocking paper inside the body reduces flare from the walls.

Limits

This is a paper and sheet-film camera: it has no film advance for 35 mm or roll film. The exposure table is a starting point from standard light values; paper speed varies between brands and with developer, and long exposures on film need extra time that differs from film to film. The generator cannot test the camera for light leaks — only a test sheet can. The 5×7 inch camera is too big for most print beds as one plate; download the body, lid and slide one at a time.

Everything is calculated in your browser — nothing is uploaded. For more optics you can print, try the lithophane maker or the shadow cube generator, or explore every LyraMaker generator.

Pinhole Camera Generator — FAQ

What is the best pinhole size?
+

The generator uses Lord Rayleigh's formula d = 1.9 times the square root of focal length times wavelength, with a wavelength of 550 nanometres. For a 75 mm camera that is about 0.39 mm. Being 10 percent off makes little visible difference.

How long are the exposures?
+

With photo paper, which is very slow, expect tens of seconds in bright sun and minutes in shade, as in the table on the page. Sheet film of ISO 100 to 400 needs only a fraction of a second to a few seconds outdoors. Always start with a test strip.

Is a 3D printed camera really light-tight?
+

It can be: print it in black plastic with solid walls, and the lid joint makes light turn back twice, which a check of every straight line through the joint in cross-section confirms. Leaks usually come from thin or gappy walls, so check the closed camera in a dark room before the first photo and tape the seam for long exposures.

Which side of the paper faces the pinhole?
+

The emulsion side, which is the glossy or smoother side on most papers. Under a red safelight you can usually tell by the slight curl: paper curls towards the emulsion.

Can I use it for solargraphy?
+

Yes, many people leave a pinhole camera loaded with photo paper outside for weeks or months to record the paths of the sun. Seal every joint with tape, protect it from rain, and scan the paper afterwards without developing it.

Other Generators