Drawing Binary Trees

Binary Tree This site shows a Ruby program to draw binary trees.

See it in action...

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.)

Source Code

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.

More information?

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 hector@hectorcorrea.com if you have any questions or need more information about this program