fractal

Mandelbrot & Julia in your terminal · 260 lines of Python · interactive zoom + pan · three palettes
$ python3 fractal.py --julia --jc -0.8 --jy 0.156

▀██████ █ ▀▄█   ██ █
▄▀ █ ▄    ▀████▀      █   ████
▀█ ██▄█▄   ▀██████▀     █  █▀▄  █
▄▄█▄▀ ▀▀▀   ▄▀▀▄ ▀    ▀██  ▀█  ▄
▄██▀    ▀▄  ▀█▀█  ▀  ▄ █▀  ▄██ █

c: (-0.800000, 0.156000)  zoom: 1.0e+00  iter: 80  120×80  julia  amber
arrows=pan  +/-=zoom  i/d=detail  j=julia  m=palette  r=reset  q=quit

palettes: amber · cold · hot  ·  julia constant nudged in-game with < > [ ]

github download fractal.py