about summary refs log tree commit diff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/main.go b/main.go
index 43240ef..be836c4 100644
--- a/main.go
+++ b/main.go
@@ -4,6 +4,7 @@ import (
 	"./csv"
 	"./draw"
 	"./forces"
+	"./llog"
 	"./structs"
 	"fmt"
 )
@@ -16,15 +17,15 @@ func main() {
 		{structs.Coord{X: 100, Y: 500}, structs.Force{0, 0}, 1000},
 	}
 
-	fmt.Printf("%-60s", "Opening the csv")
+	llog.Good("Opening the csv")
 	starsSlice = csv.Import("data/structure03.ita.uni-heidelberg.de_26635.csv", 0, 4000, starsSlice)
 	fmt.Printf("Done\n")
 
-	fmt.Printf("%-60s", "Calculate the forces")
+	llog.Good("Calculate the forces acting")
 	forces.CalcAllForces(starsSlice)
 	fmt.Printf("Done\n")
 
-	fmt.Printf("%-60s", "Plotting the stars")
+	llog.Good("Drawing the slice")
 	draw.Slice(starsSlice, "out.png")
 	fmt.Printf("Done\n")
 }