喔喔,SVG.js 真的太屌了 = =+,有了他就不用 canvas 從零開始刻半天了,裏面有很多不錯的 element 可以直接用,還有好多強大的應用,有在使用 canvas 的朋友可以參考看看。
附上我簡單寫的 svgjs 小範例(其實就是從他 github 文件抓 code 而已):http://jsfiddle.net/muki/ZapGV/1/
svg> element 在 HTML SVG Graphics - W3Schools 的相關結果
The HTML <svg> element is a container for SVG graphics. SVG has several methods for drawing paths, boxes, circles, text, and graphic images. ... <看更多>
svg> element 在 Element Index — SVG 2 的相關結果
Elements . Attributes . Properties. This appendix is informative, not normative. The following are the elements in the SVG language:. ... <看更多>
svg> element 在 SVG element reference - SVG: Scalable Vector Graphics | MDN 的相關結果
SVG drawings and images are created using a wide array of elements which are dedicated to the construction, drawing, and layout of vector ... ... <看更多>