From 881d3b2018f3fa455cf0bb435006f7460f33ffed Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Fri, 25 Nov 2022 23:29:28 +0900 Subject: [PATCH] examples/fontvector: adjust width --- examples/fontvector/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/fontvector/main.go b/examples/fontvector/main.go index aada90e4d..bc33164c1 100644 --- a/examples/fontvector/main.go +++ b/examples/fontvector/main.go @@ -129,7 +129,7 @@ func (g *Game) Draw(screen *ebiten.Image) { g.indices = g.indices[:0] op := &vector.StrokeOptions{} - op.Width = 3 * (float32(math.Sin(float64(g.tick)*2*math.Pi/180)) + 1) + op.Width = 7*(float32(math.Sin(float64(g.tick)*2*math.Pi/180))+1) + 1 op.LineJoin = vector.LineJoinRound op.LineCap = vector.LineCapRound g.vertices, g.indices = path.AppendVerticesAndIndicesForStroke(g.vertices, g.indices, op)