Documentation ¶
Index ¶
- type ChannelShift
- type NewOpt
- func WithAlphaShift(x, y int) NewOpt
- func WithAnimate(animate int) NewOpt
- func WithBlueShift(x, y int) NewOpt
- func WithChunkVolatility(chunkVol int) NewOpt
- func WithChunks(dist int) NewOpt
- func WithDirection(direction lib.Direction) NewOpt
- func WithGreenShift(x, y int) NewOpt
- func WithOffsetVolatility(offsetVol int) NewOpt
- func WithRedShift(x, y int) NewOpt
- func WithSeed(seed int64) NewOpt
- type Translate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelShift ¶
type ChannelShift struct {
// contains filtered or unexported fields
}
func Must ¶
func Must(ps *ChannelShift, err error) *ChannelShift
func (*ChannelShift) Shift ¶
func (cs *ChannelShift) Shift() image.Image
func (*ChannelShift) ShiftIterate ¶
func (cs *ChannelShift) ShiftIterate() []image.Image
ShiftIterate calls Shift multiple times, changing the base offset
type NewOpt ¶
type NewOpt func(*ChannelShift)
func WithAlphaShift ¶
func WithAnimate ¶
func WithBlueShift ¶
func WithChunkVolatility ¶
func WithChunks ¶
func WithDirection ¶
func WithGreenShift ¶
func WithOffsetVolatility ¶
func WithRedShift ¶
Click to show internal directories.
Click to hide internal directories.