Categorygithub.com/nanitefactory/visual
modulepackage
0.0.0-20200210193257-5e75c3ba0a52
Repository: https://github.com/nanitefactory/visual.git
Documentation: pkg.go.dev

# README

Visualizer

GoDoc

Visualizer, what's based on the library Pixel, is a main-thread that visualizes stuff.

Installation

$ go get -v github.com/nanitefactory/visual

Getting started

import "github.com/nanitefactory/visual"

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

AtlasASCII18 returns an atlas of font size 18 that's to draw only ASCII characters.
AtlasASCII36 returns an atlas of font size 36 that's to draw only ASCII characters.
NewVisualizer is a constructor.

# Structs

Config is just an argument of NewVisualizer() that defines a new visualizer.
Visualizer is a mainthread that visualizes stuff.

# Interfaces

Actor is what a Visualizer visualizes.
Drawer draws itself on a target canvas.
HUD is an Actor positioned in screen-coord.
Updater updates itself with the delta time given, every frame on mainthread.