Documentation ¶
Index ¶
- type Camera
- type Generator
- func (g *Generator) AddCallback(callback callbackFunc) uuid.UUID
- func (g *Generator) BeginMovement()
- func (g *Generator) EndMovement()
- func (g *Generator) GetCamera() Camera
- func (g *Generator) GetMaxIterations() int
- func (g *Generator) Move(dPixelX, dPixelY int)
- func (g *Generator) RemoveCallback(id uuid.UUID)
- func (g *Generator) SetCamera(camera Camera)
- func (g *Generator) SetMaxIterations(maxIterations int)
- func (g *Generator) Start(loop bool)
- func (g *Generator) Stop()
- func (g *Generator) Zoom(delta float64, pixelCenterX, pixelCenterY int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func NewJuliaGenerator ¶
func NewJuliaGenerator(c complex128, width, height int) *Generator
func NewMandelbrotGenerator ¶
func (*Generator) AddCallback ¶
func (*Generator) BeginMovement ¶
func (g *Generator) BeginMovement()
func (*Generator) EndMovement ¶
func (g *Generator) EndMovement()
func (*Generator) GetMaxIterations ¶
func (*Generator) RemoveCallback ¶
func (*Generator) SetMaxIterations ¶
Click to show internal directories.
Click to hide internal directories.