mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-22 20:25:49 +00:00
Change links to demo pages from yura.thinkweb2.com to github pages (kangax.github.com/fabric.js). Add link to unit tests, that can be run right in the browser.
This commit is contained in:
parent
8d5520c49a
commit
0177c91917
2 changed files with 7 additions and 4 deletions
10
README.md
10
README.md
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
Using Fabric.js, you can create and populate objects on canvas; objects like simple geometrical shapes — rectangles, circles, ellipses, polygons, or more complex shapes consisting of hundreds or thousands of simple paths. You can then scale, move, and rotate these objects with the mouse; modify their properties — color, transparency, z-index, etc. You can also manipulate these objects altogether — grouping them with a simple mouse selection.
|
||||
|
||||
Contributions are very much welcome!
|
||||
|
||||
### Goals
|
||||
|
||||
- Unit tested (939 tests at the moment)
|
||||
|
|
@ -24,6 +26,8 @@ Using Fabric.js, you can create and populate objects on canvas; objects like sim
|
|||
- IE8 (incomplete — about 17 failing tests at the moment)
|
||||
- IE7,6 (incomplete - about 27 failing tests at the moment)
|
||||
|
||||
You can [run automated unit tests](http://kangax.github.com/fabric.js/test/unit/suite_runner.html) right in the browser.
|
||||
|
||||
### History
|
||||
|
||||
Fabric.js started as a foundation for design editor on [printio.ru](http://printio.ru) — interactive online store with ability to create your own designs. The idea was to create [Javascript-based editor](http://printio.ru/ringer_man_tees/new), which would make it easy to manipulate vector shapes and images on T-Shirts. Since performance was one of the most critical requirements, we chose canvas over SVG. While SVG is excellent with static shapes, it's not as performant as canvas when it comes to dynamic manipulation of objects (movement, scaling, rotation, etc.). Fabric.js was heavily inspired by [Ernest Delgado's canvas experiment](http://www.ernestdelgado.com/public-tests/canvasphoto/demo/canvas.html). In fact, code from Ernest's experiment was the foundation of an entire framework. Later, Fabric.js grew into a collection of distinct object types and got an SVG-to-canvas parser.
|
||||
|
|
@ -48,9 +52,9 @@ Fabric.js started as a foundation for design editor on [printio.ru](http://print
|
|||
|
||||
### Demos
|
||||
|
||||
- [Main demo](http://yura.thinkweb2.com/canvas_demo/test/demo/)
|
||||
- [Benchmark (quantity)](http://yura.thinkweb2.com/canvas_demo/test/benchmarks/quantity.html)
|
||||
- [Benchmark (animation)](http://yura.thinkweb2.com/canvas_demo/test/benchmarks/animation.html)
|
||||
- [Main demo](http://kangax.github.com/fabric.js/test/demo/)
|
||||
- [Benchmark (quantity)](http://kangax.github.com/fabric.js/test/benchmarks/quantity.html)
|
||||
- [Benchmark (animation)](http://kangax.github.com/fabric.js/test/benchmarks/animation.html)
|
||||
|
||||
### Examples of use
|
||||
|
||||
|
|
|
|||
|
|
@ -59,7 +59,6 @@
|
|||
<li><button class="shape" id="shape4"><strong>2742</strong> paths</button></li>
|
||||
<li><button class="shape" id="shape6"><strong>3921</strong> paths</button></li>
|
||||
<li><button class="shape" id="shape15"><strong>8325</strong> paths</button></li>
|
||||
<li><button class="shape" id="shape18"><strong>x</strong> paths</button></li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
|
|
|
|||
Loading…
Reference in a new issue