Browse Source

image: forgot to use circleCount const in NewImage.

Dmitry Chestnykh 14 years ago
parent
commit
d6bfb3fd16
1 changed files with 1 additions and 1 deletions
  1. 1 1
      image.go

+ 1 - 1
image.go

@@ -81,7 +81,7 @@ func NewImage(digits []byte, width, height int) *Image {
 	// Apply wave distortion.
 	// Apply wave distortion.
 	img.distort(rndf(5, 10), rndf(100, 200))
 	img.distort(rndf(5, 10), rndf(100, 200))
 	// Fill image with random circles.
 	// Fill image with random circles.
-	img.fillWithCircles(20, img.dotSize)
+	img.fillWithCircles(circleCount, img.dotSize)
 	return img
 	return img
 }
 }