Spiraling Out of Control

to generate a new and unique variation

Source Code

Every variart piece is open source, you can see exactly how it is drawn from the code.

var offset = getRandomInt(0, 10);
var theta = 0;

for (var r = 0; r < 360; r += 0.1) {
  var x = r * Math.cos(theta + offset);
  var y = r * Math.sin(theta + offset);
 
  s.circle(x + width/2, y + height/2, 3).attr({fillOpacity: 0.1});

  theta += 0.05;
}