| Gerasimov fractal — new kind of fractals. Gerasimov fractal
 Gerasimov fractal, was described by August 20, 2013 Ukrainian programmer Sergei Gerasimov on the site «Habrahabr».
 Construction
 We divide the rectangle into cells so that the number of cells in the vertical is equal  <math>Q</math>,
 and the number of cells in the horizontal is equal to <math>P</math>. Now let out a periodic beam from
 angle, with a period of one box. The beam reflected from the boundaries of the rectangle, and disappears
 at the other corner . Notable is the fact that the fractal is obtained only on the condition that
 <math>Q</math> и <math>P</math> - coprime integers.
 Examples
 
 |