Coil & Compass

Light in a box: building a simple pinhole viewer

· 9 min read

A cardboard box, a piece of kitchen foil, and a pin are enough to see an image of the outside world on a paper screen — upside down, a little dim, and completely real. No lens, no glass, no electronics. This is the oldest way of making a picture, and building one at home takes an afternoon and teaches more about light than a shelf of books.

The idea in one paragraph

Light travels in straight lines. Every point of a bright scene sends light in all directions, and if you put a wall with a tiny hole in front of that scene, only one narrow bundle of rays from each point can pass through the hole. Rays from the top of the window land on the bottom of the screen behind the hole, and rays from the bottom land on the top. The screen therefore shows the scene flipped, and because each point of the scene maps to roughly one point of the screen, the picture is recognizable. Make the hole bigger and several bundles from each scene point overlap on the screen, which is why a big hole gives a bright but blurred patch instead of an image. The whole device is just that one idea, executed in cardboard.

What you need

A sturdy cardboard box with a lid — a shoebox is the classic, and a long postal tube works even better because the extra length makes the image bigger. Kitchen foil, a pin or a sharp needle, tape, a craft knife used carefully, and a sheet of thin white paper for the screen: baking parchment or tracing paper is ideal because you can see the image from behind it. If the box has gaps that let light in, keep some extra tape and a dark cloth handy. That is the entire budget. I built my first viewer from a shoebox that had held winter boots, and it worked on the first afternoon after two failed attempts that I will describe below.

Building it, step by step

First, cut a square window about two centimeters across in the middle of one end of the box. This window will hold the foil, so it should be clean and not torn. Tape the foil over the window from the inside, flat and without wrinkles, and make sure no light leaks around its edges. Then, with the pin, make one small hole in the center of the foil. Do not push the pin all the way through and wiggle it: a clean, round, tiny hole is what you want, and wiggling makes a ragged star that blurs the image. My first hole was made with the tip of a knife and looked like a small tear; the picture was a bright smear. The second hole, made with a sewing pin barely pressed through, changed everything.

Second, prepare the screen. Cut a window in the opposite end of the box, about the same size or a bit larger, and tape the tracing paper over it from the inside, stretched flat. If you use a tube, one end gets the foil and the other gets the paper, and a second tube sliding over the first lets you change the length — a focusing mechanism made of cardboard, which is a pleasing thing to own.

Third, seal the box. Close the lid and tape every seam and corner that lets daylight in. The image on the screen is dim, so any stray light inside the box washes it out completely. I wrap a dark cloth over my head and the screen end when I observe, exactly like the photographers of old with their wooden cameras — not for the drama, but because it genuinely works.

First light

Point the foil end at a bright window or a lit lamp, look at the paper screen from behind, and wait a moment for your eyes to adjust. There it is: the window, upside down, with the frame and the bright sky and maybe a branch moving in the wind. The first time I saw a cloud drift across my tracing paper screen, inverted and silent, I sat down on the floor and watched it for ten minutes. It is one thing to know that light travels in straight lines; it is another to watch a piece of the sky land on a piece of paper inside a shoebox.

The image is dim, so a darker room helps enormously. Bright scene, dark room, small clean hole — those three conditions are the whole recipe. If you see nothing, check them in that order before you blame the design. My two failures were both light leaks: once through an untaped corner, once through a screen paper that was too thick and opaque. The design was never the problem.

The hole-size trade-off

I spent a whole evening making foil cards with different holes and swapping them into the same box, writing the results in the notebook. A hole of about half a millimeter gave the sharpest image, but so dim that I needed the darkest room and the brightest window. About one millimeter was the practical compromise: clearly recognizable, reasonably bright. Three millimeters gave a bright patch with only the ghost of an image — the overlap of bundles had won. There is no single correct size; there is a trade between sharpness and brightness, and the best hole depends on your box length and your scene. This is a general habit of instruments, and the pinhole viewer teaches it in one evening with foil and a pin.

Length matters too. A longer box spreads the same bundle of rays over a bigger screen, so the image grows but dims. My postal tube, twice the length of the shoebox, showed a picture twice as wide and noticeably fainter. Same hole, same scene — only the distance changed. If you build the sliding-tube version, you can watch this trade happen live, which is worth the extra cardboard.

Looking at the sun — safely, onto paper

The pinhole viewer can show the sun, and during a partial eclipse it will show the sun as a crescent, which is one of the finest sights this hobby offers. But the rule is absolute: you project the image onto paper and look at the paper. You never look at the sun through the hole, and you never look at the sun through the box, and you never point any lens or binoculars at it. The hole is small, but the eye is delicate, and damage from looking at the sun is painless and permanent. There is no safe duration and no safe squint.

My method is simple. I stand with my back to the sun, hold the box so the foil end faces it, and let the image fall on a sheet of white paper held behind the screen end, in the box's shadow. A small bright disk appears on the paper — that is the sun, projected, safe to watch for as long as you like. During the partial eclipse of a few years ago I watched the crescent shrink and grow on a piece of printer paper while standing in a parking lot, and a stranger asked what I was doing, and then watched too. Under a leafy tree on any sunny day you can see the same effect for free: the gaps between leaves act as pinholes and scatter hundreds of small sun images on the ground, all crescents during an eclipse. The physics is identical; the box just lets you choose where the picture lands.

Failures and variations

My failures, honestly listed: a ragged knife-cut hole that gave a smear; light leaks through untaped seams; a screen paper too thick to show anything; and one attempt with two holes, which gave two overlapping images and taught me why one hole is the design. Each failure was fixed by one change, and each fix is now a line in the notebook.

Variations worth trying once the basic viewer works: two holes side by side, to see two images and understand why cameras have one aperture; a bigger box, to see the image grow and dim; colored foil or a second screen at a different distance, to feel how the geometry scales. None of these needs new materials, only patience and tape. The pinhole viewer is the rare instrument that is finished in an afternoon and keeps teaching for years — and every time the upside-down world appears on the paper, the same one-paragraph idea becomes visible again, which is the best thing a home experiment can do.