Documentation
¶
Index ¶
- func Expand(src image.Image) ([]byte, error)
- func Glitch(src image.Image) ([]byte, error)
- func GlitchStatic(src image.Image) ([]byte, error)
- func Rain(src image.Image) ([]byte, error)
- func Rainbow(src image.Image) ([]byte, error)
- func Shake(src image.Image) ([]byte, error)
- func Spin(src image.Image) ([]byte, error)
- func Triggered(src image.Image) ([]byte, error)
- func TvStatic(src image.Image) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Expand ¶
Expand returns an animation that horizontally stretches src out and back via a sinusoidal scale curve, encoded as a GIF.
func GlitchStatic ¶
GlitchStatic combines glitch row-shifting with TV-static speckle for an extra-noisy animated GIF.
func Rain ¶
Rain overlays randomly-placed pale-blue streaks per frame to simulate rain, returning an animated GIF.
func Rainbow ¶
Rainbow shifts the hue of every pixel by a full 360° across frames as an animated GIF.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.