for(var i=0; i<rows; i++,cur-=kwArgs.angle){ m.push(fill(dxc.fromHsv({ h: cur, s:hsv.s, v:hsv.v }), cols, factors)); 
for(var i=0; i<rows; i++,cur+=kwArgs.angle){ if(cur<0) { cur+=360 ; } if(cur>=360){ cur-=360; } m.push(fill(dxc.fromHsv({ h: cur, s:hsv.s, v:hsv.v }), cols, fs)); 
	this.analogous= function(kwArgs){		//	summary		//	generates n colors based on a base color, based on a fixed hue angle delta		//	(relative to the base hue) with slight variations in saturation.		kwArgs=dojo.mixin({			series:4,				//	number of analogous lines to generate			num:32,					//	number of colors to derive			order:"bottom up",		//	the order of the returned color array			angle:30,				//	the angle of difference to use			high:0.667,				//	high part of range to generate tints and shades			low:0.25				//	low part of range to generate tints and shades		}, kwArgs||{});				var base=prep(kwArgs.base, "analogous");		if(!base){ return []; }		//	let start the generation.  We use series to move further away from the center.		var num=kwArgs.num, hsv=base.toHsv();		var rows=kwArgs.series+1, col=Math.ceil(num/rows);		var factors=factors(col, kwArgs.high, kwArgs.low);		var m=[], cur=hsv.h-(kwArgs.angle*(kwArgs.series/2));		for(var i=0; i<rows; i++,cur-=kwArgs.angle){			m.push(fill(dxc.fromHsv({ h: cur, s:hsv.s, v:hsv.v }), cols, factors));		}		console.log("generated color list from analogous: ", m);		return flatten(m, num, kwArgs.order);	//	Array	};
5168	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5168/78b57baf81ec10a36d7d3d8ea2c524910afff12d/Generator.js/buggy/color/Generator.js