A command line viewer of the Mandelbrot set

npm install cli-mandelbrot
24 downloads in the last week
25 downloads in the last month


A command line tool for viewing and moving inside the Mandelbrot set.


$ npm install -g cli-mandelbrot


This package has no flags or options. Just type cli-mandelbrot and you are in:

Example screen shot

Use the 'wasd' keys to move around, 'r' and 'f' to zoom in and out, 't' and 'f' to calculate more or less iterations, 'q' to toggle the help text, and 'o' to quit.


  • Use last cached result to avoid recalculating most of the screen when moving with 'wasd'.
  • Pre-calculate next assumed movement.

Example screen shot

npm loves you