Xor about 1 month ago
3D Fire in GOLF:
f z,d
@(70)
{
f3 p=z*nor(2*C.rgb-R.xyy)
p.z+=5+cos(T)
p.xz*=mat2(cos(T+p.y/4+f4(0,8,5,0)))
d=2; @(6) d/=.8, p+=cos((p.yzx-f3(T,,)*8)*d+T)/d
z+=d=.01+abs(len(p.xz)+p.y*.3-1)/9
O+=(sin(p.y/2-f4(,1,2,))+1.1)/d
}
O=tanh(O/1e3)