Imports github.com/nfnt/resize github.com/pkg/errors github.com/hajimehoshi/ebiten/v2 github.com/hajimehoshi/ebiten/v2/ebitenutil Standard library imports fmt image image/color image/gif log math math/rand os path/filepath strings time io/fs