Create interface to make binary tree program

i want to make program about balanced binary tree, i want to make like
in this site
http://www.qmatica.com/DataStructures/Trees/AVL/AVLTree.swf

if i use TK for interface, i must make minimal 63 label for 6 layer. do
you have idea what i must use to design the interface?

Hi Mas,

It’s a good idea to create a program like that; however you should
look into doing this in JavaScript.

Look at using Ruby Processing:
https://github.com/jashkenas/ruby-processing, generating the
Processing: http://processing.org/ files; then compiling them with
Processing JS: http://processingjs.org/.

That way it will be viewable in a browser using proper web-standards.

If you can generalise your solution into a gem, then other people can
use it to visually simulate a larger variety of trees :slight_smile:

On Sun, Dec 30, 2012 at 7:46 AM, Mas B. [email protected] wrote:

i want to make program about balanced binary tree, i want to make like
in this site
http://www.qmatica.com/DataStructures/Trees/AVL/AVLTree.swf

if i use TK for interface, i must make minimal 63 label for 6 layer. do
you have idea what i must use to design the interface?

What interface do you actually mean? Are you talking about classes
representing the tree or are you talking about the graphical user
interface of the tree representation on the screen?

Cheers

robert

Can’t see the link, is broken…

Alec T. wrote in post #1090631:

Hi Mas,

It’s a good idea to create a program like that; however you should
look into doing this in JavaScript.

Look at using Ruby Processing:
https://github.com/jashkenas/ruby-processing, generating the
Processing: http://processing.org/ files; then compiling them with
Processing JS: http://processingjs.org/.

That way it will be viewable in a browser using proper web-standards.

If you can generalise your solution into a gem, then other people can
use it to visually simulate a larger variety of trees :slight_smile:

ok i’ll try to learn that ruby processing

Robert K. wrote in post #1090633:

On Sun, Dec 30, 2012 at 7:46 AM, Mas B. [email protected] wrote:

i want to make program about balanced binary tree, i want to make like
in this site
http://www.qmatica.com/DataStructures/Trees/AVL/AVLTree.swf

if i use TK for interface, i must make minimal 63 label for 6 layer. do
you have idea what i must use to design the interface?

What interface do you actually mean? Are you talking about classes
representing the tree or are you talking about the graphical user
interface of the tree representation on the screen?

Cheers

robert

i mean Graphical User Interface…