scene

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scene

type Scene interface {
	Aggregate(data []coordinates.Cartesian)
	Clear()
	Render(mapping color.Mapping) (*image.NRGBA, error)
	Spread(amount uint8)
}

* A scene is a plane onto which points are drawn.

func Create

func Create(width uint32, height uint32, minX float64, maxX float64, minY float64, maxY float64) Scene

* Create a new scene.

Jump to

Keyboard shortcuts

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