Skip to content

drahoslove/mango

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mango

A visualiser of Mandelbrot set written in Go

  • real-time navigation
  • multithreading support
  • image saving / loading

Installation

Download binary for Windows

— or —

go install github.com/drahoslove/mango@latest

cd `go env GOPATH`/bin

Examples of usage

./mango - default view

./mango image.png - to load saved image (you can also drag'n'drop image file to the executable file) - the state si saved in the file name

WORKERS=16 ./mango- to change number of rendering gorutines (threads)

Key binding

navigation

  • pgDn / pgUp or wheel ↕ - zoom in / zoom out
  • left click - center to point
  • - move left/right/up/down
  • R - reset zoom and position

visual

  • 1 2 3 4 - switch between coloring modes
  • H - set number of iterations to High (32k)
  • J - double the number of iterations
  • K - halve the number of iterations
  • L - set number of iterations to Low (1k)

images

  • ctrl+S - save current image
  • ctrl+O - load saved image