Spiraling Out of Control
to generate a new and unique variation
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;
}
Copyright © 2014–2025 Kevin Marsh. All rights reserved. Questions? Comments? hello@variart.io