mango

command module
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MIT Imports: 19 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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)

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

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
⌂ 换网址