
This project explores how simple rules - like a billiard ball bouncing in a rectangular grid - can produce complex, structured patterns when translated into symbolic sequences.
By reducing 2D trajectories to 1D symbolic sequences:
we uncover recursive, quasi-fractal structures emerging purely from irrational steps and modular thresholds. These binary sequences, when rendered spatially, exhibit self-similarity, despite being entirely deterministic.

Further extending this idea with nonlinear functions:
we observe patterns resembling interference textures or symbolic holography - generated not by waves, but by curved discretization.

The work presented here is a translation and adaptation of my articles on Habr (Part 1, Part 2, Part 3, Part 4)
MIT License. See LICENSE for details.
Serhii Herasymov
sergeygerasimofff@gmail.com
https://github.com/xcontcom