diff options
Diffstat (limited to 'draw')
-rw-r--r-- | draw/draw.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/draw/draw.go b/draw/draw.go index 785f7b1..74e9a10 100644 --- a/draw/draw.go +++ b/draw/draw.go @@ -2,7 +2,6 @@ package draw import ( "../structs" - "fmt" "github.com/fogleman/gg" "math" ) @@ -93,18 +92,12 @@ func drawStars(dc *gg.Context, slice []structs.Star) { // Slice draws the stars and the forces acting on them and saves the result to the given path func Slice(slice []structs.Star, path string) { - fmt.Printf("%-60s", "Plot init") // initialize the plot dc := initializePlot() - fmt.Printf("Done\n") - fmt.Printf("%-60s", "Drawing the Stars") // draw all the stars in the given slice drawStars(dc, slice) - fmt.Printf("Done\n") - fmt.Printf("%-60s", "Saving image") // save the plot to the given path saveImage(dc, path) - fmt.Printf("Done\n") } |