Documentation ¶
Index ¶
- Constants
- func DefaultParams() (float64, float64, float64, float64, float64, float64)
- func Flame(config Config) (*image.RGBA, error)
- func FromConfigFile(fname string) (*image.RGBA, error)
- func PreviewAll(width, height, xs, ys, cols int) *image.RGBA
- func ReadConfig(fname string, config *Config) (err error)
- func RenderPreview(width, height, xs, ys int, fn Variation) *image.RGBA
- type Config
- type Dims
- type FullVar
- type FunConfig
- type Pixel
- type Point
- type Variation
Constants ¶
View Source
const LOG = false
Variables ¶
This section is empty.
Functions ¶
func PreviewAll ¶
func ReadConfig ¶
Types ¶
type Config ¶
type Config struct { Dims Dims Iterations int Functions []FunConfig DataIn string DataOut string NoImage bool LogEqualize bool }
Config holds all of the parameters necessary to generate a flame
type FullVar ¶
func AllVariations ¶
func AllVariations() []FullVar
type FunConfig ¶
type FunConfig struct {
Num int
}
FunConfig contains configuration for the various functions to be used in generating a flame
Click to show internal directories.
Click to hide internal directories.