Sharpness in pinhole images is limited by diffraction at the edges of the pinhole. The triangular pinhole has greater edge length in relation to the opening area than does a circular pinhole. However, there is one advantage to a triangular pinhole; by moving only one blade the aperture can be varied. With more care, a four-sided variable pinhole can also be constructed.
Originally Posted by Mike Walker