Skip to content

Commit

Permalink
Removed all source files
Browse files Browse the repository at this point in the history
  • Loading branch information
raghavaro committed Apr 12, 2018
1 parent 5e6ecd5 commit 933adf5
Show file tree
Hide file tree
Showing 35 changed files with 33 additions and 5,844 deletions.
18 changes: 0 additions & 18 deletions .gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .travis.yml

This file was deleted.

30 changes: 17 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
# colormap [![Build Status](https://travis-ci.org/bpostlethwaite/colormap.png)](https://travis-ci.org/bpostlethwaite/colormap)


# colormap

![all colormap output](./colormaps.png)

## Usage

[![npm install colormap](https://nodei.co/npm/colormap.png?mini=true)](https://npmjs.org/package/colormap/)

```js
let colormap = require('colormap')
### Raw HTML/JS

let colors = colormap({
colormap: 'jet',
nshades: 10,
format: 'hex',
alpha: 1
})
```
let spec = {
colormap: 'jet',
nshades: 10,
format: 'hex',
alpha: 1
};

## API
let colormap = createColormap(spec);

### list = colormap(options?)
### npm

See [this](https://github.com/bpostlethwaite/colormap)

## API

Property | Default | Meaning
---|---|---
Expand All @@ -30,5 +33,6 @@ Property | Default | Meaning


## Credits
This is a raw js implementation of [bpostlethwaite](https://github.com/bpostlethwaite)'s [colormap](https://github.com/bpostlethwaite/colormap)

Color maps are inspired by [matplotlib](https://github.com/d3/d3-scale#sequential-color-scales) color scales, [cmocean](https://github.com/matplotlib/cmocean) oceanographic colormaps, [cosine gradients](https://github.com/thi-ng/color/blob/master/src/gradients.org) and others. Thanks to authors of these libs for their invaluable work.
91 changes: 0 additions & 91 deletions colorScale.js

This file was deleted.

File renamed without changes.
69 changes: 0 additions & 69 deletions example.js

This file was deleted.

147 changes: 0 additions & 147 deletions index.js

This file was deleted.

Binary file removed night.jpg
Binary file not shown.
Loading

0 comments on commit 933adf5

Please sign in to comment.