Tweaked example

This commit is contained in:
Sasha Koshka 2023-07-01 11:06:54 -04:00
parent cc921ddb29
commit 41720caef5

View File

@ -26,8 +26,8 @@ func main () {
eye = ggfx.Circle(12, 16, midpoint.Add(image.Pt(40, -30)))
canvas.FillPolygon(black, eye...)
mouth := ggfx.Circle(16, 70, midpoint)
canvas.StrokePolygon(black, 2, mouth[1:8]...)
mouth := ggfx.Circle(24, 70, midpoint)
canvas.PolyLine(black, 2, mouth[1:12]...)
file, err := os.Create("TEST.png")
if err != nil { panic(err.Error()) }