diff --git a/www/common/rainbow.js b/www/common/rainbow.js new file mode 100644 index 000000000..765b42294 --- /dev/null +++ b/www/common/rainbow.js @@ -0,0 +1,29 @@ +define([], function () { + return function (n) { + var r = 0.6, + n = n || 24, // default is 24 colours + i = 0, + t = [], + rgb = [0,2,4]; + + while(i