Last active
June 8, 2022 03:49
-
-
Save rutvik110/794bf51580732cf85f3d11916aa38067 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uniform float u_time; | |
vec4 fragment(in vec2 uv,in vec2 fragCoord){ | |
float l=u_time; | |
vec2 uv2,p=uv; | |
uv2=p; | |
p-=.5; | |
l=length(p); | |
uv2+=abs(sin(l*10.-u_time)); | |
float point=.01/length(mod(uv2,1.)-.5); | |
vec3 c=vec3(point); | |
return vec4(c/l,u_time); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment