I am planning on working on an interactive application that graphically animates the various sorting algorithms in action. Most of the examples of this kind on开发者_运维技巧 the web seems to be using java applets. I was wondering what other software/tools would be well suited to develop an application like this. It may or may not be web-based. Any help would be greatly appreciated.
Thanks
Dinesh
Do you mean like this? http://sorting-algorithms.com I guess flash would be an obvious candidate, but is bulky. That website uses gifs! I personally like it
Flash and Silverlight are well-suited for showing such showing animations. It's should be easier to create a nice animation than with Java.
With recent advancements in client-side web application development technologies, it's pretty easy to make something like that using Javascript and HTML5 features like <canvas>
, that most of the browsers already implement. Even if they don't, there are fallback mechanisms, like explorercanvas aimed at Internet Explorer browsers.
And because it takes a simple option of "view source", the code behind the animations is much more accessible than Flash or Java, which would require to provide the source code separately.
Done.
2nd result for Google: sorting algorithms
精彩评论