Skip to content

MaxHalford/arcgonaut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

arcgonaut

License

Software for creating arc diagrams such as:

Airports

arcgonaut is written in Go. It uses Laurent Le Goff's draw2d for the imaging tools and Lucas Beyer's go-colorful for generating colors. The rest is a lot geometry/rescaling.

In this example the list in the middle corresponds to country names, the arc between names corresponds to the amount the first name is "sending" to the second name.

Setup

You can install Go here.

go get https://github.com/MaxHalford/arcgonaut
cd $GOPATH/src/github.com/MaxHalford/arcgonaut
go get
go build

Usage

For the moment the tool is usable in the command-line.

  • Naviguate towards the directory where the binary is.
  • ./arcgonaut -f=data/example.arcgo -c1=#ffc3e1

Example

A PNG will be generated into the same directory. The program takes as input a file that has a specific format. The file extension doesn't matter. Tile has to be a list of lines where every line takes the shape "Steve>Alice>10" (Steve sends 10 to Alice).

To do

  • Add different file extensions
  • Find a way to handle enormous data files.

License

The MIT License (MIT). Please see the license file for more information.

About

🌀 Golang arc diagrams

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages