go-fractal

module
v0.0.0-...-4dd2d8e Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2022 License: MIT

README

GO Fractal

A simple golang script to draw julia/mandelbrot fractals.

Julia Set

Julia set

Mandelbrot Set

Mandelbrot set

Burning Ship

Mandelbrot set

cx=-0.3 &cy=-0.47 z=0.5

Web server app

Run

cd cmd/server
go build
./server
Url parameters
  • t: fractal type. Options: julia, mandelbrot, burningship
  • p: predefined colour palette. Options: arcticsun, electro
  • w: image width
  • h: image height
  • z: zoom, default: 1.0
  • cx: center by X
  • cy: center by Y
  • re:
  • im:
  • er: escape radius
  • mi: max iterations

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

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