Share
Sketch
DD=0.01;b=(o,u,i,y,z)=>o().add(solid(1,1,1),DD).thresh(i*0.2*(z-y)+y,0).luma(0.5,0).color(c(u,i,0),c(u,i,1),c(u,i,2));c=(u,i,j)=>{let cc = u.split("/"), cs = cc[cc.length - 1].split("-");return parseInt("0x" + cs[i].substring(2*j, 2+2*j))/255;};colorize=(x,u,y=0,z=1)=>b(x,u,0,y,z).layer(b(x,u,1,y,z)).layer(b(x,u,2,y,z)).layer(b(x,u,3,y,z)).layer(b(x,u,4,y,z)) url='https://coolors.co/2b59c3-253c78-d36582-ffeecf-c9a690' z=()=>osc(2,.3).contrast(0.7) src(o1).modulateRotate(src(o1).hue(0.5).add(gradient(1.5).saturate(3).hue(0.3),.4),.02,.01).scale(1.002).layer(colorize(z,url).mask(shape(4,0.2,0.0)),1).out(o1) solid().layer(o1).out(o0)
14 Jan 2020