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

pixels = W:1024 H:1024

x = from -4 to 4 W
y = from -4 to 4 H

t = reflect2d_x(sin(x), sin(y), cos(x), cos(y))
y = reflect2d_y(sin(x), sin(y), cos(x), cos(y))
x = t
t = reflect2d_x(sin(x), sin(y), cos(x), cos(y))
y = reflect2d_y(sin(x), sin(y), cos(x), cos(y))
x = t
t = reflect2d_x(sin(x), sin(y), cos(x), cos(y))
y = reflect2d_y(sin(x), sin(y), cos(x), cos(y))
x = t

r = cos(x*10)*0.5+0.5
g = cos(y*10)*0.5+0.5
b = cos(length2(x,y)*4)*0.5+0.5
