node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

textures

textures.js

Textures.js is a Javascript library for creating SVG patterns. Made on top of d3.js, it is designed for data visualization.

Read more on http://riccardoscalco.github.io/textures/.

Usage

Install textures with bower

bower install textures

You can use textures.js or textures.min.js directly with a <script> tag.


You can also install it with npm:

NPM

> require('textures')
{ circles: [Function], lines: [Function], paths: [Function] }