SVG 3D Builder - 该框架旨在使用SVG创建3D模型并提供简洁的API
SVG 3D Builder - 该框架旨在使用SVG创建3D模型并提供简洁的API
SVG 3D Builder
This framework aims at creating 3d models with SVG and to provide a concise API. It is purely developed with concepts of two-dimensions. One of its essential implementations is Bezier in both curve and surface. It is one thing to describe them with mathematic equations, but another thing to illustrate them with computer graphics.
See online exhibition developed by the framework and its source code.
Start
You can either start it in traditional way
Or embark your development with ES6
npm install --save svg-3d-builder
import Builder from 'svg-3d-builder';
Make sure there is an svg element described in your document
And see your simplest work by adding these codes
Builder.select('#graph').drawLine('M 0 0 0 l 100 0 0').action();
Of course you can see code examples before building sophisticated works by yourself.
API
You also need to look up the API document.
Lisence
Apache
Other
postscript
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。