Animate the Maths

40-step raymarch · cosine turbulence field

drag the canvas to orbit & tilt · double-tap a knob to reset
the original maths
f z,d
@(40){
 f3 p = z*nor(2*C.rgb - R.xyy)
 p.zy += 3
 d=2; @(7) d/=.8,
  p += .6*p.y*cos(p.yzx*d - f3(T,,)*6)/d
 z += d = .02+abs(len(p.xz)+p.y*.4-1)/9
 O += (sin(f4(5,0,2,)-p.y)+2)/d
}
O = tanh(O*O/15e5)
WebGL is not available in this frame.