mandelbrot

package
v0.0.0-...-a9c5c41 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package mandelbrot provides functionality to plot images and write them to HTTP responses.

Package mandelbrot provides functionality to plot images and write them to HTTP responses.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetParams

func GetParams(q url.Values) *params

GetParams gets plotting parameters from a map of query parameters.

func PlotImage

func PlotImage(p *params) *image.RGBA

PlotImage plots a Mandelbrot image given a set of parameters and returns an image.RGBA.

func WriteImage

func WriteImage(w http.ResponseWriter, img *image.RGBA) error

WriteImage writes an image.RGBA to an http.ResponseWriter.

Types

This section is empty.

Jump to

Keyboard shortcuts

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