command
module
Version:
v0.1.6
Opens a new window with list of versions in this module.
Published: Nov 26, 2024
License: MIT
Opens a new window with license information.
Imports: 19
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Mango
A visualiser of Mandelbrot set written in Go
- real-time navigation
- multithreading support
- image saving / loading
_1_0_.png)
_4.745313281212577e+07_2_.png)
_7.774721279938687e+11_1_.png)
_2.3726566406062886e+07_3_.png)
_1.7592186044416e+13_2_.png)
_2.9658208007578608e+06_3_.png)
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
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.