mango

command module
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2022 License: MIT Imports: 19 Imported by: 0

README

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)

Kye 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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL