Created
February 16, 2023 01:42
-
-
Save programmeruser2/39a7678d276a6ff046c1e3df4ac02011 to your computer and use it in GitHub Desktop.
This file contains 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
// Run on ShaderToy | |
void mainImage(out vec4 fragColor, in vec2 fragCoord) { | |
fragColor = vec4(distance(fragCoord, iResolution.xy/2.0)/(sqrt(iResolution.x*iResolution.x + iResolution.y*iResolution.y)/2.0), 0.0, 1.0, 1.0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment