package main
type point struct {
x int
y int
maxX int
maxY int
}
type color int
type mode int
type filterState struct {
red color
green color
blue color
alpha color
location point
mod mode
register int
fade uint
loop uint
func main() {