Skip to content

lbrito1/huegraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Graphs with Hue.

Resources

License

GPL-3.0, MIT licenses found

Licenses found

GPL-3.0
LICENSE
MIT
LICENSE.txt

Stars

Watchers

Forks

Packages

No packages published