Graphs with hue.
$ gem install huegraph
huegraph
outputs the demo seen above. It is a 20x20 matrix-like graph. Each vertex is printed as a single character.
huegraph hue=n
sets the hue to start at n
degrees.
By default, the graph will render a total of 360 degrees of hue. When defining hue=n
, we limit that to 100 degrees, so huegraph hue=60
will use colors from 60 to 160 degrees. For more details check the Colorizeable module.
Good question. This started as something to help me do some graph-related exercises, but then I found out about Curses and was hooked.
Bug reports and pull requests are welcome on GitHub at https://github.com/lbrito1/huegraph.
The gem is available as open source under the terms of the MIT License.