gasgiant

package
v0.0.0-...-af59c4b Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GasGiantGenerator

type GasGiantGenerator struct {
	// contains filtered or unexported fields
}

func NewGasGiantGenerator

func NewGasGiantGenerator(linearGradient *LinearGradient1D, width, height int, seed int64) *GasGiantGenerator

func (*GasGiantGenerator) GetFractalImage

func (gasGiantGenerator *GasGiantGenerator) GetFractalImage() *image.RGBA

func (*GasGiantGenerator) Init

func (gasGiantGenerator *GasGiantGenerator) Init()

type LinearGradient1D

type LinearGradient1D struct {
	// contains filtered or unexported fields
}

func NewLinearGradient1D

func NewLinearGradient1D() *LinearGradient1D

func (*LinearGradient1D) AddColor

func (linearGradient *LinearGradient1D) AddColor(x float64, color *textureset.Color)

func (*LinearGradient1D) Color

func (linearGradient *LinearGradient1D) Color(x float64) *textureset.Color

Jump to

Keyboard shortcuts

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