arcgonaut

command module
v0.0.0-...-48dce55 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2017 License: MIT Imports: 13 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL