set pm3d depth lighting primary 0.6 
set palette defined (0 "#6666ff", 1 "#6666ff")
set samples 128
set isosamples 128
unset border
unset tics
unset colorbox
unset key
set xyplane 0
set view 45,15, 1.5, 
set term pngcairo size 360,360 background "dark-olivegreen"

c = 10
set xrange [-c:c]
set yrange [-c:c]
set zrange [-c*(1-0.5):c*(1+0.5)]

N = 50
do for [i = 0: N-1] {
 t = 2*pi/N * (i - N/2)
 set out sprintf("im%03d.png", i)
 splot 1.5*c*sin(x-2*t)*sin(y-t)/(x-2*t)/(y-t)*sin(2*t) w pm3d
}
system("convert -adjoin -delay 10 im*.png func0m.gif")
system("rm im*.png")