new simple downscaling ideas

This commit is contained in:
2026-06-20 11:31:44 +03:00
parent 67ff655767
commit b75a8814a2
20 changed files with 395 additions and 65 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ type Circle struct {
R int
}
func (c Circle) ColorModel() color.Model { return color.AlphaModel }
func (c Circle) ColorModel() color.Model { return color.Alpha16Model }
func (c Circle) Bounds() image.Rectangle {
return image.Rect(c.Point.X-c.R, c.Point.Y-c.R, c.Point.X+c.R, c.Point.Y+c.R)
}