variart
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 w = width / 3;
for (var x = 0; x < 3; x++) {
for (var y = 0; y < 3; y++) {
s.rect(x * w, y * w, w, w)
.attr({
fill: "#000",
fillOpacity: Math.random()
})
}
}
Copyright © 2014–2025 Kevin Marsh. All rights reserved. Questions? Comments? hello@variart.io