Versions in this module Expand all Collapse all v0 v0.0.1 May 8, 2023 v0.0.0 May 7, 2023 Changes in this version + const DepthOfFieldMax + const DepthOfFieldMin + const EyeSeparationMax + const EyeSeparationMin + var ErrInvalidDepthMap = errors.New("invalid depth map image") + var ErrInvalidPattern = errors.New("invalid pattern image") + var PaletteBlackAndWhite = []color.Color + var PaletteCyberPunk = []color.Color + var PaletteGrayScale = []color.Color + var Palettes = []color.Palette + func Create(depthMap image.Image, pattern image.Image, config *Config) (image.Image, error) + func RandomPattern(r image.Rectangle) draw.Image + func RandomPatternPalette(r image.Rectangle, palette color.Palette) draw.Image + type Config struct + func (c *Config) DepthOfField() float32 + func (c *Config) EyeSepartation() float32 + func (c *Config) ScreenDPI() float32 + func (c *Config) SetDefaults() + func (c *Config) SetDepthOfField(dof float32) + func (c *Config) SetEyeSeparation(milimeters float32) + func (c *Config) SetSceenDPI(dpi float32)