1 | fur-shapes
|
2 | ==========
|
3 |
|
4 |
|
5 | <a name="badges"></a>
|
6 |
|
7 | [![Build Status][bd_travis_shield_url]][bd_travis_url]
|
8 | [![Code Climate][bd_codeclimate_shield_url]][bd_codeclimate_url]
|
9 | [![Code Coverage][bd_codeclimate_coverage_shield_url]][bd_codeclimate_url]
|
10 | [![Dependency Status][bd_gemnasium_shield_url]][bd_gemnasium_url]
|
11 | [![npm Version][bd_npm_shield_url]][bd_npm_url]
|
12 |
|
13 | [bd_repo_url]: https://github.com/fur-repo/fur-shapes
|
14 | [bd_travis_url]: http://travis-ci.org/fur-repo/fur-shapes
|
15 | [bd_travis_shield_url]: http://img.shields.io/travis/fur-repo/fur-shapes.svg?style=flat
|
16 | [bd_license_url]: https://github.com/fur-repo/fur-shapes/blob/master/LICENSE
|
17 | [bd_codeclimate_url]: http://codeclimate.com/github/fur-repo/fur-shapes
|
18 | [bd_codeclimate_shield_url]: http://img.shields.io/codeclimate/github/fur-repo/fur-shapes.svg?style=flat
|
19 | [bd_codeclimate_coverage_shield_url]: http://img.shields.io/codeclimate/coverage/github/fur-repo/fur-shapes.svg?style=flat
|
20 | [bd_gemnasium_url]: https://gemnasium.com/fur-repo/fur-shapes
|
21 | [bd_gemnasium_shield_url]: https://gemnasium.com/fur-repo/fur-shapes.svg
|
22 | [bd_npm_url]: http://www.npmjs.org/package/fur-shapes
|
23 | [bd_npm_shield_url]: http://img.shields.io/npm/v/fur-shapes.svg?style=flat
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 | <a name="description"></a>
|
30 |
|
31 | Shapes for fur.
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 | <a name="overview"></a>
|
38 |
|
39 |
|
40 |
|
41 |
|
42 |
|
43 |
|
44 | <a name="sections"></a>
|
45 |
|
46 |
|
47 |
|
48 | <a name="section-docs-readme-01-installation-md"></a>
|
49 | Installation
|
50 | -----
|
51 |
|
52 | ```bash
|
53 | npm install fur-shapes --save
|
54 | ```
|
55 |
|
56 |
|
57 |
|
58 |
|
59 |
|
60 | <a name="section-docs-readme-02-usage-md"></a>
|
61 | Usage
|
62 | ----
|
63 |
|
64 | ```javascript
|
65 | var furShapes = require('fur-shapes'),
|
66 | fs = require('fs');
|
67 |
|
68 |
|
69 | var themeA = furShapes.a(256, 215, '#38E'),
|
70 | themeB = furShapes.b(512, 256, '#E00');
|
71 |
|
72 |
|
73 | fs.writeFileSync('shape-01.svg', themeA);
|
74 | fs.writeFileSync('shape-02.svg', themeB);
|
75 | ```
|
76 |
|
77 |
|
78 |
|
79 |
|
80 | <a name="section-docs-readme-03-examples-md"></a>
|
81 | Examples
|
82 | --------
|
83 |
|
84 | See [fur-shapes-gallery](http://fur-repo.github.io/fur-shapes/)
|
85 |
|
86 | | Theme | Image | Signature |
|
87 | | :---: | ----- | --------- |
|
88 | | **a** | <img src="./docs/examples/images/example-shape-a.png?v=1.0.6" height="62"> | `furShapes.a(256,256, #38E)` |
|
89 | | **b** | <img src="./docs/examples/images/example-shape-b.png?v=1.0.6" height="62"> | `furShapes.b(256,256, #38E)` |
|
90 | | **c** | <img src="./docs/examples/images/example-shape-c.png?v=1.0.6" height="62"> | `furShapes.c(256,256, #38E)` |
|
91 | | **d** | <img src="./docs/examples/images/example-shape-d.png?v=1.0.6" height="62"> | `furShapes.d(256,256, #38E)` |
|
92 | | **e** | <img src="./docs/examples/images/example-shape-e.png?v=1.0.6" height="62"> | `furShapes.e(256,256, #38E)` |
|
93 | | **f** | <img src="./docs/examples/images/example-shape-f.png?v=1.0.6" height="62"> | `furShapes.f(256,256, #38E)` |
|
94 | | **g** | <img src="./docs/examples/images/example-shape-g.png?v=1.0.6" height="62"> | `furShapes.g(256,256, #38E)` |
|
95 | | **h** | <img src="./docs/examples/images/example-shape-h.png?v=1.0.6" height="62"> | `furShapes.h(256,256, #38E)` |
|
96 | | **i** | <img src="./docs/examples/images/example-shape-i.png?v=1.0.6" height="62"> | `furShapes.i(256,256, #38E)` |
|
97 |
|
98 |
|
99 |
|
100 |
|
101 |
|
102 |
|
103 |
|
104 |
|
105 | <a name="license"></a>
|
106 |
|
107 | License
|
108 | -------
|
109 | This software is released under the [MIT License](https://github.com/fur-repo/fur-shapes/blob/master/LICENSE).
|
110 |
|
111 |
|
112 |
|
113 |
|
114 |
|
115 | <a name="links"></a>
|
116 |
|
117 | Links
|
118 | ------
|
119 |
|
120 | + [fur](https://github.com/fur-repo/fur)
|
121 | + [fur-shapes-gallery](http://fur-repo.github.io/fur-shapes/)
|
122 |
|
123 |
|