Vector graphics in Javascript?

后端 未结 7 493
孤街浪徒
孤街浪徒 2020-12-24 08:01

One of the advantages of Flash/Flex is that you can use vector graphics (SVG), which is nice. I did a bit of searching around and came across this Javascript vector graphic

相关标签:
7条回答
  • 2020-12-24 08:38

    I've used Raphaël Javascript Library and it worked quite well. Currently the library supports Firefox 3.0+, Safari 3.0+, Opera 9.5+ and Internet Explorer 6.0+.

    0 讨论(0)
  • 2020-12-24 08:39

    I know this is a pretty old question, but in case anyone comes across this question, the most impressive vector graphics I've seen in JavaScript is Paper.js.

    Hope that helps.

    0 讨论(0)
  • 2020-12-24 08:41

    Check out Google Closure. The vector graphics support is very well-done, IMO. If you've worked with Java2D before, this should seem very familiar.

    0 讨论(0)
  • 2020-12-24 08:42

    Take a look at dojox.gfx. I posted more wordy answer in Recommend javascript graphics tutorials going over available graphics options in browsers including 2D and 3D cases.

    0 讨论(0)
  • 2020-12-24 08:43

    Give a look to Cake, Processing.js and jQuery SVG Integration Plugin.

    Also check the Canvas element reference.

    0 讨论(0)
  • 2020-12-24 08:48

    Just to add an additional answer. the creator of one of the popular vector js (Raphaël) joined Adobe and worked on this (http://snapsvg.io/) for several years.

    although the last release is from 2017 its much more maintained and newer than other libraries mentioned here. hope this helps someone looking for svg vector graphics library in js.

    if you are looking for a meteorjs build for snap you can get it here (https://atmospherejs.com/mirageglobe/snapsvgcdn) with

    $ meteor add mirageglobe:snapsvgcdn
    
    0 讨论(0)
提交回复
热议问题