Documentation ¶
Index ¶
- Variables
- func Draw()
- func DumpCharset(path string)
- func GetCharset() []rune
- func SelectRand() rune
- func SelectRandomN(n int) []rune
- func Setup() tcell.Screen
- type Column
- type Cursor
- type Layout
- func (d *Layout) Contains(c Cursor) bool
- func (d *Layout) Draw(s tcell.Screen)
- func (d Layout) IsOutOfBoundsBelow(cursor Cursor) bool
- func (d *Layout) RandomCursor() Cursor
- func (d *Layout) SetStyleAt(s tcell.Screen, cursor Cursor, newStyle tcell.Style)
- func (d *Layout) Sync(s tcell.Screen)
- func (d Layout) TotalCells() int
- func (d *Layout) Update()
- func (d Layout) VContains(cursor Cursor) bool
- type Raindrop
- type Spark
Constants ¶
This section is empty.
Variables ¶
View Source
var Tables = []*unicode.RangeTable{ &greekSlice, &latinSlice, &numberSlice, unicode.Runic, }
Functions ¶
func Draw ¶
func Draw()
Draw is the public interface of the module. Hey homes, call this to enter the matrix, g.
func DumpCharset ¶
func DumpCharset(path string)
DumpCharset is intended to be used for debugging and will dump the charset into a text file specified with the path.
func GetCharset ¶
func GetCharset() []rune
GetCharset returns the static set of the characters will appear. It returns the set of runes used for drawing the screen.
func SelectRand ¶
func SelectRand() rune
func SelectRandomN ¶
Types ¶
type Layout ¶
Layout represents the state of the screen
func (Layout) IsOutOfBoundsBelow ¶
func (*Layout) RandomCursor ¶
func (*Layout) SetStyleAt ¶
func (Layout) TotalCells ¶
type Raindrop ¶
Raindrop represents the moving bright green vertical area of styling
func (*Raindrop) ParentColumn ¶
func (Raindrop) TailCursor ¶
Click to show internal directories.
Click to hide internal directories.