diff options
author | emile <hanemile@protonmail.com> | 2018-10-08 17:20:34 +0200 |
---|---|---|
committer | emile <hanemile@protonmail.com> | 2018-10-08 17:20:34 +0200 |
commit | d1ab3a4384d30039be6a3a7800240d5480d93987 (patch) | |
tree | e2317b79bceaa705984e26539ecc9e26cbf91b83 /main.go | |
parent | 244477770aa7a97f2dbdd113133defdb299a6013 (diff) |
Handle reading data from external CSV files
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main.go b/main.go index 454abe5..0cdd637 100644 --- a/main.go +++ b/main.go @@ -1,6 +1,7 @@ package main import ( + "./csv" "./draw" "./forces" "./structs" @@ -14,6 +15,8 @@ func main() { {structs.Coord{X: 100, Y: 500}, structs.Force{0, 0}, 1000}, } + csv.Import("data/structure03.ita.uni-heidelberg.de_26635.csv", 0, 4000, starsSlice) + forces.CalcAllForces(starsSlice) draw.Slice(starsSlice, "out.png") } |