Skip to content

Latest commit

 

History

History
83 lines (67 loc) · 1.88 KB

README.md

File metadata and controls

83 lines (67 loc) · 1.88 KB

Radar

Simple clojure application to draw a radar (idea from gigaquid).

Installation

Download standalone jar from available releases.

Usage

$ java -jar radar-1.0.0.jar [filename.ext]

where filename.ext is the name of the configuration file. Both JSON (.json) and text (.txt) formats are supported.

Note that an image, named filename.png, is automatically created in the current directory.

Example

Hereafter is the gigasquid radar 2014 drawn with radar.

Radar

Here the content of the JSON configuration file leading to the sample radar above:

[
  {
    "name": "Robots",
    "categories": [
      "Ar Drone",
      "Phamtom X Hexapod",
      "Myo Armband",
      "Roomba"
    ]
  },
  {
    "name": "Languages",
    "categories": [
      "Clojure",
      "Pixie",
      "Idris",
      "JavaScript"
    ]
  },
  {
    "name": "Cute Animals",
    "categories": [
      "Llamas",
      "Alpagas",
      "Wombats",
      "Hedgehogs"
    ]
  },
  {
    "name": "Tasty Food",
    "categories": [
      "Crumpets",
      "Mint Tim Tams",
      "Raclette",
      "Egg Nog"
    ]
  }
]

Here the content of the text configuration leading to the sample radar above:

Robots: Ar Drone, Phamtom X Hexapod, Myo Armband, Roomba
Languages: Clojure, Pixie, Idris, JavaScript
Cute Animals: Llamas, Alpagas, Wombats, Hedgehogs
Tasty Food: Crumpets, Mint Tim Tams, Raclette, Egg Nog

Depencencies

Radar uses:

  • clj-json, a clojure JSON library,
  • quil, a powerfull graphical clojure framework.

License

Copyright © 2015

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.