Discover Packages
qlova.org/seed
new
animation
package
Version:
v0.3.1
Opens a new window with list of versions in this module.
Published: Dec 2, 2020
License: AGPL-3.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Animation struct {
}
Animation can be added to a seed as the current playing animation of that seed.
New returns a new animation.
It also takes a variable amount of options that will be applied to any seed with this animation set.
These are useful for setting default animation durations, looping etc.
InReverse returns a new animation which is the reverse of anim.
Frame is a individual keyframe of an animation.
Rules implements css.Style
Frames is a mapping between time and a keyframe.
NewOption can be used to create new Options.
type Option interface {
}
Option values can be passed to New to configure the animation.
Duration sets the duration of the current playing animation.
Loop sets the current playing animation to loop back and forth.
Reverse sets the current playing animation to play in reverse.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.