diff --git a/html/index.html b/html/index.html index f87ee7d..392d705 100644 --- a/html/index.html +++ b/html/index.html @@ -50,13 +50,12 @@ void mainImage(out vec4 fragColor, in vec2 fragCoord) { vec2 uv = fragCoord.xy / iResolution.y; - //period = iTime % 360; - float time = iTime; + float time = iTime * (iTime * 0.1); vec2 uvm = iMouse.xy / iResolution.y; - float noiseVal = 0.5 + 0.5 * Pseudo3dNoise(vec3(uv *4.0, time/10.)); + float noiseVal = 0.5 + 0.5 * Pseudo3dNoise(vec3(uv *6.0, time/10.)); - fragColor.rgb = vec3(sin(noiseVal * time + (sin(time) * time / 10.))); + fragColor.rgb = vec3( 0.8+ 0.2*sin(noiseVal * time + (sin(time) * time / 10.))); } void main() { @@ -71,10 +70,6 @@