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

pixels = W:1024 H:1024

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

u = x - 1/1.73*y
v = y*2/1.73 
w = 1 - u - v

gx = fract(u)
gy = fract(v)
gz = fract(w)

gh = length3(gx, gy, gz)
gx = if(gh > 1, 1-gx, gx)
gy = if(gh > 1, 1-gy, gy)
gz = if(gh > 1, 1-gz, gz)

t = 5.0

k = sin(gx * PI*t) + sin(gy * PI*t) + sin(gz * PI*t)

r = k
g = k
b = k
