diff options
author | emile <hanemile@protonmail.com> | 2018-10-08 17:51:50 +0200 |
---|---|---|
committer | emile <hanemile@protonmail.com> | 2018-10-08 17:51:50 +0200 |
commit | f095dd57cbc45923355c1fad02a06c7be0bf15d0 (patch) | |
tree | 2963873112b457f02a7fe3aa0027c5f4d472e91e /draw | |
parent | 0325ae96f9e5a0f751d42ff59887b76a40a746e6 (diff) |
Implement the fancy llog log printing system
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") } |