//=time() ?>
setup=_=>{createCanvas(w=720,w,WEBGL),shader(createShader(`attribute vec3 a${c};void main(){gl_${c}=vec4(a${c},1.)*2.-1.;}`,`precision lowp float;void main(){vec2 p=sqrt(gl_FragCoord.xy);gl_FragColor=vec4(9./dot(cos(p),p),p,1.);}`)),rect(0,0,w)};c="Position";//#つぶやきProcessing
What if you could have an endless stream of art?
Sneak peek stills from our upcoming drop with @PauRosello_ using Fragcolor's fragments that goes beyond the loop.
On-chain. Endless.
#Generativeart #onchain #algorithmicart #fragcolor
size(720,720,P2D)
frameRate(1)
f=open("a","w")
f.write("void main(){vec2 v=(gl_FragCoord.xy-360)/360.;float q=atan(v.x,v.y);float a=abs(cos(5.*q)*sin(q+sqrt(length(v))*16))*.8;gl_FragColor=vec4(1.-vec3(0,a+.1,a+.3),1);}")
f.close()
filter(loadShader("a"))
#つぶやきProcessing
#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
#define H(h)mat2(cos(h),-sin(h),sin(h),cos(h))
void main(){vec2 s=(gl_FragCoord.xy*2.-r)/min(r.x,r.y);vec2 x=s+vec2(-.5, .0),z=vec2(.0,.0);float y=.5;for(int i=0;i<4;i++){s=sin(z)-.2;s*=H(t);s*=fract(s)-.9;z =vec2(z.x+z.y)+x;}gl_FragColor=vec4(ceil(length(max(abs(s)-.5,.0))));}
#つぶやきProcessing #つぶやきGLSL #dailycodingchallenge 18日目、(文字数が)つらい!
size(720,720,P2D);f=open("a","w");f.write("#define f(a)cos(a.zyy+sin(a*a.zxy))\nvoid main(){gl_FragColor=vec4(f(f(f((7.2-gl_FragCoord.yxy/50+vec3(4,0,4))))),1);}");f.close();filter(loadShader("a"))
#つぶやきGLSL
precision lowp float;uniform float time;void main(){for(float i=0.;i<9.;++i){vec2 z=cos(normalize(vec3(gl_FragCoord.xy/512.-.5,.1)).xy*i+time);for(int j=0;j<9;++j){z=vec2(z.x*z.x-z.y*z.y,z.x*z.y*2.)+sin(time+i);if(dot(z,z)<9.)gl_FragColor+=vec4(8.,9.,7.,0)/3e2;}}}
某webパネル…
#つぶやきGLSL
precision highp float;uniform vec2 resolution;uniform float time;
void main(){vec2 p=((gl_FragCoord.xy)/resolution-0.5);p.x=abs(p.x);p.x+=p.y;p.x=step(0.,sin(p.x*20.-time*6.+sin(time*8.)));gl_FragColor=vec4(p.x,p.x,0,1);}