public/rot.js/rot.js
function(color1, color2) {
		for (var i=0;i<3;i++) {
			for (var j=1;j<arguments.length;j++) {
				color1[i] += arguments[j][i];
			}
		}
		return color1;
	}
function(color1, color2) {
		for (var i=0;i<3;i++) {
			for (var j=1;j<arguments.length;j++) {
				color1[i] += arguments[j][i];
			}
		}
		return color1;
	}
function ( color1 , color2 ) { for ( var i = 0 ; i < 3 ; i ++ ) { for ( var j = 1 ; j < arguments . length ; j ++ ) { color1 [ i ] += arguments [ j ] [ i ] ; } } return color1 ; }
Add two or more colors, MODIFIES FIRST ARGUMENT
@param {number[]} color1
@param {number[]} color2
@returns {number[]}
Add two or more colors MODIFIES FIRST ARGUMENT