Add creation-by-silexars.glsl
This commit is contained in:
parent
3c21556ef6
commit
ecfce00cda
1 changed files with 22 additions and 0 deletions
22
creation-by-silexars.glsl
Normal file
22
creation-by-silexars.glsl
Normal file
|
@ -0,0 +1,22 @@
|
|||
// http://www.pouet.net/prod.php?which=57245
|
||||
|
||||
#define t iTime
|
||||
#define r iResolution.xy
|
||||
|
||||
void mainImage( out vec4 fragColor, in vec2 fragCoord ){
|
||||
vec3 c;
|
||||
float l,z=t;
|
||||
for(int i=0;i<3;i++) {
|
||||
vec2 uv,p=fragCoord.xy/r;
|
||||
uv=p;
|
||||
p-=.5;
|
||||
p.x*=r.x/r.y;
|
||||
z+=.07;
|
||||
l=length(p);
|
||||
uv+=p/l*(sin(z)+1.)*abs(sin(l*9.-z*2.));
|
||||
c[i]=.01/length(abs(mod(uv,1.)-.5));
|
||||
}
|
||||
fragColor=vec4(c/l,t);
|
||||
}
|
||||
|
||||
// https://www.shadertoy.com/view/XsXXDn
|
Loading…
Add table
Add a link
Reference in a new issue