Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnimatedRainbowText ¶
type AnimatedRainbowText struct { c.BaseComponent XMLName xml.Name `xml:"rainbow-text"` Font string `xml:"font,attr"` FontStyle string `xml:"style,attr"` FontSize float64 `xml:"size,attr"` Text string `xml:",chardata"` // contains filtered or unexported fields }
Rainbow text
func (*AnimatedRainbowText) Init ¶
func (art *AnimatedRainbowText) Init()
func (*AnimatedRainbowText) Render ¶
func (art *AnimatedRainbowText) Render() image.Image
type ColorGrid ¶
type ColorWave ¶
type GravityParticles ¶
type GravityParticles struct { c.BaseComponent XMLName xml.Name `xml:"gravity-particles"` Particles []Particle GravityPoints []GravityParticle }
func (*GravityParticles) Init ¶
func (gp *GravityParticles) Init()
func (*GravityParticles) Render ¶
func (gp *GravityParticles) Render() image.Image
type Image ¶
type MatrixRain ¶
type MatrixRain struct { c.BaseComponent XMLName xml.Name `xml:"matrix-rain"` Drops []Drop NumDrops int }
func (*MatrixRain) Init ¶
func (mr *MatrixRain) Init()
func (*MatrixRain) Render ¶
func (mr *MatrixRain) Render() image.Image
type PaddleBallVisualizer ¶
type PaddleBallVisualizer struct { c.BaseComponent XMLName xml.Name `xml:"pong"` BallRadius float64 `xml:"ballRadius,attr"` BallSpeedX float64 BallSpeedY float64 BallX float64 BallY float64 PaddleHeight float64 `xml:"paddleHeight,attr"` PaddleWidth float64 `xml:"paddleWidth,attr"` LeftPaddleY float64 RightPaddleY float64 Amplitude float64 // this will be updated by an external function based on the music beat Color util.RGBA `xml:"color,attr"` }
func (*PaddleBallVisualizer) Init ¶
func (pbv *PaddleBallVisualizer) Init()
func (*PaddleBallVisualizer) Render ¶
func (pbv *PaddleBallVisualizer) Render() image.Image
type PulsingCircles ¶
type PulsingCircles struct { c.BaseComponent XMLName xml.Name `xml:"pulsing-circles"` NumCircles int `xml:"numCircles,attr"` MaxRadius float64 `xml:"maxRadius,attr"` Offset float64 }
func (*PulsingCircles) Init ¶
func (pc *PulsingCircles) Init()
func (*PulsingCircles) Render ¶
func (pc *PulsingCircles) Render() image.Image
type Scroller ¶
type SpiralGallery ¶
type SpiralGallery struct { c.BaseComponent XMLName xml.Name `xml:"spiral"` Slots []c.Template `xml:"template"` Angle float64 // Rotation angle in degrees CurrentSlot int }
func (*SpiralGallery) Init ¶
func (sg *SpiralGallery) Init()
func (*SpiralGallery) Render ¶
func (sg *SpiralGallery) Render() image.Image
Click to show internal directories.
Click to hide internal directories.