An interactive Mandelbrot set explorer for your teletype terminal. Or more likely pseudo-TTY.
- Terminals are cool, and we need to teach them new tricks.
- Fractals are beautiful and I'd like to understand them better.
- Practice.
- Benoit Mandelbrot (20 November 1924 – 14 October 2010)
- gdamore/tcell for the excellent terminal library
- 12-minute Mandelbrot: fractals on a 50 year old IBM 1401 mainframe
Use the z
and x
keys to zoom in and out.
Use arrow keys for navigation and q
to quit.
The mouse wheel zooms, but panning around using click-and-drag
is currently broken.
- Thanks! That's not a question though. The resolution is limited
to the number of columns on the terminal and twice the number of rows. Vertical resolution is doubled by using the half-block character "▄" (U+2584), so an old-school 80 column, 24 row terminal window is effectively a measely 80x48 pixels. You can increase the resolution by shrinking the font in the terminal window.
- I only barely know what I'm doing!