about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--draw/draw.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/draw/draw.go b/draw/draw.go
index 92c577b..b8d552a 100644
--- a/draw/draw.go
+++ b/draw/draw.go
@@ -9,11 +9,11 @@ import (
 // initializePlot generates a new plot and returns the plot context
 func initializePlot() *gg.Context {
 	// Define the image size
-	const image_width = 8192
-	const image_height = 8192
+	const imageWidth = 8192
+	const imageHeight = 8192
 
 	// Initialize the new context
-	dc := gg.NewContext(image_width, image_height)
+	dc := gg.NewContext(imageWidth, imageHeight)
 
 	// Set the background black
 	dc.SetRGB(0, 0, 0)
@@ -23,7 +23,7 @@ func initializePlot() *gg.Context {
 	dc.InvertY()
 
 	// Set the coordinate midpoint to the middle of the image
-	dc.Translate(image_width/2, image_height/2)
+	dc.Translate(imageWidth/2, imageHeight/2)
 
 	return dc
 }