0.0.5 • Published 8 years ago

bric v0.0.5

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

bric

Makes a brick in one of several purple-friendly, yet earthy, earthy colors.

Installation

npm install bric

You also need to install Cairo, as brick depends on it. To install on OS X:

brew install pkg-config cairo libpng jpeg giflib

For other systems, see Cairo's download page.

Usage

Put the following into a separate .js file, such as "app.js".

var bric = require('bric')

var width = 200
var height = 50

bric(width, height)

In the same folder as app.js, make a folder called "bricks". This is where your bricks will go.

Then, on the command line, run:

$ node app.js

Check the "bricks" folder. You should have a bunch of bricks that are 200 pixels wide by 50 pixels tall.

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago