scene.org File Archive

File download

<root>­/­parties­/­2024­/­sessions24­/­code_graphics/simulated-reality--a--by-yohei-nishitsuji.txt

File size:
280 bytes (280B)
File date:
2024-11-19 12:14:03
Download count:
all-time: 14

Preview

for(float i,g,e,s;++i<99.;o.rgb+=.01-hsv(.1,g*.04-e*.5,s/2.5e2)){vec3 p=vec3((FC.xy-.5*r)/r.y*7.+vec2(0,6),g+2.)*rotate3D(sin(t*.1)*.1-2.7,vec3(0,7.+sin(t*.1)*.5,-1.2));s=4.;for(int i;i++<19;p=vec3(.1,4,-1)-abs(abs(p)*e-vec3(3,4,3)))s*=e=7.4/dot(p,p*.5);g+=p.y/s;s=log(s)/exp(e);}