{
var two = new Two({
type: Two.Types.canvas,
width: width,
height: 300,
autostart: true
});
var radius = 100;
var stops = [
new Two.Stop(0, 'rgba(255, 50, 50, 1)'),
new Two.Stop(1, 'rgba(255, 50, 50, 0)')
];
var background = two.makeRectangle(two.width / 2, two.height / 2, two.width, two.height);
background.noStroke();
background.fill = new Two.RadialGradient(0, 0, radius, stops);
two.bind('update', function(frameCount) {
var gradient = background.fill;
var theta = Math.PI * 2 * (frameCount / 60);
var x = 0.75 * radius * Math.cos(theta);
var y = 0.75 * radius * Math.sin(theta);
gradient.focal.x = x;
gradient.focal.y = y;
});
return two.renderer.domElement;
}