This is a package for making and manipulating images with complex functions in Go. Currently, there is only support for creating images from complex functions.
- Create a ColorMap either explicitly, or by using one of the pre-defined
ComplexMap
toColorMap
functions found insrc/color.go
. - Define the size of the image using a
image.Rectangle
. - Define the domain of the function using a
ComplexRect
. - Draw the image by calling
Draw
with theColorMap
obtained in step 1, the image size obtained in step 2, and the function domain obtained in step 3.
And that's it.