Skip to content

Commit

Permalink
feat: reform name + origin
Browse files Browse the repository at this point in the history
  • Loading branch information
cfoust committed Nov 10, 2024
1 parent 002ce6d commit 6947ae2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/anim/reform.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func makeBuffer(size int) []emu.Glyph {
return buffer
}

// Reform was inspired by the loading animation on https://musicforprogramming.net/.
type Reform struct {
in image.Image
out image.Image
Expand Down Expand Up @@ -195,7 +196,7 @@ func (r *Reform) Update(delta time.Duration) image.Image {
}

func init() {
registerAnimation("mfp-reform", func() Animation {
registerAnimation("reform", func() Animation {
return &Reform{
duration: time.Second + time.Millisecond*500,
}
Expand Down

0 comments on commit 6947ae2

Please sign in to comment.