Sha256: c13a23ca5fd8081592a7fe1c1f44b698cc4eda5d8c97cd2d8e99571d92e92b47

Contents?: true

Size: 457 Bytes

Versions: 21

Compression:

Stored size: 457 Bytes

Contents

#version 330 core

#ifdef GL_ES
precision mediump float;
#endif

#extension GL_OES_standard_derivatives : enable
// http://glslsandbox.com/e#31734.0

uniform float time;
uniform vec2 mouse;
uniform vec2 resolution;
out vec4 color_out;

void main( void ) {
	
	float r = sin(gl_FragCoord.x/100.0+time*4.0)/2.0+0.5;
	float g = sin(gl_FragCoord.x/50.0+time*1.0)/1.0+0.5;
	float b = sin(gl_FragCoord.y/25.0+time*2.0)/2.0+0.5;
	color_out = vec4(r, g, b, 2.0);

}

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
pixo-0.4.5 ext/pixo/patterns/plad.glsl
pixo-0.4.4 ext/pixo/patterns/plad.glsl
pixo-0.4.3 ext/pixo/patterns/plad.glsl
pixo-0.4.2 ext/pixo/patterns/plad.glsl
pixo-0.4.1 ext/pixo/patterns/plad.glsl
pixo-0.4.0 ext/pixo/patterns/plad.glsl
pixo-0.3.2 ext/pixo/patterns/plad.glsl
pixo-0.3.1 ext/pixo/patterns/plad.glsl
pixo-0.3.0 ext/pixo/patterns/plad.glsl
pixo-0.2.6 ext/pixo/patterns/plad.glsl
pixo-0.2.5 ext/pixo/patterns/plad.glsl
pixo-0.2.4 ext/pixo/patterns/plad.glsl
pixo-0.2.3 ext/pixo/patterns/plad.glsl
pixo-0.2.2 ext/pixo/patterns/plad.glsl
pixo-0.2.1 ext/pixo/patterns/plad.glsl
pixo-0.2.0 ext/pixo/patterns/plad.glsl
pixo-0.1.4 ext/pixo/patterns/plad.glsl
pixo-0.1.3 ext/pixo/patterns/plad.glsl
pixo-0.1.2 ext/pixo/patterns/plad.glsl
pixo-0.1.1 ext/pixo/patterns/plad.glsl