In the article the options for the application of aperture shapes with fractal properties in the design of optical systems are considered. Calculations of mathematical models of point spread functions of a diffraction-limited optical system are performed. The diffraction patterns of the light distribution in these systems are presented, and the point spread functions are considered for various shapes of the aperture stop. Analytical expressions are obtained for the light distribution depending on the pupil shape, which can be used to control the process of image formation. The pupil shape, which has the shape of an equilateral triangle, is chosen as the basic one, and the shape of the pupil as a "Koch snowflake" curve is also considered. Using the Fraunhofer integral, the dependences of the distribution of the spectral density of the complex amplitude on the aperture located on an opaque screen are derived in the Fraunhofer approximation and under the condition of illumination by a plane monochromatic wave. Using the relationship with the complex amplitude, the sought-for intensity distribution in the plane of the diffraction pattern is obtained. Taking into account the simplifications adopted in this article, the solution of the Fraunhofer integral is found, by setting the integration limits, depending on: the selected aperture profile, the coordinate system chosen for it, and the position of nodal points in this system