Skip to content

Commit

Permalink
Minor updates to readme to include browser support. Reversed order of…
Browse files Browse the repository at this point in the history
… csscolorparser.js & gm-library.js in Gruntfile
  • Loading branch information
awgreenblatt committed Jul 29, 2013
1 parent 04009ae commit 90f5a77
Show file tree
Hide file tree
Showing 4 changed files with 208 additions and 204 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Expand Up @@ -2,7 +2,7 @@ module.exports = function(grunt) {
// Project configuration.

var project = {
files: ['src/csscolorparser.js', 'src/gm-library.js']
files: ['src/gm-library.js', 'src/csscolorparser.js']
}

grunt.initConfig({
Expand Down
6 changes: 5 additions & 1 deletion README.md
@@ -1,6 +1,10 @@
# Gradientmaps.js

Javascript library that allows you to easily apply gradient maps to any element on the page.
Javascript library that allows you to easily apply gradient maps to any HTML element on the page.

## Browser Support

This functionality is currently supported on desktop Chrome and Firefox

## What is a Gradient Map you ask?
Traditionally, gradient maps are used in Photoshop. Think about taking an image and converting it to grayscale. Then, take a linear gradient and map that linear gradient to your image, where the left end of your gradient are the darkest values in your image, and the right end of your gradient maps to the brightest parts of your image. If you have a simple linear gradient from red to blue, the darkest parts of your image will get mapped to red, the brightest parts will get mapped to blue, and everything else will be some combination of red and blue, depending on how light or dark it is.
Expand Down

0 comments on commit 90f5a77

Please sign in to comment.