Skip to content

Instantly share code, notes, and snippets.

@diessica
Created December 6, 2019 13:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diessica/4e64b4897656d2646d57e925ed221b00 to your computer and use it in GitHub Desktop.
Save diessica/4e64b4897656d2646d57e925ed221b00 to your computer and use it in GitHub Desktop.
trippy
void main () {
float frequency = 5.;
vec2 p = uv();
float color = sin( p.y / p.x * time * frequency );
gl_FragColor = vec4( color + 1.,color, 0., 1. );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment