As Nige says, there is an ideal pinhole size for each focal length, especially for maximum sharpness in the center of the image. The calculator I prefer for determining this size, or the best focal length for a given pinhole diameter, is
PinholeDesigner. I've done considerable research into pinhole imaging, and prefer a user constant of 1.5 in this calculator for best on-axis sharpness. If the pinhole is significantly larger, the image has an unpleasant blur like an out-of-focus lens image. If smaller, it has a different blur due to diffraction. Wide angle pinhole cameras yield sharper images than normal or telephoto pinhole cameras. Despite this, I've used a pinhole cameras with up to a 25
foot focal length to photograph solar eclipses. The images were unsharp. When viewed at 25 feet for proper perspective, they were sharp enough. contact print from an optimum wide angle 4x5 pinhole camera viewed at arm's length will appear fairly sharp.
Images can be formed through a series of concentric circles called a zone plate. Sharpness suffers, but higher shutter speeds are possible.
Nige's suggestion of using an enlarger to determine pinhole diameter is practical. If you have a transparancy adaptor for a scanner, scanning the pinhole and counting the diameter in pixels also works. A simple calculation leads to the diameter in inches or mm, and any of the pinhole calculators gives the optimum focal length for that diameter. However, there are diverse opinions regarding the optimum focal length. The best opinion for you is the one you develop through experimentation.
Pinhole photography can be enjoyed on a primative level, as is sometimes done in elementry or middle school. However, it can also involve much study and careful construction of pinholes and cameras. One of the best on-line sorces of pinhole information is
Dead Link Removed Some of the information is trivial; some very accurate.
The definitive book on pinhole photography is
Pinhole Photography by Eric Renner. Eric also publishes the
Pinhole Journal and holds workshops on pinhole photography. The book may be found at new or used online booksellers, or from
Eric's site.