Project

huegraph

0.0
No commit activity in last 3 years
No release in over 3 years
Print colored graphs and pick the hue.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.16
~> 5.0
~> 10.0

Runtime

~> 0.2.0
~> 1.2.7
 Project Readme

Huegraph

Graphs with hue.

Installation

$ gem install huegraph

Usage

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.

Why?

Good question. This started as something to help me do some graph-related exercises, but then I found out about Curses and was hooked.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/lbrito1/huegraph.

License

The gem is available as open source under the terms of the MIT License.