package
module
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Dec 17, 2022
License: GPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Animation struct {
Points []*Point
ShowPoints bool
}
Draw draws the animation on screen and updates the dots
Start starts the animation
type Point struct {
Y, X float64
DY, DX float64
Color termbox.Attribute
}
Distance calculates the distance of (y,x) from the point
Update updates the position of the point
and wraps it around the width and height
Source Files
¶
Directories
¶
cmd
|
|
|
|
Click to show internal directories.
Click to hide internal directories.