Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Animator ¶
type Animator struct {
// contains filtered or unexported fields
}
Animator represents a collection of grids that will be rendered as a GIF. Implements the conway.Animator interface. The origin of coordinates is set at the upper left corner and cells with negatives coordinates are ignored. The zero value of this type is not safe, use the function NewAnimator below.
func NewAnimator ¶
NewAnimator returns a new Animator with the given delay d between frames in 100ths of seconds and the given resolution r in pixels per cell.
Click to show internal directories.
Click to hide internal directories.