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

4 33

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

5 6

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

25 195

お豆腐
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);

https://t.co/Utbwd99NZo

5 6

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));

https://t.co/BaSwtsuesJ

4 10

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);

https://t.co/hlJ5Aze6ex

5 16

vec2 p=FC.xy/r*2.-1.;p.y/=10.;
float u=fract(length(p)*(20.+10.*sin(t)))/2.,i;
for(i=0.;i<=1.;i+=.1){vec2 O=vec2(sin(i*PI2-t),cos(i*PI2-t))*.5;o.xzy+=(p-O).xyy/(length((p-O).xyx)-(.5-.25*sin(u-t)));}
o.xzy*=.025*rotate3D(u,o.zxy);
//#genuary2021
//day 13:

8 82

for(float i,e,g,s;i++<1e2;g+=e*.2){mat2 m;vec3 n,p=vec3((FC.xy-.5*r)/r.y*g,g-3.);p.zy*=m=rotate2D(s=1.);p.z+=t;for(e=p.y;s<5e2;s+=s)p.xz*=m,n.xz*=m,n+=cos(p*s),e+=sin(p.x*s)/s/3.;n.y=sin(g)*.4;n/=length(n);e-=n.y;o+=exp(n.x-vec4(5.5+n.y*4.,6,6.5,0));}

14 118

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)"

1 1

for(float i,g,e,R,s;i++<1e2;g+=e*R*.1){vec3 p=vec3((FC.xy-.5*r)/r.y*g,g-4.);p.zx*=rotate2D(cos(t)*.4);p=vec3(log(R=length(p))-t,e=asin(-p.z/R),atan(p.x,p.y));for(e-=s=1.;s<6e2;s+=s)e+=abs(dot(sin(p*s+t*s*.5),p/p))/s;o.rgb+=hsv(p.y*.1,2.,s=exp(-e*1e3)/2e2)+s+s;}

24 220

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;

5 11

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;

3 9


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;

2 9

f(v) fract(v.x-sin(v.y*.7))
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);

https://t.co/aWzz3wqjlS

1 8

for(float i,g,e,s,k=t*.1;++i<99.;o.rgb+=hsv(s/15.+.5,.3,s/1e3)){vec3 p=vec3(g*(FC.xy-.5*r)/r.y+.5,g-1.);p.xz*=rotate2D(k);s=3.;for(int i;i++<9;p=vec3(2,4,2)-abs(abs(p)*e-vec3(4,4,2)))s*=e=max(1.,(8.-8.*cos(k))/dot(p,p));g+=min(length(p.xz),p.y)/s;s=log(s);}

1033 5698

つぶやきGLSLと同じshaderだけど微妙にカメラが違う。このshaderをshadertoyにupしたところ、views180でlike32と良いねが歴代2位となりました。しかもshadertoyのトップページに出ていなくてです。長いことshadertoyをやってきて、やっとホームランが打てた感じです。
https://t.co/x8R2ZyrXJF

12 62


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

2 16


for(float i,g,e,s;++i<99.;o+=sin(vec4(4,18,53,1)+log(s))/e/5e4){vec3 p=vec3(g*(FC.xy-.5*r)/r.y,g-3.);p.xz*=rotate2D(t*.3);s=4.;for(int i;i++<7;p.y-=10.)p.xz=.8-abs(p.xz),p.x<p.z?p=p.zyx:p,s*=e=2.5/clamp(dot(p,p),.1,1.2),p=abs(p)*e-1.;g+=e=length(p)/s+.001;}

3 11


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

7 40

f(v) fract(min(-.02,sin(v.x))-log(v.y)*.5)
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);
}
https://t.co/wnaJzQXzNe

0 6