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

pixels = W:1024 H:1024

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

freq = 2334.089
zoom = sqrt(freq)
x = x*zoom
y = y*zoom

v = 0.0
PointsDist = zoom * 10.0
pd23 = PointsDist*2/3

[Loop Start:24
Angle = loop/24 * PI * 2	
PointFreqX = sin(Angle) * PointsDist
PointFreqY = cos(Angle) * PointsDist
PointFreqY = clamp( PointFreqY, -pd23, pd23 )
PointFreqX = clamp( PointFreqX, -pd23, pd23 )
wave = sin(length2(x - PointFreqX, y - PointFreqY)) * 0.001
v = v - (wave * 0.0012)
Loop End]

v = v * ( length2(x, y) * PointsDist * PointsDist / 8.0 )

r = sin(v)
g = r
b = r

