animation

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeGIF

func EncodeGIF(g *gif.GIF, fn string, delay int)

EncodeGIF set delay time and encode to specific filename.

func NewRandGIF

func NewRandGIF(w, h int) (*gif.GIF, [][]uint8)

NewRandGIF return a new GIF with one random frame and its color indexs.

func SetLine

func SetLine(g *gif.GIF, y, frame int, line []uint8)

SetLine will set a line's color index to GIF on a specific frame.

Types

This section is empty.

Jump to

Keyboard shortcuts

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