terminal-mandelbrot
v1.1.4
Published
Interactive Mandelbrot fractal explorer in the terminal using TypeScript and tsx
Maintainers
Readme
Terminal Mandelbrot
![]()
Interactive Mandelbrot fractal explorer for your terminal — written in TypeScript and powered by tsx. Pan, zoom, and explore the Mandelbrot set directly from your command line.
Checkout how I made it here: https://www.youtube.com/watch?v=ZxorPDD1niY
Quick Start
Run instantly with npx (no install needed):
npx terminal-mandelbrotOr install locally:
git clone https://github.com/NabilNYMansour/terminal-mandelbrot.git
cd terminal-mandelbrot
pnpm install
pnpm start(Optional) Install globally:
npm install -g terminal-mandelbrot
terminal-mandelbrotYou can also run in grayscale mode by adding a --gray flag.
npx terminal-mandelbrot --grayControls
| Key | Action | | ------------- | -------- | | ← / → / ↑ / ↓ | Pan | | Z | Zoom in | | X | Zoom out | | Ctrl+C | Exit |
Requirements
Node.js 20 or newer (checked at startup)
POSIX-like terminal (macOS, Linux, or WSL)
Features
Real-time ASCII rendering
Smooth pan and zoom controls
Auto-resize with terminal window
License
MIT © Nabil Mansour
