to save up a progress

This commit is contained in:
2026-09-19 23:21:09 +03:00
parent 78cdfa3beb
commit e51ffde305
16 changed files with 267 additions and 13 deletions
+22
View File
@@ -0,0 +1,22 @@
package mirror
import (
"image"
"image/color"
)
type Mirror struct {
image.Image
}
func (m Mirror) ColorModel() color.Model {
return m.Image.ColorModel()
}
func (m Mirror) Bounds() image.Rectangle {
return m.Image.Bounds()
}
func (m Mirror) At(x, y int) color.Color {
return m.Image.At(m.Bounds().Dx()-x, y)
}