From f095dd57cbc45923355c1fad02a06c7be0bf15d0 Mon Sep 17 00:00:00 2001 From: emile Date: Mon, 8 Oct 2018 17:51:50 +0200 Subject: Implement the fancy llog log printing system --- draw/draw.go | 7 ------- 1 file changed, 7 deletions(-) (limited to 'draw') 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") } -- cgit 1.4.1