#つぶやきGLSL
#define v vec3
float f(v p){return .7*(length(max(abs(mod(p,1.)-.5)-.1,0.))*cos(t)+(length(p)-.75)*(1.-cos(t)));}
void main(){v s,l;for(int i=0;i<64;i++){l+=f(s);
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/tqDVtp3byP
0 replies
1 retweet
9 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.
