https://github.com/maxhalford/arcgonaut
:cyclone: Golang arc diagrams
https://github.com/maxhalford/arcgonaut
Last synced: 5 months ago
JSON representation
:cyclone: Golang arc diagrams
- Host: GitHub
- URL: https://github.com/maxhalford/arcgonaut
- Owner: MaxHalford
- License: mit
- Created: 2015-10-16T15:26:28.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-03-07T08:58:04.000Z (almost 9 years ago)
- Last Synced: 2025-03-30T20:05:15.145Z (10 months ago)
- Language: Go
- Homepage:
- Size: 9.27 MB
- Stars: 29
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# arcgonaut

Software for creating arc diagrams such as:

arcgonaut is written in Go. It uses [Laurent Le Goff](https://github.com/llgcode)'s [draw2d](https://github.com/llgcode/draw2d) for the imaging tools and [Lucas Beyer](https://github.com/lucasb-eyer)'s [go-colorful](https://github.com/lucasb-eyer/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](https://golang.org/doc/install).
```sh
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``

A PNG will be generated into the same directory. The program takes as input a file that has a [specific format](examples/data/simple.arcgo). 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](LICENSE) for more information.