complexplane

package
v0.0.0-...-5f8515d Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package complexplane defines a complex plane section.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComplexPlane

type ComplexPlane struct {
	RealMin, RealMax, ImagMin, ImagMax float64
}

ComplexPlane represents the area of the complex plane that will be rendered.

func FromCenterAndSize

func FromCenterAndSize(cr, ci, width, height float64) *ComplexPlane

FromCenterAndSize creates a complex plane based on the center point, width and height

func FromRect

func FromRect(r, i, width, height float64) *ComplexPlane

FromRect creates a complex plane based on the top left point, width and height

Jump to

Keyboard shortcuts

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