WoW!
That's an impressive reply, I really appreciate the fact that you're loyal to perl.
I'm not sure about Tk::Animation, let me try to explain some more, I'm gonna start writing a Java applet today to see how that goes...
There's going to be a simple diagram of three rows of amino acid residues, with lines interlinking the rows representing the bonds...that would be easy GIF wise. But the resulting GIF picture is cluttered bond wise, lots of hydrophobic interactions. So though i will be putting in buttons that would enable you to turn off the different type of bonds (4 types) or even show the bonds that are under a certain length (ie show the more important bonds) i want to be able to pick a letter, or even a group of letters and move them to a different place within the applet, AND AT THE SAME TIME, realign the lines/bonds, so that they are still linking the correct letters. this is so that a user will be able to re-arrange the image to their liking.
As you can imagine, I was excited when I realise that you could 'move' objects within the Tk::Canvas, but to reflect this movement within the applet is another matter...one idea, is to have every letter and line as their own little 'gif', and use javascript to send back the co-ordinates via CGI for rewriting the GIFs and the HTML document, but it seems like a long way round...
any more hints?
S
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.