Curry Stripe
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 colors = ["#10181a","#d32325","#cde19a","#f9cdcc","#d3ecf3","#face2f","#996825","#ee9a6e","#353f84","#fdfacd","#57a430","#cbcd2c","#a2caed"];
var x = 0;
while (x <= width){
var color = colors.splice(getRandomInt(0, colors.length -1), 1)[0];
var stripeWidth = getRandomInt(10, 100);
s.rect(x, 0, stripeWidth, height).attr({fill: color});
x += stripeWidth;
}
Copyright © 2014–2025 Kevin Marsh. All rights reserved. Questions? Comments? hello@variart.io