#https://www.shadertoy.com/view/MtVGWV

pixels = W:1024 H:1024

x = from 0 to 1 W
y = from 1 to 0 H

t = 9.72

up0 = iq_voronoi2d(x*6.0, y*4.0 - t*2.0)
up1 = 0.5 + iq_voronoi2d(x*6.0 + 72, y*4.0 - t*2.0 + 30.0)
finalMask = up0 * up1 + (1.0-y)
finalMask = finalMask + (1.0-y)* 0.5
finalMask = finalMask*(0.7-abs(x - 0.5))

a = step(0.8,finalMask)
d = step(0.95,finalMask)

r = mix(0, 1, a)
g = mix(0, 0.4, a)
b = mix(0, 0.0, a)

r = mix(r, 1, d)
g = mix(g, 0.8, d)
b = mix(b, 0.0, d)
