This site shows a Ruby program to draw binary trees.
Draw a binary tree with 25, 50, 100, or 250 random values.
...or if you prefer, click here to draw a binary tree with your own set of values (limited to 250 values.)
You can get the source code for this project from github.
The code is written in Ruby. Keep in mind that this is my first Ruby project and might not be the most Ruby-like project out there.
Check out this blog post for more details on how the binary tree, the binary tree drawer, and the demo web site work.
Drop me an e-mail at firstname.lastname@example.org if you have any questions or need more information about this program