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

pixels = W:1024 H:1024

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

x1 = x*exp2(ceil(-log2(y)))*0.5
y1 = y*exp2(ceil(-log2(y)))
x1 = fract(x1)
y1 = fract(y1)

k = 1 - smoothstep(0, 0.01 * (1 + y1) / y, abs(4 * abs(x1 - 0.5)  - y1))

r = k
g = k
b = k
