//=time() ?>
#genuary16 #genuary Reflection
vec2 uvI, uv=(FC.xy*2.-r)/min(r.x,r.y)*2.;uvI=uv;for(int i=0;i++<4;uv=-abs(uv)+1.,uv/=length(uv)<.96?dot(uv,uv):1.,uv-=1.);o.rgb+=(smoothstep(.5,1.5,length(abs(uv*rotate2D(t+atan(uvI.y,uvI.x)*2.))-1.)));
https://t.co/XHPccDmHD8 #つぶやきGLSL
#define N fsnoise(p-l*e)
vec2 m,M=r,p,k,l,e=vec2(1,0),U=FC.xy;for(int i;i++<8;){p+=(mix(m,M,.4+.2*N)-p)*(e=1.-e);if(abs(dot(p-U,e))<2.)return;k=-min(l=sign(p-U),0.);m+=max(k*p-m,0.)*e;M+=min(k*r+max(l,0.)*p-M,0.)*e;}o=N<.1?e.xyyx:N<.2?e.xxyx:N<.3?e.yyxx:o+1.;#つぶやきGLSL
vec3 p;for(float i,e,g,S,u;i++<1e2;){p=vec3((FC.xy-.5*r)/r.y*g,g-4.);p.xz*=rotate2D(t);p--;S=4.;for(int j;j++<9;)S/=u=dot(p,p),p/=u,p=abs(p+1.)-1.;g+=e=abs(p.y)/S;}o+=normalize(++p).y;
https://t.co/dE2vR1SxV1 #つぶやきGLSL
お豆腐
vec2 p=(FC.xy-r*.5)*3./r.y;int a=int(p.x*6.-13.5)%25+int(3.5-p.y*4.)*25,x=a%31,y=a/31;o.rgb=a>0&&a<125&&abs(p.x)<1.9&&(ivec4(0x14AEAEEE,0x52528AA9,0x55494AEA,0x71772728)[y]&1<<x)>0?hsv(p.y+.2,.5,sin(p.y*PI2+1.)+1.3):FC.pqq-cos(p.y);
#つぶやきGLSL
https://t.co/Utbwd99NZo
vec2 O=(FC.xy*2.-r)/r.y;float a=atan(O.x,O.y),b=PI/3.,c;vec2 p=vec2(log(dot(O,O))+sin(mod(a,b)+b)*1.5-t,3.*a/PI),q=mod(p,1.)-.5;c=snoise2D(floor(p)+t*.2)*PI;o.rgb+=hsv(atan(q.x,q.y)/PI+c,.7,sin(floor(dot(q,q)*16.))+dot(O,O));
#つぶやきGLSL
https://t.co/BaSwtsuesJ
#define F d=max(d,(1.2-length(sqrt(abs(mod(p*s,2.)-1.))))/s);p+=s*=1.7
float l=.01,d=l,s=.3,i;vec3 O=vec3(s,1,t),p,D=vec3((FC.xy*2.-r)/r.y,s)*rotate3D(t,O.xxy);for(;i<1.&&d>1e-4;i+=.01){p=O+D*l;d=0.;s=3.;F;F;l+=F;}F;o.rgb+=hsv(l,.2/l,i+d*s);
#つぶやきGLSL
https://t.co/hlJ5Aze6ex
float i,d=1.,s; vec3 p,n=vec3(-6);for(i=0.;i++<32.&&d>1e-4;){p=vec3((FC.xy-.5*r)/r.y,.2)*s;p.y+=1.5;p.yz*=5.5+mod(t*.2,1.7);p.z-=4.;for(int j;j++<8;){p=1.-abs(p);d-=.7*min(d,dot(p,sin(n))*dot(p/n,p-n));}s+=d;}o.rgb+=vec3(exp(d*d),7,6)/i;
//#つぶやきGLSL "湖畔(lake side)"
float i,d=.1,s=1.; vec3 p,n;for (i=0.;i++<64.&&d>1e-4;){p+=vec3((FC.xy-.5*r)/r.y,.1)*s*2.;n=-vec3(.3,.5,.8);p.xy*=rotate2D(28.3);p.z-=28.+mod(t,4.3);for(int j;j++<8;){p=abs(p-.1)-.2;p-=.4*dot(p,n)*n;d=dot(p-1.,n-.1);}s+=d;}o+=vec4(6,5,6,1)/i+d; #つぶやきGLSL
float i,d=.1,s;vec3 p,n=vec3(-3);for(i=0.;i++<64.&&d>1e-4;){p=vec3((FC.xy-r*.5)/r.y,.3)*s*4.;p.z+=8.;p.xz*=rotate2D(mod(t*.2,5.));for(int j;j++<6;){p=abs(p)-1.;d=1.-sqrt(p.y)-.1;d>0.?d-=min(d-.1,max(p.y+.2,dot(p.x,p.z))):d;}s+=d;}o+=vec4(5,3,3,1)/i; #つぶやきGLSL
#つぶやきGLSL
float i,j,d=.1,s;vec3 p,n=vec3(-.3);for(i=0.;i++<40.&&d>1e-3;){p=vec3((FC.xy*2.-r)/r.y,1)*s;p.z-=15.;p*=rotate3D(t*.2,n);for(j=0.;j++<8.;){p=abs(p)-1.5;p-=.4*min(0.,dot(p,n))*n;d=length(p-1.5);d+=min(.1,tan(d+.5));}s+=d/j*.6;}o+=vec4(4,3,6,1)/i;
#define f(v) fract(v.x-sin(v.y*.7))
#define g(v) vec3(f(v.xy),f(v.yz),f(v.yx))
vec2 p=(FC.xy-.5*r)/r.y*10.;
vec2 q=abs(p);
vec3 c=g(g(g(vec3(p,12.*max(max(q.x,q.y+q.x*.7),q.y-q.x*.7)))));
o0=vec4(c*c.y,1);
#つぶやきGLSL
https://t.co/aWzz3wqjlS
つぶやきGLSLと同じshaderだけど微妙にカメラが違う。このshaderをshadertoyにupしたところ、views180でlike32と良いねが歴代2位となりました。しかもshadertoyのトップページに出ていなくてです。長いことshadertoyをやってきて、やっとホームランが打てた感じです。
https://t.co/x8R2ZyrXJF
#つぶやきGLSL
o=abs(FC.yxxy*2.-r.yxxy)/r.y;for(int i=0;++i<7;o=o.ywzx/dot(o,o)+sin(vec4(1,.7,.4,2)*t)*o.yzwx-o);o=floor(abs(o))*.1;
https://t.co/jsjaDhcMY0
#つぶやきGLSL
float i,g,e;for(vec3 p,d=vec3(((FC.xy-.5*r)/r.y),1);++i<80.;e<3e-3?o.xyz+=vec3(2.,.6,.2)/i:p){p=g*d+vec3(0,0,8);p*=rotate3D(t*.1,vec3(1,10,0));g+=e=length(vec3(sin(p.x),cos(p.y)+pow(abs(sin(p.y)),sin(2.*t)*2.+3.),sin(p.z)))-1.;}
https://t.co/t200TtNTXe
#define f(v) fract(min(-.02,sin(v.x))-log(v.y)*.5)
#define g(v) vec3(f(v.xy),f(v.yz),f(v.zx))
void main(){
vec2 p=(gl_FragCoord.xy*2.-r)/r.y;
vec3 v=g(g(g(vec3(p.y,length(p),sin(atan(p.y,p.x)*5.)))));
gl_FragColor=vec4(v,1);
}
#つぶやきGLSL https://t.co/wnaJzQXzNe