C library that simulates fractals and attractors (only in stb). You can generate them into terminal as ASCII art or into image (using stb library).
- Available in ASCII
- Available in stb
stb |
---|
![]() |
Lorenz attractor is a strange attractor named after Edward Lorenz who described it in 1963.
For
stb |
---|
![]() |
Thomas' cyclically symmetric attractor is a 3D strange attractor named after René Thomas.
For
stb |
---|
![]() |
Lorenz attractor is an attractor named after Otto Rössler who described it in 1976.
For
stb |
---|
![]() |
The (Lu) Chen attractor is named after Jinhu Lu and Guanrong Chen.
For Chen attractor
For Lu Chen attractor
Chen | Lu Chen |
---|---|
![]() |
![]() |
The Rabinovich–Fabrikant equations are a set of three equations named after Mikhail Rabinovich and Anatoly Fabrikant, who described them in 1979.
For
stb 1 | stb 2 |
---|---|
![]() |
![]() |
The Hénon map is a strange attractor named after Michel Hénon.
For
stb |
---|
![]() |
- In ASCII
- In stb
A Cantor set is a fractal that is formed by removing the middle thirds of a line. It is named after Georg Cantor, who introduced it in 1883.
We get it by removing the interval
The length of the Cantor line converges to
The Cantor set gas a fractal dimension equal to $\frac{ln(2)}{ln(3)} \approx 0.6309...$.
ASCII | stb |
---|---|
![]() |
![]() |
- Available in ASCII
- Available in stb
A Sierpiński carpet is a fractal formed by recursively removing squares from a surface. It is named after Wacław Sierpiński, who described it in 1916 and it's a generalization of Cantor's set into two dimensions.
The area of a Sierpiński carpet converges to
The Sierpiński carpet has a fractal dimension equal to
ASCII | stb |
---|---|
![]() |
![]() |
- Available in ASCII
- Available in stb
- Available in ASCII
- Available in stb
- Available in SDL
ASCII | stb | SDL |
---|---|---|
![]() |
![]() |
![]() |
- Available in ASCII
- Available in stb
- Available in ASCII
- Available in stb