flashlike javascript framework or simple html5 solution
I am kind of new to javascript/html5. normally I would do that kind of stuff inside flash/as3. but since the iPad doesn't support that I need to switch the horse...
I want to build a website where words are floating in position and size and if the mouse comes over one word it should draw some lines to all the other words. are there any frameworks one could use? 开发者_StackOverflow社区the whole should look like a tag cloud with lines between the tags.
Raphael is a good JS replacement for Flash. It's a vector graphics based library.
Take a look at EaselJs from Grant Skinner. The approach he used is similar to Flash display list and timeline.
Here are some example: https://github.com/mikechambers/ExamplesByMesh/tree/master/HTML5/EaselJS/follow http://www.mikechambers.com/blog/2011/01/24/easeljs-example-follow-drone/ http://gskinner.com/blog/archives/2010/12/easel-js-simplifies-working-with-canvas-in-html5.html
A game Grant did: http://www.pirateslovedaisies.com/
精彩评论