#つぶやきGLSL
#define v vec3
float f(v p){return max(length(mod(p,1.)-.5)-.5,-length(p)+1.);}
void main(){v s,l;for(int i=0;i<32;i++){l+=f(s*mat3(1.,0.,0.,0.,cos(t),-sin(t),0.,sin(t),cos(t)));s=v(0.,0.,2.)+v((gl_FragCoord.xy-r/2.)/3e2,-1.)*l;}gl_FragColor=vec4(length(s/l)/l,1.);}pic.twitter.com/jxgMkDzGMA
0 replies
1 retweet
11 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
