Fractal figure construction (1993)

The program allows you to define closed figures formed by 3 curves. Each curve is defined by a procedure derived from that for the Koch curve: a line segment is transformed into a polyline formed by 4 segments on each of which the same transformation is repeated indefinitely. In the case of the Koch curve each segment is divided into 3 equal parts, and the middle one is replaced by 2 segments of equal length and arranged in an inverted V shape.

For the curves in the program, on the other hand, 'generators' already divided into 4 segments are used. Of each segment the angle to the previous segment can be varied. There can be up to 4 levels of application of the procedure, and for each level a different generator can be defined. At each level, the corresponding generator is applied to the segments obtained with the previous generator.

The program can randomly set the generators based on the type of figure (with symmetric or asymmetric curves) and the degree of complexity (levels of application of the procedure) chosen.

Conceived and implemented by Antonio Belluscio.

Press ESC or the right mouse button when you want to cancel any operation.

The DOS executable was written in C and compiled with the Borland Turbo C. It required a PC with a graphics card capable of supporting 640x480 pixel resolution and 16 standard colors (VGA).

Interaction with the application also included the possibility of using only keyboard keys because it was not a given in those times to have a mouse or compatible drivers.

You can just use one of the following two buttons:

  • "Reimposta a caso"
    (to randomly set the generators)

  • "Metamorfosi"
    (to make the generators progressively change)

You can increase the number of iteration levels by clicking on the buttons:

  • "grado Complessità"
  • "5 (4 generatori)"

It is recommended to activate the fullscreen mode through the icon with the gear in the upper right corner.

Of course, the Koch snowflake by Helge von Koch...

and the js-dos JavaScript library by Alexander Guryanov.