Interactive binary fractal visualizer with dynamic HSL coloring and Node.js scripts to export GIF/MP4.
Based on https://github.com/xcontcom/billiard-fractals
- We create a 1D sequence by accumulating +1 or -1 steps, based on whether scaled input values land in even or odd intervals (floor(...) % 2).
- We combine this sequence pairwise in a 2D grid: sequence[x] + sequence[y].
- For each cell, we check if this sum satisfies modular conditions (mod 4 or mod 5) that change over time.
- Cells matching these conditions are colored dynamically with an HSL palette; others are black.
- As the animation advances, the pattern cycles and reveals hidden structures.
fractal_1_181_510.mp4
fractal_1_130_493.mp4
fractal_1_53_512.mp4
fractal_1_21_512.mp4
fractal_1_511_507.mp4
fractal_1_397_512.mp4
fractal_1_383_503.mp4
fractal_1_330_512.mp4
fractal_1_222_506.mp4
MIT License. See LICENSE for details.
Serhii Herasymov