i want to make program about balanced binary tree, i want to make like in this site "http://www.qmatica.com/DataStructures/Trees/AVL/AV... 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?
on 2012-12-30 07:46
on 2012-12-30 09:06
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 :)
on 2012-12-30 12:15
On Sun, Dec 30, 2012 at 7:46 AM, Mas Bejo <lists@ruby-forum.com> 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/AV... > > 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
on 2012-12-30 15:50
Alec Taylor 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 :) ok i'll try to learn that ruby processing
on 2012-12-30 15:50
Robert Klemme wrote in post #1090633: > On Sun, Dec 30, 2012 at 7:46 AM, Mas Bejo <lists@ruby-forum.com> 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/AV... >> >> 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...
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.