From 277cf541deec28a56781edfa1b8d4bf5f299e7dc Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Thu, 7 Apr 2011 17:05:25 +0200 Subject: [PATCH] Small simplification in RadialRainbows example. --- examples/Animated/RadialRainbows.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Animated/RadialRainbows.html b/examples/Animated/RadialRainbows.html index b131a36d..720f6334 100644 --- a/examples/Animated/RadialRainbows.html +++ b/examples/Animated/RadialRainbows.html @@ -14,7 +14,7 @@ var color = new RGBColor(1, 0, 0); var cycles = 4; color.hue = i / l * cycles * 360; - colors.push([color, i / (l - 1)]); + colors.push(color); } var gradient = new Gradient(colors, 'radial');