Skip to content

Commit

Permalink
chore: update dependencies, username, v1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
loginov-rocks committed Dec 31, 2018
1 parent 0c8c8e4 commit 4d09755
Show file tree
Hide file tree
Showing 7 changed files with 428 additions and 410 deletions.
2 changes: 1 addition & 1 deletion .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 12 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
language: node_js
node_js:
- "node"
- "8"
- "10"
- "node"
env:
- CXX=g++-4.9
- CXX=g++-4.9
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- ubuntu-toolchain-r-test
packages:
- libcairo2-dev
- libjpeg8-dev
- libpango1.0-dev
- libgif-dev
- g++-4.9
- libcairo2-dev
- libjpeg8-dev
- libpango1.0-dev
- libgif-dev
- g++-4.9
script: npm run lint && npm test
after_success:
- npm run coveralls
- npm run coveralls
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# canvas-heightmap

[![NpmVersion](https://img.shields.io/npm/v/canvas-heightmap.svg)](https://www.npmjs.com/package/canvas-heightmap)
[![Build Status](https://travis-ci.org/1oginov/canvas-heightmap.svg?branch=master)](https://travis-ci.org/1oginov/canvas-heightmap)
[![Coverage Status](https://coveralls.io/repos/github/1oginov/canvas-heightmap/badge.svg?branch=master)](https://coveralls.io/github/1oginov/canvas-heightmap?branch=master)
[![devDependencies Status](https://david-dm.org/1oginov/canvas-heightmap/dev-status.svg)](https://david-dm.org/1oginov/canvas-heightmap?type=dev)
[![Greenkeeper badge](https://badges.greenkeeper.io/1oginov/canvas-heightmap.svg)](https://greenkeeper.io/)
[![Build Status](https://travis-ci.org/loginov-rocks/canvas-heightmap.svg?branch=master)](https://travis-ci.org/loginov-rocks/canvas-heightmap)
[![Coverage Status](https://coveralls.io/repos/github/loginov-rocks/canvas-heightmap/badge.svg?branch=master)](https://coveralls.io/github/loginov-rocks/canvas-heightmap?branch=master)
[![dependencies Status](https://david-dm.org/loginov-rocks/canvas-heightmap/status.svg)](https://david-dm.org/loginov-rocks/canvas-heightmap)
[![devDependencies Status](https://david-dm.org/loginov-rocks/canvas-heightmap/dev-status.svg)](https://david-dm.org/loginov-rocks/canvas-heightmap?type=dev)
[![Greenkeeper badge](https://badges.greenkeeper.io/loginov-rocks/canvas-heightmap.svg)](https://greenkeeper.io/)

Canvas Heightmap is a package to **get images data by pixels, channels or average in different representations** that
can be used to build heightmaps.
Expand All @@ -23,7 +24,7 @@ npm install canvas-heightmap
const ch = new CanvasHeightmap();

// At first set the source and wait until it would be loaded.
ch.use('https://raw.githubusercontent.com/1oginov/canvas-heightmap/master/test/resources/black-and-white.png').
ch.use('https://raw.githubusercontent.com/loginov-rocks/canvas-heightmap/master/test/resources/black-and-white.png').
then(() => {
// Secondly invoke draw method to render image to be able to get its data.
ch.draw();
Expand Down Expand Up @@ -197,4 +198,4 @@ between 0 and 255 (included).

## Contribution

If you want to contribute, please use the [dev](https://github.com/1oginov/canvas-heightmap/tree/dev) branch.
If you want to contribute, please use the [dev](https://github.com/loginov-rocks/canvas-heightmap/tree/dev) branch.
Loading

0 comments on commit 4d09755

Please sign in to comment.