#Gradient-generator
The gradient generator.
npm install -s gradient-generator
var gg = require('gradient-generator');
var step = 10;
var it = getGradientIterator('#F00', '#0F0', step);
for(int i = 0; i < step; i++) {
console.log(it());
}
console.log(gg.genGradientColors()); //['#E10',...] the gradient colors
That's it!
- let me know how it can be improved in the github issues
- fork and pull-request
built with ❤ by Tyler Yang