document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. #ifdef GL_ES
  2. precision highp float;
  3. #endif
  4.  
  5. uniform vec2 resolution;
  6. uniform float time;
  7.  
  8. void main(void)
  9. {
  10.   // Be Cool
  11.   vec2 p = -1.0 + 2.0 * gl_FragCoord.xy / resolution.xy;
  12.  
  13.   float a = atan(p.y, p.x);
  14.   float r = length(p) + 0.0001;
  15.  
  16.   float b = 1.9 * sin(8.0 * r - time - 2.0 * a);
  17.   b = 0.3125 / r + cos(7.0 * a + b * b) / (100.0 * r);
  18.   b *= smoothstep(0.2, 0.8, b);
  19.  
  20.   gl_FragColor = vec4(b, 0.67 * b + 0.1 * sin(a + time), 0.0, 1.0);
  21. }
');