computer generated art fractals in python within the arena of computer art fractals are very well known art form factrals are recurring patterns that are calculated either using an iterative approach (such as for loopor recursive approach (when function calls itself but with modified parametersone of the really interesting features of fractals is that they exhibit the same pattern (or nearly the same patternat successive levels of granularity that isif you magnified fractal image you would find that the same pattern is being repeated at successively smaller and smaller magnifications this is known as expanding symmetry or unfolding symmetryif this replication is exactly the same at every scalethen it is called affine self-similar fractals have their roots in the world of mathematics starting in the th centurywith the term fractal being coined in the th century by mathematical benoit mandelbrot in one often cited description that mandelbrot published to describe geometric fractals is rough or fragmented geometric shape that can be split into partseach of which is (at least approximatelya reduced-size copy of the whole for more information see mandelbrotbenoit ( the fractal geometry of nature macmillan isbn (- - since the later part of the th century fractals have been commonly used way of creating computer art one example of fractal often used in computer art is the koch snowflakewhile another is the mandelbrot set both of these are used in this as examples to illustrate how python and the turtle graphics library can be used to create fractal based art the koch snowflake the koch snowflake is fractal that begins with equilateral triangle and then replaces the middle third of every line segment with pair of line segments that form an equilateral bump this replacement can be performed to any depth generating finer and finer grained (smaller and smallertriangles until the overall shape resembles snow flake