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

pixels = W:1024 H:1024

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

t = 1.1
spikes = 12

dist = length2(x, y) + t*0.1
angle = atan2(y, x) + t*0.25
a = cos(spikes*angle)*0.85
dist = dist + smoothstep(-1.0,1.0,a)*0.15

s = sin(dist*15.0)
r = smoothstep(0.0,0.2,s)

r = mix(0, 1, r)
g = r
b = r