diff --git a/examples/paint/main.go b/examples/paint/main.go index 6ca4ca7ae..9982715ce 100644 --- a/examples/paint/main.go +++ b/examples/paint/main.go @@ -42,7 +42,7 @@ func paint(screen *ebiten.Image, x, y int) { op := &ebiten.DrawImageOptions{} op.GeoM.Translate(float64(x), float64(y)) op.ColorM.Scale(1.0, 0.50, 0.125, 1.0) - theta := 2.0 * math.Pi * float64(count%60) / ebiten.FPS + theta := 2.0 * math.Pi * float64(count%ebiten.FPS) / ebiten.FPS op.ColorM.RotateHue(theta) canvasImage.DrawImage(brushImage, op) }