Sortviz is a small terminal program written in Ruby and uses the Curses library It lets you visualize sorting algorithms, you can add more sorting algorithms at will but for the time being it can only load the ones bundled with itself.
Looks like this
This gem is not intended for your application's Gemfile, it's a ruby program packaged as a Gem:
install it as:
$ gem install sortviz
$ sortviz -h
After checking out the repo, run
bin/setup to install dependencies. Then, run
rake spec to run the tests. You can also run
bin/console for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run
bundle exec rake install
And don't make me do your job for you. It's OSS, be reasonable.
I blogged about this here: Software, a labor of love
I want this to be a teaching tool, so I'll be expanding this to support writing sorting code using pseudocode instead of Ruby. Should be a fun little language design exercise.
The gem is available as open source under the terms of the MIT License.