animated

package
v0.0.0-...-344c1e1 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Expand

func Expand(src image.Image) ([]byte, error)

Expand returns an animation that horizontally stretches src out and back via a sinusoidal scale curve, encoded as a GIF.

func Glitch

func Glitch(src image.Image) ([]byte, error)

Glitch returns src with random horizontal row shifts per frame as an animated GIF.

func GlitchStatic

func GlitchStatic(src image.Image) ([]byte, error)

GlitchStatic combines glitch row-shifting with TV-static speckle for an extra-noisy animated GIF.

func Rain

func Rain(src image.Image) ([]byte, error)

Rain overlays randomly-placed pale-blue streaks per frame to simulate rain, returning an animated GIF.

func Rainbow

func Rainbow(src image.Image) ([]byte, error)

Rainbow shifts the hue of every pixel by a full 360° across frames as an animated GIF.

func Shake

func Shake(src image.Image) ([]byte, error)

Shake returns src jittered randomly across frames as an animated GIF.

func Spin

func Spin(src image.Image) ([]byte, error)

Spin rotates src 360° across frames as an animated GIF; corners are clipped.

func Triggered

func Triggered(src image.Image) ([]byte, error)

Triggered returns the "TRIGGERED" meme animation (shake + red tint + banner) as GIF bytes.

func TvStatic

func TvStatic(src image.Image) ([]byte, error)

TvStatic returns src obscured by per-frame random grayscale noise as an animated GIF.

Types

This section is empty.

Jump to

Keyboard shortcuts

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