#https://www.shadertoy.com/view/4d2cRK

pixels = W:1024 H:1024

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

#d = length2(x, y)
#th = atan2(y, x)

t = 12.1585
value = 0

[loop start:9
angle = PI*loop/9
w = x * sin(angle) + y * cos(angle)
value = value + (sin(w + t) + 1) / 4
loop end]

r = sin(value*5)
g = sin(value*3)
b = sin(value*7)
