Here's a nifty web page which shows a way of visualizing the operation of various common sorting algorithms.
Sample output for Heapsort:
The coolest thing about this of course is the ability to dynamically generate rich graphics in the browser. All hail the HTML5 <canvas> element!
Design Token-Based UI Architecture
1 week ago
2 comments:
This looks neat - could this mean no more messy flash or java applet when I need to do a graph
Exactly! Everyone is excited about the canvas element for just that kind of thing.
There's some good Javascript libs already for working with canvas. I haven't seen a graphing one yet, but it's an obvious thing to do. Perhaps the JGraph guy will port his stuff to JS.
And I'm still thinking about what it would take to port JTS to JS... 8^)
Post a Comment